@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

*{
    padding: 0;
    margin: 0;
    text-decoration: none;
    box-sizing: border-box; 
    font-family: "Poppins", "sans-serif";
}
body{
    overflow: hidden;
}
.Home{
    min-height: 100vh;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
header{
    position: fixed;   
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 20px;
    padding: 50px 80px;
    z-index: 99;
    opacity: 0;
    animation: to_bottom 1s ease forwards;
}
header nav a{
    font-size: 24px;
    color: black;
    position: relative;
    margin-left: 70px;
}
header nav a::before{
    content: "";
    position: absolute;
    bottom: -5px;
    left: 0;
    background-color: black;
    width: 100%;
    height: 2.5px;
    transform: scaleX(0);
    transition: .4s; 
    /*transform-origin: left;*/
}
header nav a:hover::before{
    transform: scaleX(1);
}
@keyframes to_bottom{
    0%{
        transform: translateY(-50px);
        opacity: 0;
    }
    100%{
        transform: translateY(0);
        opacity: 1;
    }
}
@keyframes to_right{
    0%{
        transform: translateX(-50px);
        opacity: 0;
    }
    100%{
        transform: translateX(0);
        opacity: 1;
    }
}
@keyframes to_left{
    0%{
        transform: translateX(50px);
        opacity: 0;
    }
    100%{
        transform: translateX(0);
        opacity: 1;
    }
}
.contact-container{
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: space-evenly;
}
.contact-left{
    display: flex;
    flex-direction: column;
    align-items: start;
    gap: 20px;
    opacity: 0;
    animation: to_right 1s ease forwards 0.8s;
}
.contact-left-title h2{
    font-weight: 600; 
    color: #fa6d86;
    /* color: #f9c6b1; */
    font-size: 40px;
    margin-bottom: 5px;
}
.contact-left-title hr{
    border: none;
    width: 120px;
    height: 5px;
    background-color: #fa6d86;
    border-radius: 10px;
    margin-bottom: 20px;
}
.contact-inputs{
   width: 575px;
   height: 50px;
   border: none;
   outline: none;
   padding-left: 25px;
   font-weight: 300;
   font-size: medium;
   color: #666;
   border-radius: 50px; 
   background-color: #faeaed;
}
.contact-left textarea{
    height: 200px;
    padding-top: 15px;
    border-radius: 20px;
}
.contact-inputs:focus{
    border: 2px solid #a9a9a9;
}
.contact-inputs::placeholder{
    color: #a9a9a9;
}
.contact-left button{
    display: flex;
    align-items: center;
    padding: 15px 30px;
    font-size: 16px;
    color: #fff;
    gap: 10px;
    border: none;
    border-radius: 50px;
    background: #fa6d86;
    /* background: linear-gradient(270deg,#ff994f,#fa6d86); */
    cursor: pointer;
}
.contact-left button img{
    height: 15px;
}
.contact-right img{
    width: 500px;
    opacity: 0;
    animation: to_left 1s ease forwards 0.8s;
}
@media (max-width:800px){
    .contact-inputs{
        width: 80vw; 
    }
    .contact-right{
        display: none; 
    }
}





/* Default styling for large screens */
header {
    padding: 50px 80px;
}

header nav a {
    font-size: 24px;
    margin-left: 70px;
}

/* For screens smaller than 1000px */
@media (max-width: 1000px) {
    header {
        padding: 40px 60px;
    }

    header nav a {
        font-size: 22px;
        margin-left: 50px;
    }
}

/* For screens smaller than 768px */
@media (max-width: 768px) {
    header {
        padding: 30px 20px;
    }

    header nav a {
        font-size: 20px;
        margin-left: 20px;
    }
}

/* For screens smaller than 480px */
@media (max-width: 480px) {
    header {
        padding: 20px 20px;
    }

    header nav a {
        font-size: 18px;
        margin-left: 10px;
    }
}


header nav a.active {
    color: #6cd490;
}