@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@200;300;400;500;600;700;800;900&display=swap');
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}


#contact {
    min-height: 100vh;
    background-image: url(pics/background.jpg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    background-attachment: fixed;
    position: relative;
  
}


@keyframes shrink-grow {
        0% {
        transform: scale(1);
        }
        50% {
        transform: scale(0.8);
        }
        100% {
        transform: scale(1);
        }
    }



.contactMe{
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 92vh;

}

.contactMe::before{
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 50%;
    height: 100%;
}

.containerMe{
    position: relative;
    min-width: 900px;
    min-height: 500px;
    display: flex;
    z-index: 1000;
}
.containerMe .contactInfo{
    position: absolute;
    top: 40px;
    width: 320px;
    height: calc(100% - 80px);
    background: #0e31508a;
    z-index: 1;
    padding: 40px;
    display: flex;
    justify-content: center;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 20px 25px rgba(0, 0, 0, 0.15);
}
.containerMe .contactInfo h2{
    color: #FFF;
    font-size: 24px;
    font-weight: 500;
}
.containerMe .contactInfo ul.info{
    position: relative;
    margin: 20px 0;
}
.containerMe .contactInfo ul.info li{
    position: relative;
    list-style: none;
    display: flex;
    cursor: pointer;
    align-items: flex-start;
    margin: 20px 0;
}
.containerMe .contactInfo ul.info li span:nth-child(1){
    width: 30px;
    max-width: 30px;
}
.containerMe .contactInfo ul.info li span:nth-child(2) a{
    color: #FFF;
    margin-left: 10px;
    font-weight: 300;
    text-decoration: none;
}
.containerMe .contactInfo ul.info li span:nth-child(1) ion-icon{
    font-size: 30px;
    color: #FFF;
}
.containerMe .contactInfo ul.social{
    position: relative;
    display: flex;
    justify-content: center;
}
.containerMe .contactInfo ul.social li{
    list-style: none;
    margin-right: 15px;
    animation: shrink-grow 3s infinite;
}
.containerMe .contactInfo ul.social li a{
    text-decoration: none;
    color: #FFF;
    font-size: 25px;
}
.containerMe .contactInfo ul.info li:hover{
    transform: scale(1.05);
    transition: 3s;
}

.containerMe .contactForm{
    position: absolute;
    padding: 70px 50px;
    padding-left: 250px;
    margin-left: 150px;
    width: calc(100% - 150px);
    height: 100%;
    background: #ffffffec;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.05);
}
.containerMe .contactForm h2{
    color: #113f55;
    font-size: 24px;
    font-weight: 500;
}
.containerMe .contactForm .formBox{
    position: relative;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    padding-top: 30px;
}
.containerMe .contactForm .formBox .inputBox{
    position: relative;
    margin-bottom:35px;
}
.containerMe .contactForm .formBox .inputBox.w50{
    width: 47%;
}
.containerMe .contactForm .formBox .inputBox.w100{
    width: 100%;
}
.containerMe .contactForm .formBox .inputBox input,
.containerMe .contactForm .formBox .inputBox textarea{
    width: 100%;
    resize: none;
    padding: 5px 0;
    font-size: 16px;
    font-weight: 300;
    color: #113f55;
    border: none;
    outline: none;
    border-bottom: 1px solid #114055;
    background: transparent;
}
.containerMe .contactForm .formBox .inputBox textarea{
    height: 120px;
}
.containerMe .contactForm .formBox .inputBox span{
    position: absolute;
    left: 0;
    padding: 5px 0;
    pointer-events: none;
    font-size: 16px;
    font-weight: 300;
    transition: 0.3s;
}
.containerMe .contactForm .formBox .inputBox input:focus ~ span,
.containerMe .contactForm .formBox .inputBox input:valid ~ span,
.containerMe .contactForm .formBox .inputBox textarea:focus ~ span,
.containerMe .contactForm .formBox .inputBox textarea:valid ~ span{
    transform: translateY(-20px);
    font-size: 12px;
    font-weight: 400;
    letter-spacing: 1px;
    color: #113f55;
}
.containerMe .contactForm .formBox .inputBox .btn{
    position: relative;
    cursor: pointer;
    background-color: #2fc7ff;
    color: #080808;
    border: none;
    max-width: 150px;
    padding: 12px;
}
.containerMe .contactForm .formBox .inputBox .btn:hover{
    background-color: #0E3150;
    color: white;
}


.copy{
    display: flex;
    justify-content: center;
   height: 40px;
}
.copy .lines{
    width: 60%;
    height: 20px;
    position: relative;
}
.copy .lines::before,.copy .lines::after{
    content: '';
    position: absolute;
    margin: auto;
    height: 0.5px;
    background:white;
    width: 35%;
    top: 60%;
}
.copy .lines::before{
    right: 0;
}
.copy .lines::after{
    left: 0;
}
.copy .lines .small{
    color: white;
    width: 100%;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    margin: auto;
    text-align: center;
    font-size: 14px
}









@media (max-width: 1200px){


    .containerMe{
        width: 90%;
        min-width: auto;
        margin: 20px;
        box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
    }
    .containerMe .contactInfo{
        top:0;
        height: 550px;
        position: relative;
        box-shadow: none;
    }
    .containerMe .contactForm{
        position: relative;
        width: calc(100%-350px);
        padding-left: 0;
        margin-left: 0;
        padding: 40px;
        height: 550px;
        box-shadow: none;
    }
    .copy .lines::before,.copy .lines::after{ 
        width: 30%;
    }


}

@media (max-width: 992px){

    .contactMe::before{
        display: none;
    }
    .containerMe{
        display: flex;
        flex-direction: column-reverse;
    }

    .containerMe .contactForm{
        width: 100%;
        height: auto;
    }
    .containerMe .contactInfo{
        width: 100%;
        height: auto;
        flex-direction: row;
    }
    .containerMe .contactInfo ul.social{
        position: relative;
        display: flex;
        justify-content:center;
        align-items: center;
    }
    .copy .lines::before,.copy .lines::after{ 
        width: 25%;
    }

    }





@media (max-width: 600px){


    .containerMe .contactForm{
        padding: 25px;
    }
    .containerMe .contactInfo{
        padding: 25px;
        flex-direction: column;
        align-items: flex-start;
    }
    .containerMe .contactInfo ul.social{
        margin-top: 40px;
    }
    .containerMe .contactForm .formBox .inputBox.w50{
        width: 100%;
    }

}
@media (max-width: 540px) {
    .copy .lines::before,.copy .lines::after{ 
        display: none;
    }
}