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

/*Page Styles*/
:root {
    --smoke-color: #f5f5f5;
    --white-color: #fff;
    --black-color: #000;
    --grey-color: #333;
    --darkblue-color: #28387c;
    --light-grey: #E3E3E3;
}

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none; 
    font-family: 'Mulish', sans-serif;
    /* overflow-x: hidden; */
}

html {
    font-size: 62.5%;
}

.center {
    display: flex;
    justify-content: center;
    align-items: center;
}

.underline {
    width: 12rem;
    height: .3rem;
    background-color: var(--grey-color);
    margin-top: 4rem;
}

.page-btn {
    width: 25rem;
    height: 4rem;
    background-color: var(--black-color);
    color: var(--white-color);
    letter-spacing: .3rem; 
    text-align: center;
    margin-top: 2rem;
    cursor: pointer;
}

.page-btn:hover {
    background-color: var(--darkblue-color);
}

/*End Page Styles*/

/* Keyframes */
@keyframes animateNavbar {
    0%{
        top: -8rem;
    }
    100%{
        top: 0rem;
    }
}

@keyframes fadeContent {
    0% {
      opacity: 0;
    }
    100% {
      opacity: 1;
    }
}
/* End Keyframes */

/*Navbar*/
.navbar {
    width: 100%;
    height: 8rem;
    background-color: var(--black-color);
    position: fixed;
    top: -8rem;
    z-index: 10;
    padding: 3rem;
    transition: height .5s;
    animation: animateNavbar 1s .5s forwards;
    overflow: hidden;
}

i {
    font-size: 2.5rem;
    color: var(--white-color);
    padding-right: 2rem;
    cursor: pointer;
}

i:hover {
    color: var(--darkblue-color);
}

.nav-list {
    width: 40rem;
    height: 100vh;
    position:fixed;
    display: flex;
    flex-direction: column;
    align-items: left;
    top: 0;
    right: -40rem;
    padding-left: 2rem;
    background-color: rgba(0,0,0,.8);
    transition: right .5s;
    z-index: 100;
}

.change .nav-list {
    right: 0;
}

.nav-link {
    font-size: 3rem;
    letter-spacing: .3rem;
    margin: 2rem 0;
    color: var(--white-color);
}

.nav-link:hover {
    color: var(--darkblue-color);
}
/*End Navbar*/

/*Menu*/
.menu {
    width: 4rem;
    height: 4rem;
    position: fixed;
    z-index: 200;
    top: 2rem;
    right: 5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    cursor: pointer;
    transition: right .8s ease-in;
    overflow: hidden;
}

.change .menu {
    right: 33rem;
}

.line {
    width: 100%;
    height: .2rem;
    background-color: var(--white-color);
    transition: transform .3s;
}

.line-1 {
    width: 50%; 
}

.change .line-1 {
    opacity: 0;
    visibility: hidden;
}

.change .line-2 {
    transform: rotate(45deg) translate(.3rem, .8rem);
}

.change .line-3 {
    transform: rotate(-45deg) translate(.3rem, -.8rem);
}
/*End Menu*/

/* Section-1-banner */
.section-1 {
    width: 100vw;
    height: 100vh;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.3)), url(img/newyork_bw.jpg) no-repeat;
    background-size: cover;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.banner {
    height: 100vh;
    width: 70vw;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    object-fit: cover;
}

/* End Section-1-banner */

/* Section-contact */
.section-contact {
    width: 100vw;
    height: 80vh;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.3)), url(img/newyork_bw.jpg) no-repeat;
    background-size: cover;
    display: flex;
    align-items: center;
}

.contact-wrapper {
    width: 100%;
    display: flex;
    align-items: center;
}

.contact-wrapper-heading {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50%;
    font-size: 5rem;
    padding-left: 10rem;
    color: var(--white-color);
    letter-spacing: 1.6rem;
}

.form-wrapper {
    width: 50%;
    display: flex;
    align-items: center;
    justify-content: center; 
}

.contact-form {
    width: 60rem;
    display: flex;
    flex-direction: column;
    text-align: center;
}

