html {
    scroll-behavior: smooth;
    transition: all 0.3s ease;
}

body {
    background: var(--bg);
}



.brand-nav {
    height: min-content;
    width: 98.5%;
    background: var(--bg);
    justify-content: space-between;
    padding: 7rem 1rem 2rem;
    position: fixed;
    z-index: 10;
}

.brand-nav a {
    height: min-content;
}

.brand-nav button {
    color: var(--black250);
    text-align: center;
    font-family:neue;
    font-size: 3rem;
    font-style: normal;
    font-weight: 700;
    line-height: 96%;
    letter-spacing: -0.0675rem;
    border: none;
    background: none;
    width: min-content;

}
 a[href*=kbeauty] button{
   width: max-content!important;


}

.brand-nav button:hover {
    color: var(--trending);
}

button.selected {
    color: #000;
}

/* GRID CSS */

#bg.grid {
    transition: all 0.3s ease;
    justify-content: space-evenly;
    height: 100vh;
    width: 100vw;
    display: flex;
    z-index: -1;
    position: fixed;
}

.grid .buttons button {
    border: none;

    border-radius: 50%;
    height: min-content;
    width: min-content;
}

.grid .disabled {
    background-color: var(--black250);
    backdrop-filter: blur(4px);
    pointer-events: none;
}

.grid .abled {
    pointer-events: all;
    background-color: var(--trending) !important;
}

.grid .buttons div {
    width: 100vw;
    top: 50%;

    position: fixed;
    align-self: center;
    align-items: center;
    gap: 1rem;
    z-index: 90;
    justify-content: space-around;
}


.grid h1 {
    max-width: 50vw;
    text-align: center;
    font-family:neue;
    font-size: 128px;
    font-weight: 700;
    line-height: 96%;
    letter-spacing: -0.24rem;
}

#bg.grid div {
    position: absolute;
    align-self: center;
    gap: 1rem;
}

#bg.grid p {
    color: var(--black450);
}

#brands.grid {
    position: relative;
    padding-top: 40%;
    width: 100%;
    margin-bottom: 2rem;

}

.grid .row {

    width: 98%;
    padding: 0 1rem;

    justify-content: space-between;
}

.grid .row a {

    color: #000;
    font-family: neueB;
    font-size: 1.30669rem;
    line-height: 96%;
    letter-spacing: -0.03919rem;
}


.grid .row:nth-child(2) {
    justify-content: center;
    top: 80%;
}

.grid .row:nth-child(3) {
    top: 120%;
}

.grid .row:nth-child(4) {
    justify-content: center;
    top: 160%;
}

.grid .row:nth-child(5) {

    top: 200%;
}

.grid .row:nth-child(6) {
    justify-content: center;
    top: 240%;
}

.grid a.column {

    align-items: flex-start !important;
    gap: 1rem;


}

.img-div {
    width: 30vw;
    height: 20vw;
}

.img-div img {
    border-radius: 1rem;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.5s ease;
}

/* .circle.grid {
    display: none;
    position: absolute;
    width: 125px;
    height: 125px;
    top: 0%;
    cursor: url('/img/ver.svg'), auto !important;
    z-index: 1;
    left: 0%;
    margin: -50px 0 0 -50px;
    background: #d9d9d927;
    border-radius: 80%;
    backface-visibility: hidden;
    backdrop-filter: blur(7px);
    transition: all 0.1s ease;
} */
 .row a{
    cursor: url('/img/ver-red.svg'), auto !important;
 }


/* SELECTOR CSS */
#selector {
    position: fixed;
    bottom: 1rem;
    left: 48%;
    padding: 0.5rem;
    justify-content: center;
    border-radius: 3rem;
    background: var(--black250);
    backdrop-filter: blur(12px);
    z-index: 10;

}

#selector button {
    position: relative;
    font-family: neue;
    padding: 0.5rem 1rem;
    color: #FFF;
    font-size: 1.5rem;
    background: none;
    border: none;
    border-radius: 3rem;
    transition: all 0.3s ease;
}

