/* General */

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    background-color: #D9DCF2;
}

main {
    min-height: 100vh;

    background-image: url("Images/cork-texture-corkboard_88281-6717.avif");
    background-size: 500px auto;
    background-position: center;
    background-repeat: repeat;
}

/* Header */

header {
    width: 100%;
    background-color: #FAFAF0;
    position: relative;
}


/* Logo */

.logo_homepage {
    display: flex;
    justify-content: center;
    text-decoration: none;
}

.logo {
    display: flex;
    justify-content: center;
}

.logo img {
    display: block;
    width: 280px;
    height: auto;
    justify-content: center;
}
hr{
    border:none;
    margin:4px;
    height:3px;
    width:100%;
    background-color: #8E9DCC;
}
/* Menu */

.menu {
    display: none;
}


/* Desktop Navigation */

.desktop_header {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    width: 100%;
    height: 78px;
    border: 4px solid #8E9DCC;
    font-family: "Inter", sans-serif;
    font-weight: 600;
    font-size: 30px;

    color: #7D84B2;
}

underline {
    text-decoration: underline;
    text-decoration-thickness: 3px;
    text-underline-offset: 8px;
}


/* Categories */

.category_top {
    width: 100%;
    height: 120px;
    background-color: #8E9DCC;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.category_top h1 {
    margin: 0;
    font-family: "Inter", sans-serif;
    font-weight: 500;
    font-size: 50px;
    color: #FFFFFF;
}


/* Filters */

.category_icon {
    position: absolute;
    right: 12%;
}

.category_icon img {
    display: block;
    width: 50px;
    height: auto;
}


/* Cards */

.cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    column-gap: 120px;
    row-gap: 50px;
    max-width: 1100px;
    margin: 30px auto 80px;
    padding: 0 30px;
}

.card {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #F7F7F7;
    box-shadow: 6px 8px 5px rgba(0, 0, 0, 0.25);
    padding: 15px 15px 10px;
    width: 100%;
}


/* Polaroids */

.polaroid_container {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
}

.polaroid_container .top {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: auto;
}

.polaroid_container .bottom {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.polaroid_container .top img,
.polaroid_container .bottom img {
    width: 100%;
    height: 100%;
    display: block;
}

.polaroid_container .bottom img {
    object-fit: cover;
}

.polaroid_container .top img {
    object-fit: contain;
}*/


/* Description */

.description {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.description h3 {
    margin: 5px 0 0;
    font-family: "Inter", sans-serif;
    font-weight: 600;
    font-size: 36px;
    color: #8E9DCC;
    text-align: center;
}


/* Bottom Nav */

.bottom_nav {
    display: none;
}


/*
   Media Queries */

@media screen and (max-width: 777px) {

    /* Header */

    header {
        height: 132px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 5px 18px;
    }

    .logo_homepage {
        justify-content: flex-start;
    }

    .logo img {
        width: 245px;
        height: auto;
    }


    /* Menu */

    .menu {
        display: block;
    }

    .menu img {
        width: 45px;
        height: auto;
        display: block;
    }


    /* Desktop Nav */

    .desktop_header {
        display: none;
    }


    /* Category */

    .category_top {
        height: 112px;
        justify-content: center;
    }

    .category_top h1 {
        font-size: 42px;
    }


    /* Filter */

    .category_icon {
        right: 35px;
    }

    .category_icon img {
        width: 45px;
    }


    /* Cards */

    .cards {
        display: grid;
        grid-template-columns: 1fr;
        gap: 45px;
        width: 100%;
        margin: 35px auto 100px;
        padding: 0 47px;
    }

    .card {
        width: 100%;
        padding: 12px 12px 8px;
    }


    /* Titles */

    .description h3 {
        font-size: 28px;
        margin-top: 5px;
    }


    /* Bottom Nav */

    .bottom_nav {
        position: fixed;
        left: 0;
        bottom: 0;
        width: 100%;
        height: 75px;
        display: flex;
        justify-content: space-around;
        align-items: center;
        background-color: #FAFAF0;
        z-index: 100;

    }
 /* .creative{
        display: inline-block;
        padding-bottom: 4px;
        border-bottom: 2px solid #8E9DCC;
    }*/

    .bottom_nav div {
        display: flex;
        justify-content: center;
        align-items: center;
        height: 100%;
    }

    .bottom_nav img {
        width: 42px;
        height: 42px;
        display: block;
    }

    .bottom_nav span {
        display: none;
    }
}




/* mobile */
@media screen and (max-width:426px){

    .desktop_header{
        display:none;
    }
    hr{
        display:none;
    }


}


/* tablet */
@media screen and (min-width:426px) and (max-width:777px){

    .desktop_header{
        display:none;
    }

    .bottom_nav{
        display:flex;
        align-items:center;
    }
    .creative{
        text-underline-position: below;
    }
    hr{
        display:none;
    }

}


/* desktop */
@media screen and (min-width:778px){

    .desktop_header{
        display:flex;
        color:#7D84B2;
        width: 100%;
        border: none;
    }
    .bottom_nav{
        display:none;
    }
    hr{
        display:flex;
    }


}