
/* LATEST PRODUCTS */

#latestproducts {
    position: relative;
    width: 100%;
    min-height: 20vh;
    margin: 0;
}

h1.section-title {
    width: 100%;
    left: 0;
    padding-top: 25px;
    padding-bottom: 25px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    font-family: 'Futura';
    font-size: 30px;
    color: var(--fries-gold);
}

#latest-container {
    width: 100%;
}

.latest-scroller {
    display: grid;
    grid-template-rows: min-content;
    gap: 20px;
    grid-auto-flow: column;
    grid-auto-columns: 23%;
    width: 80%;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
}

.latest-item {
    display: inline-block;
    height: 14vw;
    overflow: hidden;
}

.latest-item img {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
}

.latest-item .latest-title {
    width:100%;
    font-size: 20px;
    margin-top: 6px;
    text-align: center;
}

.latest-title a {
    color: var(--dark-grey);
    text-decoration: none;
}

.snaps-inline {
    scroll-snap-type: inline mandatory;
}

.snaps-inline > * {
    scroll-snap-align: start;
}

/* BANNERS */

#banners_area {
    display: flex;
    flex-wrap: wrap;
}

p.banner-text {
    text-align: center;
    font-weight: bold;
    font-size: 16px;
    padding-top: 0px;
    padding-bottom: 40px;
}

button.banner-btn {
    position: absolute;
    z-index: 9;
    left: 0;
    right: 0;
    margin-left: auto;
    margin-right: auto;
    width: 200px;
    bottom: 15px;
    margin-top: 0;
    text-align: center;
    font-size: 20px;
    background: none;
    border: 2px solid white;
    font-family: 'Futura';
    border-radius: 5px;
    transition: all 0.2s ease-in;
}

/* CATALOG */

#catalog-banner {
    position: relative;
    width: 50%;
    margin: 0;
    aspect-ratio: 4.5;
    background-image: url('../gfx/catalog_banner.jpg');
    background-size:cover;
    background-position-y: center;
}

#catalog-banner h1 {
    color: black;
    padding-bottom: 10px;
    margin-bottom: 10px;
}

#catalog-banner p {
    color: black;
}

#btn-catalog{
    color: black;
    border-color: black;
}

#btn-catalog:hover {
    background: black;
    color: white;
}

/* DISCORD */

#discord-banner {
    position: relative;
    width: 50%;
    margin: 0;
    aspect-ratio: 4.5;
    background-image: url('../gfx/discord_banner.jpg');
    background-size:cover;
    background-position-y: center;
}

#discord-banner h1 {
    color: white;
    padding-bottom: 10px;
    margin-bottom: 10px;
}

#discord-banner p {
    color: white;
}

#btn-discord{
    color: white;
    border-color: white;
}

#btn-discord:hover {
    background: white;
    color: black;
}


/* RESPONSIVE */

@media screen and (max-width: 1600px) {
    p.banner-text {
        padding-bottom: 40px;
        font-size: 12px;
    }
    #latestproducts {
        min-height: 12vh;
    }
    
}
@media screen and (max-width: 1400px) {
    #catalog-banner h1, #discord-banner h1 {
        margin-bottom: 0px;
        padding-bottom: 0px;
        margin-top: 5px;
        padding-top: 5px;
        font-size: 25px;
    }
    p.banner-text {
        font-size: 12px;
    }
    .latest-item .latest-title {
        font-size: 16px;
    }   
}

@media screen and (max-width: 1200px) {
    .latest-item {
        height: 18vw;
    }
}

@media screen and (max-width: 970px) {
    .latest-item {
        height: 25vw;
    }
    .latest-scroller {
        gap: 10px;
        grid-auto-columns: 43%;
    }
}

@media screen and (max-width: 800px) {
    .latest-item {
        height: 30vw;
    }
    .latest-item .latest-title {
        font-size: 14px;
    }   
}

@media screen and (max-width: 700px) {
    #catalog-banner, #discord-banner {
        width: 100%;
        aspect-ratio: 2.5;
    }   
    #catalog-banner h1, #discord-banner h1 {
        padding-bottom: 30px;
    }
    p.banner-text {
        font-size: 16px;
        padding-bottom: 5px;
    }
}

@media screen and (max-width: 600px) {
    #latestproducts {
        min-height: 25vh;
    }
    .latest-item {
        height: 30vw;
    }
}


@media screen and (max-width: 500px) {
    .latest-item {
        height: 35vw;
    }
    #catalog-banner h1, #discord-banner h1 {
        padding-bottom: 5px;
    }
    p.banner-text {
        font-size: 14px;
        padding-bottom: 15px;
    }
}

@media screen and (max-width: 450px) {
    #latestproducts {
        min-height: 20vh;
    }

}
@media screen and (max-width: 400px) {
    .latest-item {
        height: 40vw;
    }
    #btn-catalog, #btn-discord{
        font-size: 15px;
    }
    p.banner-text {
        font-size: 12px;
        padding-bottom: 5px;
    }
}