.contact-form h1 {
    font-size: 3rem;
    color: var(--smoke-color);
    padding-bottom: 2rem;
}

.contact-form input,
.contact-form textarea {
    padding: 1.5rem;
    background-color: var(--smoke-color);
    color: var(--grey-color);
    border: none;
    margin-bottom: 2rem;
    font-family: 'Mulish', sans-serif;
    font-size: 1.8rem;
    font-weight: 300;
    letter-spacing: .1rem;
}

.contact-form textarea {
    max-width: 100%;
    max-height: 15rem;
    min-height: 5.5rem;
}

.contact-form input[type="submit"] {
    background-color: var(--smoke-color);
    text-transform: uppercase;
    cursor: pointer;
    transition: background-color .3s;;
}

.contact-form input[type="submit"]:hover {
    background-color: var(--darkblue-color);
    color: var(--white-color);
}
/* End Section-contact */

/* Footer */
.footer {
    background-color: var(--black-color);
    text-align: center;
    padding: 2rem 0 2rem 0;
}

.footer p {
    color: var(--white-color);
    font-size: 1.4rem;
}
/* End Footer */

/* back to top */
.back-to-top{ 
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-align: center;
    position: fixed;
    bottom: 12rem;
    right: 3rem;
    z-index: 2000;
    cursor: pointer;
    visibility: hidden;
    opacity: 0;
    border-radius: .3rem;
}

.back-to-top p {
    padding: 0;
    margin: 0;
}

.back-to-top i {
    color: var(--grey-color);
    font-size: 4rem;
    padding: 0;
    margin: 0;
}

.back-to-top p {
    color: var(--grey-color);
    font-size: 2rem;
}
/* end back to top */


/* Media Queries */
@media only screen and (max-width: 1200px) {
    .form-wrapper {
        width: 40%;
    } 

    .contact-form input,
    .contact-form textarea {
    padding: 1.2rem;
    font-size: 1.6rem;
    }

    .contact-wrapper-heading {
        font-size: 4rem;
    }
    
}

@media only screen and (max-width: 900px) {
    .navbar {
        height: 6rem;
        padding: 2rem;
    }

    .menu {
        top: 1rem;
        right: 3rem;
    }

    .nav-list {
        width: 30rem;
    }

    .nav-link {
        font-size: 2.5rem;
    }

    .contact-wrapper-heading {
        padding-left: 6rem;
    }

    .contact-form input,
    .contact-form textarea {
    padding: 1rem;
    font-size: 1.6rem;
    }

    .back-to-top i {
        font-size: 3rem;
    }

    .back-to-top {
        bottom: 1rem;
        right: 3rem;
    }
}

@media only screen and (max-width: 800px) {
    .banner {
        width: 75vw;
    }

    .contact-wrapper {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .contact-form h1 {
        display: none;
    }

    .contact-wrapper-heading {
        padding: 1rem 0 2rem 0;
        font-size: 3rem;
    }

    .form-wrapper {
        width: 80%;
    }

    .footer {
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 1rem 0 1rem 0;
    }

    .copyright {
        width: 80%;
    }
}

@media only screen and (max-width: 600px) {
    .banner {
        width: 85vw;
    }

    .contact-form input,
    .contact-form textarea {
    padding: 1rem;
    font-size: 1.2rem;
    }

    .copyright  {
        width: 100%;
    }

    .footer p {
        font-size: .9rem;
    }
}

@media only screen and (max-width: 600px) {
    .contact-wrapper-heading {
        font-size: 2rem;
        letter-spacing: 1rem;
    }

    .footer {
        font-size: 1.25em;
    }

    .back-to-top i {
        font-size: 2rem;
    }
}

@media only screen and (max-width: 400px) {
    .banner {
        width: 95vw;
    }

    .section-1 {
        overflow-x: hidden;
    }

    .social-icons i{
        font-size: 2rem;
    }

    .menu {
        width: 3rem;
        height: 3rem;
    }
}
/* End Media Queries */