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

.contact-wrapper1 {
    font-family: 'Montserrat', sans-serif;
    position: absolute;
    height: 100vh;
    width: 100vw;
    right: 0;
    z-index: 120;
    transform: scaleX(0);
    transform-origin: right;
    top: 0;
    background-color: #fff;
    transition: 1s ease;

}

.contact-wrapper1.slide {
    /* transform: translateX(0); */
    transition: 1s ease;
    transform: scaleX(1);

}

#contact-return {
    position: relative;
    top: 15px;
    right: 10px;
    font-size: 20px;
    cursor: pointer;
    margin-bottom: 20px;
    font-weight: 400;
}


#contact {
    position: relative;
    /* top: 50%; */
    /* padding: 0 calc((100vw - 1250px)/2); */
    /* width: min(1250px, 90vw); */
    /* transform: translateX(-50%); */
    /* min-height: calc(100vh - 226px); */
    /* padding: 200px 100px 70px 100px; */
    padding: 0 50px;
    color: #d8d8d8;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    width: 100%;
}

#contact-return {
    position: absolute;
    color: #1e1e1e;
    z-index: 1;
}


.contact-wrapper {
    display: flex;
    flex-direction: column;
    max-width: 700px;
    z-index: 1;
}

#contact .form-words {
    display: flex;
    flex-direction: column;
}

#contact h2 {
    font-size: 50px;
    font-weight: 300;
    color: rgb(0, 0, 0);
    margin-bottom: 30px;
}

#contact p {
    max-width: 50ch;
    text-align: left;
    font-weight: 200;
    line-height: 1.5;
    font-size: 16px;
    color: #ADB0BE;
    padding-right: 25px;

}

#contact form {
    margin-top: 60px;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
}

#contact .input-row {
    display: flex;
    flex-direction: row;
    margin-bottom: 10px;
}

#contact .input {
    /* margin: 0 20px; */
    width: 50%;
    display: flex;
    flex-direction: column;
}

.input-message {
    width: 100%;
    /* padding: 0 20px; */
    display: flex;
    flex-direction: column;
    margin-top: 25px;
}

input {
    height: 65px;
    /* margin-right: 25px; */
    border: none;
    border-bottom: 1px solid #d8d8d8;
    font-family: inherit;

}

input:focus {
    outline: none;
}

input#Name {
    margin-right: 15px;
}

input#Email {
    margin-left: 15px;
}

input#Country {
    margin-right: 15px;
}

input#Website {
    margin-left: 15px;
}

textarea {
    /* margin-right: 25px; */
    height: 45px;
    border: none;
    border-bottom: 1px solid #d8d8d8;
    font-family: inherit;
}

textarea:focus {
    outline: none;
}

::placeholder {
    color: rgb(173, 173, 173);
    font-family: 'Montserrat', sans-serif;
}


button {
    margin-top: 20px;
    padding: 15px 60px;
    position: relative;
    width: 100%;
    left: 0;
    /* transform: translateX(-50%); */
    font-size: min(16px, 5vw);
    color: #1e1e1e;
    border: 1px solid #1e1e1e;
    letter-spacing: 1px;
    font-weight: 200;
    cursor: pointer;
    background-color: #fff;
    transition: 0.5s ease;
}

button:hover {
    background-color: #1e1e1e;
    color: #fff;
    transition: 0.5s ease;

}

@media screen and (max-width: 990px) {
    #contact img {
        display: none;
    }

    #contact {
        justify-content: center;
    }

    #contact h2 {
        font-size: 30px;
    }

}

@media screen and (max-width: 500px) {

    #contact {
        padding: 100px 50px 0 50px;
    }

    #contact .input-row {
        display: flex;
        flex-direction: column;
    }
    
    #contact .input {
        width: 100%;
        display: flex;
        flex-direction: column;
        margin-bottom: 30px;
    }
    
    #contact .input-row {
        margin-top: -25px;
    }

    button {
        margin-bottom: 100px;
        font-size: 12px;
    }
    
    .input-message {
        margin-top: 0px;
    }

    input#Name {
        margin-right: 0px;
    }
    
    input#Email {
        margin-left: 0px;
    }
    
    input#Country {
        margin-right: 0px;
    }
    
    input#Website {
        margin-left: 0px;
    }
}

@media screen and (max-width: 450px) {

    #contact p {
        display: none;
    }

    #contact h2 {
        margin-bottom: -10px;
    }

}


.about-section {
    position: absolute;
    font-family: 'Montserrat', sans-serif;
    top: 0;
    right: 0;
    height: 100vh;
    width: 100vw;
    background-color: rgb(255, 255, 255);
    transform: scaleX(0);
    transform-origin: right;
    z-index: 10;
    color: #1e1e1e;
    transition: 1s ease;
    padding: 10px 50px;

}

.about-section.slide {
    /* transform: translateX(0); */
    transition: 1s ease;
    transform: scaleX(1);

}

.about-text {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}

.about-section span {
    position: absolute;
    top: 25px;
    right: 30px;
    font-size: 20px;
    cursor: pointer;
    margin-bottom: 20px;
    font-weight: 400;
}

.about-section h1 {
    position: relative;
    font-size: clamp(30px, 7vw, 50px);
    font-weight: 500;
    letter-spacing: -.02em;
    
}

.about-section p {
    max-width: 70ch;
    font-size: clamp(16px, 3vw, 20px);
    font-weight: 300;
    line-height: 1.4;
    margin-top: 20px;
    padding-right: 50px;
}

.about-button {
    margin-top: 30px;
    padding: 15px 50px;
    text-align: center;
    max-width: 260px;
    border: 1px solid #1e1e1e;
    font-weight: 500;
    letter-spacing: 1px;
    cursor: pointer;
    transition: .3s ease;

}

.about-button:hover {
    background-color: #1e1e1e;
    color: #fff;
    transition: .5s ease;
}
