@import url('https://fonts.googleapis.com/css2?family=Dancing+Script&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Dancing+Script&display=swap');

* {
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

html,
body {
    background: #1B282E;
    width: 100%;
    height: 100%;
    margin: 0px;
    padding: 0px;
}

.header {

    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 10%;
    background: transparent;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 100px;
    z-index: 100;
}

.logo {
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    cursor: default;
    color: #B6964D;
}

.logo img {
    width: 100px;
    height: 100px;
}

.navbar {
    position: relative;
}

.navbar ul {
    display: flex;

}

.navbar li {
    list-style: none;
}

.navbar a {
    transition: .5;
    display: inline-block;
    font-size: 20px;
    color: #B6964D;
    text-decoration: none;
    font-weight: 500;
    margin-left: 45px;
    padding: 0 15px 0 15px;

}

.navbar a:hover {
    color: #B78F4A;
    text-decoration: underline 2px;
    transition: .5s;
}

.toggle-button {
    position: absolute;
    top: 1, 4rem;
    right: 1rem;
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 24px;
}

.toggle-button .bar {
    height: 3px;
    width: 100%;
    background-color: white;
    border-radius: 10px;
}

@media screen and (max-width: 725px) {
    .toggle-button {
        display: flex;
    }

    .navbar {
        display: none;
        width: 100%;
    }

    .header {
        flex-direction: column;
        align-items: flex-start;
    }

    .navbar ul {
        width: 100%;
        flex-direction: column;
    }

    .navbar li {
        text-align: center;
    }

    .navbar li a {
        padding: 1rem 1rem;
    }

    .navbar.active {
        display: flex;
    }
}

/*home section*/

#home {
    position: relative;
    width: 100%;
    height: 100vh;
    display: block;
    justify-content: center;
    align-items: center;
    margin: 0;
}

.home-content {
    margin-top: -80px;
    text-align: center;
    display: block;
}

.home-content h1 {
    font-family: 'Dancing Script', cursive;
    font-size: 90px;
    font-weight: 200;
    margin-bottom: -25px;
    color: #B6964D;
}

.home-content h3 {
    font-weight: 200;
    font-size: 25px;
    color: #FFFFFF;
}

.quote {
    font-size: 20px;
    color: #FFFFFF;
}

.social-media a {
    display: inline-flex;
    font-size: 33px;
    width: 55px;
    height: 55px;
    background: #B6964D;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #fff;
    margin: 30px 20px 30px 20px;
    margin-bottom: 50px;
}

.social-media a:hover {
    background: #006039;
    transition: .4s;
}

.btn {
    text-decoration: none;
    background: #1B282E;
    border: 1px solid #B6964D;
    color: white;
    padding: 10px;
    border-radius: 10px;
}

.logo-img {
    display: flex;
    justify-content: center;
    padding-top: 10px;
}

.logo-img img {
    height: 350px;
}

@media screen and (max-width: 725px) {

    #home {
        width: 100%;
    }

    .home-content h1 {
        font-family: 'Dancing Script', cursive;
        font-size: 80px;
        font-weight: 170;
        margin-bottom: -25px;
        color: #B6964D;
    }

    .social-media a {
        display: inline-flex;
        font-size: 33px;
        width: 50px;
        height: 50px;
        background: #B6964D;
        border-radius: 50%;
        align-items: center;
        justify-content: center;
        text-decoration: none;
        color: #fff;
        margin: 30px 20px 30px 20px;
        margin-bottom: 50px;

    }

    .logo-img img {
        margin-top: -20px;
        width: 200px;
        height: 200px;
    }
}

/*About section*/

#about {
    border: 3px solid #B78F4A;
    margin: 5%;
    color: #FFFFFF;
    box-shadow: 15px 15px rgb(17, 17, 17);
}

.title h1 {
    font-family: 'Dancing Script', cursive;
    color: #FFFFFF;
    display: flex;
    justify-content: start;
    padding: 15px 0 0 15px;
    font-size: 50px;
    border-bottom: 2px solid #B78F4A;
    padding-bottom: 30px;
    margin-left: 60px;
    width: 22%;
}

.title span {
    font-family: 'Dancing Script', cursive;
    color: #B78F4A;
    padding: 0 10px 0 4px;
}

.about-content {
    display: flex;
}

.about-text {
    font-size: 32px;
    padding: 30px;
    width: 70%;
}

.logo-v2 img {
    margin-left: 120px;
    width: 240px;
    height: 240px;
}

.about-headline h1 {
    display: flex;
    justify-content: center;
    font-family: 'Dancing Script', cursive;
    font-size: 100px;
    color: #B6964D;
}

@media screen and (max-width: 725px) {

    #about {
        border: 3px solid #B78F4A;
        margin: 5%;
        color: #FFFFFF;
        box-shadow: none;
    }

    .about-headline h1 {
        display: flex;
        justify-content: center;
        font-family: 'Dancing Script', cursive;
        font-size: 70px;
        color: #B6964D;
    }

    .title h1 {
        font-family: 'Dancing Script', cursive;
        color: #FFFFFF;
        display: flex;
        justify-content: start;
        padding: 15px 0 0 15px;
        font-size: 40px;
        border-bottom: 2px solid #B78F4A;
        padding-bottom: 30px;
        margin-left: 20px;
        width: 90%;
    }

    .title span {
        font-family: 'Dancing Script', cursive;
        color: #B78F4A;
        padding: 0 10px 0 4px;
    }

    .about-text {
        font-size: 32px;
        padding: 10px;
        width: 100%;
    }

    .about-text {
        width: 100%;
    }

    .logo-v2 img {
        display: none;
    }
}

/*Portfolio section*/

