@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;500&family=Oleo+Script&family=Poppins&display=swap');

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    list-style: none;
    text-decoration: none;
    font-family: "Poppins";
}

body{
    background: #F5F5F5;
}

img{
    width: 100%;
}
header{
    width: 80%;
    height: 70px;
    background: #fefefe;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 40px;
    border-radius: 0 0 10px 10px;
    -webkit-border-radius: 0 0 10px 10px;
    -moz-border-radius: 0 0 10px 10px;
    -ms-border-radius: 0 0 10px 10px;
    -o-border-radius: 0 0 10px 10px;
    margin: 0 auto;
}
.logo{
    width: 250px;
    margin-top: 8px;
}
nav .logo {
    display: none;
}
nav ul {
    display: flex;
}

nav ul li a {
    color: #212526;
    display: block;
    margin: 0 2px;
    font-weight: 600;
    padding: 8px 18px;
    transition: 0.2s;
    -webkit-transition: 0.2s;
    -moz-transition: 0.2s;
    -ms-transition: 0.2s;
    -o-transition: 0.2s;
    border-radius: 15px;
    -webkit-border-radius: 15px;
    -moz-border-radius: 15px;
    -ms-border-radius: 15px;
    -o-border-radius: 15px;
}

nav ul li a:hover {
    background: #EFEBE9;
}

nav ul li a.active {
    background: #795548;
    color: #fff;
}

.hamburger {
    display: none;
    height: fit-content;
    cursor: pointer;
    padding: 3px 8px;
    border-radius: 5px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    -ms-border-radius: 5px;
    -o-border-radius: 5px;
    transition: 0.2s;
    -webkit-transition: 0.2s;
    -moz-transition: 0.2s;
    -ms-transition: 0.2s;
    -o-transition: 0.2s;
}

.hamburger:hover {
    background: #EFEBE9;
}

.hamburger div {
    width: 25px;
    height: 2px;
    margin: 6px 0;
    background: #212526;
}

@media only screen and (max-width: 1100px) {
    header {
        width: 90%;
        padding: 0 20px;
    }
    nav {
        position: absolute;
        left: -300px;
        top: 0;
        z-index: 999;
        width: 280px;
        height: 100vh;
        background: #fefefe;
        transition: 0.2s;
        -webkit-transition: 0.2s;
        -moz-transition: 0.2s;
        -ms-transition: 0.2s;
        -o-transition: 0.2s;
        box-shadow: 2px 0 20px 0 rgba(0, 0, 0, 0.05);
    }
    #nav_check:checked ~ nav {
        left: 0;
    }

    nav .logo{
        display: block;
        height: 70px;
        display: flex;
        align-items: center;
        margin-left: 20px;
        margin-bottom: 20px;
    }
    nav ul {
        display: block;
        padding: 0 20px;
    }
    nav ul li a {
        margin-bottom: 5px;
        padding: 10px 15px;
        border-radius: 7px;
        -webkit-border-radius: 7px;
        -moz-border-radius: 7px;
        -ms-border-radius: 7px;
        -o-border-radius: 7px;
}
    .hamburger {
        display: block;
    }
}


.portfolio {
    font-family: 'Open Sans', sans-serif;
    width: 90%;
    max-width: 1300px;
    margin: auto;
}

.title{
    padding: 20px 0;
    text-align: center;
    margin-bottom: 5px;
}

