﻿body {
    font-family: 'Poppins', sans-serif;
}

.container {
    width: 100%;
}

@media(min-width:640px) {
    .container {
        max-width: 640px;
    }
}

@media(min-width:768px) {
    .container {
        max-width: 768px;
    }
}

@media(min-width:900px) {
    .container {
        max-width: 900px;
    }
}

@media(min-width:1024px) {
    .container {
        max-width: 1024px;
    }
}

@media(min-width:1280px) {
    .container {
        max-width: 1280px;
    }
}

@media(min-width:1400px) {
    .container {
        max-width: 1400px;
    }
}

@media (min-width:1730px) {
    .container {
        max-width: 1730px;
    }
}

header img {
    max-height: 80px;
}

.search-box {
    border: 1px solid #000;
    padding-right: 2.5rem;
    border-radius: 0;
}

.search-container {
    position: relative;
    max-width: 500px;
    width: 100%;
}

.search-icon {
    position: absolute;
    top: 50%;
    right: 0.75rem;
    transform: translateY(-50%);
    font-size: 1.2rem;
    color: #000;
    pointer-events: none;
}

.flag-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 1.5rem;
}

@media (min-width: 960px) {
    .flag-grid {
        grid-template-columns: repeat(6, 1fr);
    }
}

.flag-card {
    display: flex;
    align-items: center;
    column-gap: 12px;
    position: relative;
    transition: transform 0.2s ease-in-out;
}

.flag-card:hover {
    transform: translateY(-5px);
}

.flag-card img {
    height: 40px;
    width: 40px;
    margin-bottom: 0.5rem;
}

.flag-card a {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.flag-text {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    color: #333;
    margin: 0;
}

.brands-grid {
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    row-gap: 30px;
    column-gap: 30px;
    justify-content: center;
}

@media (max-width: 689.98px) {
    .brands-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        row-gap: 20px;
        column-gap: 20px;
    }
}

.brand-tile {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    transition: all .25s cubic-bezier(.42,0,.58,1);
    background-color: rgba(0, 0, 0, 1);
    max-height: 30vh;
    border-radius: 10px;
}

.brand-tile:hover {
    transform: scale(1.04);
}

.hover-color-utique:hover {
    box-shadow: 10px 10px 0 0 #a09079;
}

.hover-color-fontainavie:hover {
    box-shadow: 10px 10px 0 0 #a6d7f0;
}

.hover-color-nutricode:hover {
    box-shadow: 10px 10px 0 0 #6295a0;
}

.hover-color-royal:hover {
    box-shadow: 10px 10px 0 0 #8f8712;
}

.hover-color-makeup:hover {
    box-shadow: 10px 10px 0 0 #cc7a78;
}

.hover-color-aurile:hover {
    box-shadow: 10px 10px 0 0 #f7dcb0;
}

.hover-color-bio:hover {
    box-shadow: 10px 10px 0 0 #64b663;
}

.hover-color-soon:hover {
    box-shadow: 10px 10px 0 0 #a39b8b;
}

.brand-logo {
    fill: rgba(255, 255, 255, 1) !important;
}

.container-link {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.brand-text {
    text-align: center !important;
    font-size: 30px;
    color: rgba(255, 255, 255, 1);
}
