:root {
    --xxs: 0.7rem;
    --xs: 13.1604px;
    --s: 1rem;
    --xl: 1.1rem;

    --white: rgba(255, 255, 255);
    --blk: rgba(0, 0, 0, 0.8);
    --grey: rgb(217, 217, 217);
    --darkgrey: rgba(0, 0, 0, 0.15);
    --white-transparent: rgba(255, 255, 255, 0.93);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    text-rendering: geometricPrecision;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    -webkit-tap-highlight-color: transparent;
}

html {
    padding: 0;
    text-decoration-skip-ink: auto;
    margin: auto;
    min-height: 100%;
    overflow-x: hidden;
    list-style: none;
}

body{
    margin: 1rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    font-family: sans-serif;
}

main {
    margin:1rem;
}

.main-top{
    padding-top: 5.5rem;
    margin-bottom: 4rem;
}

.main-full-screen{
    background-color: var(--white);
    z-index: 1000;
    margin: 0;
    height: 100vh;
    overflow: hidden;
}

.main-carrousel{
    margin-top: 9rem;
}

.nav--desktop{
    border-bottom: 1px solid var(--darkgrey);
    margin: 0 !important;
    position: fixed;
    top:0;
    width:100vw;
}

.nav__content--desktop{
    display: flex;
    justify-content: space-between;
    margin: 1rem;
    margin-bottom:0.6rem;
}

.nav--desktop, ul.main-menu--desktop {
    z-index: 1000;
}

ul.main-menu--desktop{
    display: flex;
    list-style: none;
    gap: 1rem;
}

.footer{
    position: fixed;
    bottom: 0;
    margin: 0;
    padding-bottom: 1rem;
    display: flex;
    /*justify-content: space-evenly;*/
    margin-inline: 1rem;
}

.footer--copyright{
    width: 25%;
    text-align: justify;
}

.footer--bio{
    width: 55%;
    text-align: justify;
}

.main-menu__item--active,
.back-button:hover,
a:hover,
.active
 {
   opacity: 0.3;
}

.home-cover a:hover{
    opacity: 0.9;
}

.nav__logo a:hover,
.no-hover a:hover{
    opacity: 1;
}

.back-button:hover{
    cursor: pointer;
}

.socials{
    display: flex;
    flex-direction: column;
    gap:0.2rem !important;
}

.artist-projects{
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 10px;
    margin-top: 1rem;
}

.artists-menu--desktop {
    display: flex;
    flex-direction: column;
    text-align: center;
    width: 100%;
    gap: 1rem;
}

.cover img, video{
    max-width: 60%;
}

.tags{
    display: flex;
    flex-direction: row;
    justify-content: center;
    padding-bottom: 1rem;
    align-items: center;
    gap: 1rem;
    text-transform: capitalize;
}

.artist-nav{
    display: flex;
    flex-direction: row;
    gap: 1rem;
}

.artist-header{
    margin-bottom: 1rem;
}

.popup-section--content{
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.popup-section {
    z-index: 1000;
    position: fixed;
    top: 0%;
    right: 0;
    background-color: var(--white-transparent);
    text-align: left;
    padding: 2rem;
    align-items: flex-start;
    min-height: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.popup-section.is-hidden {
    display: none;
}

.back-button{
    z-index: 100;
    position: fixed;
    right: 0.8rem;
    top: 4rem;
}

.home-projects{
    position: fixed;
    bottom: 3.9rem;
    left: 0;
    display: flex;
    align-items: flex-end;
    width: max-content;
    animation: slide-in 60s linear infinite;
    will-change: transform;
}

.error{
    align-self: center;
    align-items: center;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

@keyframes slide-in{
    from{
        transform: translateX(0);
    }

    to{
        transform: translateX(-50%);
    }
}

.home-cover img{
    width: 30vw;
    height: auto;
    display: block;
}

.artist-overview{
    display: grid;
    grid-template-columns: repeat(5,1fr);
    gap: 6rem;
    margin-top: 1rem;
}

.artist-overview--media img{
    width: 10rem;
}


/* mobile */
@media (max-width:780px) {

ul.main-menu--desktop{
    display: flex;
    flex-direction: row;
}

.popup-section {
    width: 100%;
}

.nav__logo img{
    height: 1.5rem;
}

}

/* desktop */
@media (min-width:780px) {
  
ul.main-menu--mobile{
    display: none;
}


.popup-section {
    width: 40%;
}
}