#pill {
    padding: 0;
    background-color: var(--trending) !important;
    width: 50%;
    height: 80%;
    z-index: -1;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0.4rem;
    margin: 0.4rem 0;
    font-size: 1.5rem;
    background: none;
    border: none;
    transition: all 0.5s ease;
    border-radius: 3rem;
}


#grid:hover~#pill {
    right: inherit;
    left: 0.4rem;
}

#list:hover~#pill {
    right: 0.4rem;
    left: inherit;
}

/* LIST CSS */
.hidden {
    display: none;
}

#bg.list {
    top: 0;
    transition: all 0.3s ease;
    width: 100vw;
    display: flex !important;
    z-index: -1;
    position: fixed;
    background-color: #FFF;
}

#bg.list p {
    display: none;
}


#bg.list div {
    position: absolute;
    left: 1rem;
    top: 10%;
    gap: rem;
}

#brand-list {
    margin-top: 25vh;
    min-height: 45vh;
}

.list h1 {
    max-width: inherit !important;
}

.img-hover {
    width: 30vw;
    position: relative;
    height: 10vh;
    transition: all 0.3s ease;
}

.list .img-div {
    width: 30vw;
    height: 40vh;
    position: absolute;
    left: 0;
    top: -100%;
    transition: all 0.3s ease;
    display: none;
}



.list .list-row {
    color: var(--black250);
    height: 10vh;
    padding: 0.5rem 1rem;
    justify-content: space-between;
    border: 1px solid var(--black250);
    border-right: none;
    border-left: none;
    align-items: center;
    transition: all 0.3s ease;
}

.list-row p:first-child {
    font-size: 2rem;
    font-style: italic;

    line-height: 96%;
    /* 2.06769rem */
    letter-spacing: -0.06463rem;
    border-radius: 80%;
    padding: 0.75rem 1.25rem 0.5rem;
    height: min-content;
    border: 1px solid var(--black250);
}

.list-row p:nth-child(2) {

    font-family:neue;
    font-size: 4rem;
    font-style: normal;
    font-weight: 700;
    line-height: 96%;
    /* 3.84rem */
    letter-spacing: -0.12rem;
}

.list-row .flex {
    align-items: center;
    width: 32vw;
    gap: 1rem;
}

.list-row .img-hover+p {

    width: 31vw;
    font-size: 1.5rem;
    line-height: 96%;
    letter-spacing: -0.045rem;
}

.list-row:hover {
    color: #000 !important;
    border: 1px solid #000;
    border-right: none;
    border-left: none;
}

.list-row:hover .img-div {
    display: block;
    transition: all 0.3s ease;
}

.list-row:hover p:first-child {
    border: 1px solid #000;
}
@media screen and (min-width:1600px) {
    .brand-nav button{
        width: max-content;
    }
}
@media screen and (max-height:800px) {
    .grid h1 {

        font-size: 104px;
    }
    .brand-nav {

        padding: 6rem 1rem 1rem;
      
    }
    .brand-nav button {
       
    
        font-size: 40px;}
}


@media screen and (orientation:portrait) {
    .brand-nav {
        flex-direction: column;
        position: static;
        padding: 7rem 0.5rem 1rem;
        width: 94%;
    }

    .brand-nav button {
        text-align: left;
        font-size: 2.5rem;
    }

    button.selected {
        color: var(--trending);
    }

    .row {
        flex-direction: column;
    }

    #bg.grid {
        justify-content: space-around;
    }



    .grid .buttons div {
        display: none;
    }


    .grid h1 {
        max-width: 100vw;
        padding-top: 11%;
        font-size: 4.75rem;

    }

    #bg.grid div {
        position: absolute;
        align-self: flex-start;
        margin-top: 10vh;
        gap: 1rem;
    }

    #bg.grid p {
        display: none;
    }

    #brands.grid {

        padding-top: 0%;
    }

    .grid .row {
        gap: 1rem;
        width: 92%;
        padding: 0.5rem 1rem;

        justify-content: space-between;
    }



    .grid a.column {

        align-items: center !important;
        gap: 1rem;


    }

    .img-div {
        width: 90vw;
        height: 50vw;
    }

    #selector {
        display: none;

    }


}