.portfolio form {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.portfolio .search_bar {
    width: 70%;
    height: 40px;
    line-height: 40px;
    background: #fff;
    padding: 0 20px;
    border-radius: 100px;
    -webkit-border-radius: 100px;
    -moz-border-radius: 100px;
    -ms-border-radius: 100px;
    -o-border-radius: 100px;
    border: none;
    text-align: center;
    font-size: 16px;
}

.portfolio .categories {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.portfolio .categories a {
    color: #9b9b9b;
    margin: 30px 20px;
    font-size: 18px;
    font-weight: 700;
}

.portfolio .categories a.active {
    color: #000;
}

/* ABOUT US */

.about_us .img_max_screen {
    display: block;
}

.about_us .img_min_screen {
    display: none;
}

.about_us {
    width: 70%;
    margin: auto;
    padding: 40px 0;
    display: grid;
    grid-template-columns: 1fr 3fr;
}

.about_us .content {
    padding: 40px 100px;
    display: flex;
    flex-direction: column;
}

.about_us .content h1{
    margin-bottom: 20px;
    font-size: 35px;
    text-align: justify;
}

.about_us .content p {
    margin-bottom: 20px;
}

.about_us button {
    cursor: pointer;
    width: 150px;
    background: #795548;
    color: #fff;
    border: none;
    padding: 10px;
    border-radius: 10px;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    -ms-border-radius: 10px;
    -o-border-radius: 10px;
    transition: 0.2s;
    -webkit-transition: 0.2s;
    -moz-transition: 0.2s;
    -ms-transition: 0.2s;
    -o-transition: 0.2s;
}

.about_us button:hover {
    background: #8D6E63;
}

@media (max-width: 900px) {
    .about_us{
        display: flex;
        flex-direction: column;
    }
    .about_us .img_max_screen {
        display: none;
    }

    .about_us .img_min_screen {
        display: block;
    }

    .about_us button {
        width: 100%;
    }

    .about_us .content {
        padding: 20px 20px;
        display: flex;
        flex-direction: column;
    }
}

@media (max-width: 1454px) {
    .about_us .content {
        padding: 20px 20px;
    }
    .about_us {
        width: 80%;
        grid-template-columns: 1fr 2fr;
    }
}

/* GRID GALLERY */

.grid {
    position: relative;
    width: 100%;
    opacity: 0;
    transition: opacity 0.5s linear 1s;
    -webkit-transition: opacity 0.5s linear 1s;
    -moz-transition: opacity 0.5s linear 1s;
    -ms-transition: opacity 0.5s linear 1s;
    -o-transition: opacity 0.5s linear 1s;
}

.grid.uploaded-image {
    opacity: 1;
}

.grid .item {
    position: absolute;
    display: block;
    padding: 0;
    margin: 10px;
    width: calc(50% - 20px);
}

.grid .item-content {
    position: relative;
}

.grid .item img{
    width: 100%;
    cursor: pointer;
    vertical-align: top;
}


/* OVERLAY*/
.overlay {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.9);
    width: 100%;
    height: 100vh;
    display: none;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.overlay.active {
    display: flex;
}

.overlay img {
    max-width: 100%;
}

.overlay .description {
    display: block;
    background: #fff;
    padding: 20px;
    text-align: center;
    border-radius: 10px;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    -ms-border-radius: 10px;
    -o-border-radius: 10px;
    max-width: 50%;
}

.overlay .img-container {
    position: relative;
    max-width: 500px;
    width: 80%;
}

.overlay #btn-close-popup {
    background: none;
    font-size: 20px;
    color: #fff;
    border: none;
    cursor: pointer;
    position: absolute;
    right: -25px;
    top: -25px;
}



/*CONTACT */

.contact {
    width: 100%;
    height: 500px;
    max-height: 500px;
    margin: auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.contact .content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    background: #3E2723;
    color: #fff;
    padding: 10px;
}

.contact .img {
    display: flex;
    justify-content: center;
    align-items: center;
    justify-content: center;
    background: #bcaaa460;
    padding: 10px;
}
.contact img {
    display: inline-block;
    width: 100%;
    max-width: 400px;
}


/* FOOTER*/

footer .social-media {
    display: flex;
    align-content: center;
    justify-content: center;
    padding: 20px;
    flex-wrap: wrap;
}

footer .social-media a {
    display: block;
    width: 60px;
    height: 60px;
    background: #000;
    color: #fff;
    margin: 20px;
    text-align: center;
    border-radius: 100px;
    -webkit-border-radius: 100px;
    -moz-border-radius: 100px;
    -ms-border-radius: 100px;
    -o-border-radius: 100px;
    transition: 0.3s;
    -webkit-transition: 0.3s;
    -moz-transition: 0.3s;
    -ms-transition: 0.3s;
    -o-transition: 0.3s;
}

footer .social-media .instagram { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%,#d6249f 60%,#285AEB 90%);}
footer .social-media .facebook { background: #3b5998;}
footer .social-media .whatsapp { background: #25d366;}

footer .social-media a i {
    font-size: 20px;
    line-height: 60px;
}

footer .icon-container:hover a {
    animation: icon .5s ease;
    -webkit-animation: icon .5s ease;
}

footer .created-by {
    margin-bottom: 40px;
    text-align: center;
    font-size: 14px;
    color: #5e5c5c;
}

@keyframes icon {
    from {
        transform: rotate3d(0,0,0,0);
        -webkit-transform: rotate3d(0,0,0,0);
        -moz-transform: rotate3d(0,0,0,0);
        -ms-transform: rotate3d(0,0,0,0);
        -o-transform: rotate3d(0,0,0,0);
}
    to {
        transform: rotate3d(0,1,0, 360deg);
        -webkit-transform: rotate3d(0,1,0, 360deg);
        -moz-transform: rotate3d(0,1,0, 360deg);
        -ms-transform: rotate3d(0,1,0, 360deg);
        -o-transform: rotate3d(0,1,0, 360deg);
}
}