#portfolio {
    display: grid;
    width: 100%;
    margin: 40px auto;
    padding: 70px;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: auto 1fr;
    grid-gap: 40px;
    background: #FCF3B8;
}

.title2 {
    font-size: 45px;
    display: flex;
    justify-content: center;
    color: #1B282E;
    grid-area: 1 / 1 / 2 / 3;
}

.title2 h1 {
    font-family: 'Dancing Script', cursive;
}

.front img {
    width: 100%;
    height: 550px;
    border-radius: 10px;
    border: 3px solid #B6964D;
}

.back img {
    width: 100%;
    height: 550px;
    border-radius: 10px;
    border: 3px solid #B6964D;
}

.container1 {
    position: relative;

}

.front h2 {
    position: absolute;
    top: 50%;
    left: 30%;
}

.back {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    color: black;
    transform: perspective(3000px) rotateY(180deg);
    transition: transform .7s linear 0s;
    backface-visibility: hidden;
}

.front {
    color: white;
    transform: perspective(3000px) rotateY(0deg);
    transition: transform .7s linear 0s;
}

.container1:hover>.front {
    transform: perspective(3000px) rotateY(-180deg);
    cursor: pointer;
}

.container1:hover>.back {
    transform: perspective(3000px) rotateY(0deg);
    cursor: pointer;


}

@media screen and (max-width: 800px) {
    #portfolio {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        width: 100%;
        margin: 40px auto;
        padding: 10px;
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: auto 1fr;
        grid-gap: 0px;
        background: #FCF3B8;
    }

    .front img {
        width: 100%;
        height: 350px;
        border-radius: 10px;
        border: 3px solid #B6964D;
    }

    .container1:nth-child(1) {
        grid-row: 2 / 3;
    }

    .container1:nth-child(2) {
        grid-row: 3 / 4;
    }

    .container1:nth-child(3) {
        grid-row: 4 / 5;
    }

    .container1:nth-child(4) {
        grid-row: 5 / 6;
    }

    .back img {
        width: 100%;
        height: 350px;
        border-radius: 10px;
        border: 3px solid #B6964D;
    }

    .container1 {
        position: relative;
        width: 100%;
        max-width: 500px;
        margin-bottom: 20px;

    }

    .front h2 {
        position: absolute;
        top: 50%;
        left: 30%;
    }

    .back {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        color: black;
        transform: perspective(3000px) rotateY(180deg);
        transition: transform .7s linear 0s;
        backface-visibility: hidden;
    }

    .front {
        color: white;
        transform: perspective(3000px) rotateY(0deg);
        transition: transform .7s linear 0s;
    }

    .container1:active>.front {
        transform: perspective(3000px) rotateY(-180deg);
        cursor: pointer;
    }

    .container1:active>.back {
        transform: perspective(3000px) rotateY(0deg);
        cursor: pointer;


    }
}


/*Contact section*/

#contact {
    background: #1B282E;
    padding-bottom: 10px;
    padding-top: 10px;
}

.contact-headline h1 {
    display: flex;
    justify-content: center;
    font-family: 'Dancing Script', cursive;
    font-size: 100px;
    color: #B6964D;

}

.container {
    margin-top: 10px;
    margin-bottom: 100px;
    display: flex;
    justify-content: space-between;
}

.contact-left {
    flex-basis: 35%;
    margin-left: 20%;
    border-right: 1px solid #B6964D;
    margin-right: 40px;
}

.contact-left a {
    text-decoration: none;
    color: #fff;
}

.test2 a:hover {
    color: #B6964D;
}

.sub-title {
    color: #B6964D;
}

.contact-right {
    flex-basis: 60%;
    margin-right: 20%;
    margin-left: 40px;
}

.contact-left p {
    margin-top: 30px;
}

.contact-left p i {
    color: #B6964D;
    margin-right: 15px;
    font-size: 25px;
}

.social-icons {
    margin-top: 90px;
    margin-bottom: 30px;
}

.social-icons a {
    text-decoration: none;
    font-size: 30px;
    margin-right: 15px;
    color: #ababab;
    display: inline-block;
    transition: transform 0.5s;
}

.social-icons a:hover {
    color: #ff004f;
    transform: translateY(-5px);
}


.contact-right form {
    width: 100%;
}

form input,
form textarea {
    width: 100%;
    border: 0;
    outline: none;
    background: #262626;
    padding: 15px;
    margin: 15px 0px;
    color: #fff;
    font-size: 18px;
    border-radius: 6px;
}




textarea {
    resize: none;
}

.button .btn3,
.btn2 {
    background-color: #1f242d;
    text-decoration: none;
    color: white;
    border: 1px solid #B6964D;
    border-radius: 3px;
    padding: 10px;
    transition: .3s;
    font-weight: bold;
}

.btn3:hover,
.btn2:hover {
    background-color: #B6964D;
    color: #1B282E;
}

@media screen and (max-width: 800px) {
    .container {
        margin-top: 10px;
        margin-bottom: 100px;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .contact-left {
        margin-top: 100px;
        border-right: none;
        order: 2;
        margin-left: 40px;
        
    }

    .contact-left a {
        text-decoration: none;
        color: #fff;
    }

    .test2 a:hover {
        color: #B6964D;
    }

    .sub-title {
        color: #B6964D;
    }

    .contact-right {
        
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        order: 1;
    }

    
    .btn3 {
        display: flex;
        justify-content: center;
        text-align: center;
        align-items: center;
    }

    .btn2 {
        display: flex;
        justify-content: center;
        text-align: center;
        align-items: center;
    }
    
    form {
        padding-left: 50px;
}




textarea {
    resize: none;
}
}



/*footer section*/

footer {
    background-color: #B6964D;
    padding: 5px;
}

.copyright p {
    justify-content: center;
    text-align: center;
    color: #1B282E;
    opacity: .9;
}