@import url('./fonts.css');
:root{
    --dark: #000;
    --highlight: #E3FF00;
}

html{
    height: 100%;
    margin: 0;
    font-size: 25px;
 }

body {
    background: var(--dark);
    font-family: 'Futura', sans-serif;
    font-weight: 400;
    color: #fff;

    line-height: 1.2;
}

h1, h2, h3, h4, h5, h6
{
    font-weight: bold;
    margin-top: 0;
    margin-bottom: 20px;
    line-height: .85;
    padding-top: 1%;
    text-transform: uppercase;
    letter-spacing: -0.08em;
}

.relative{
    position: relative;
}

#header{
    position: sticky;
    top: 0;
    padding: 1rem 0;
    background: #000;
    margin-bottom: 5vh;
    z-index: 100;
}

.button{
    padding: 10px 20px;
    font-size: 1rem;
    font-weight: bold;
    text-transform: uppercase;
    border-radius: 0;
    text-decoration: none;
    letter-spacing: -0.08em;
    border-width: 0;
}
.button.member{
    background: var(--highlight);
    color: var(--dark);
}
.huge{
    font-size: calc(1.5rem + min(3vw,3rem));
    font-weight: bold;
    text-transform: uppercase;
    line-height: .8;
    letter-spacing: -.09em;
}

.highlight,
.huge span{
    display: block;
    color: var(--highlight);
}
.huge span{
    margin: 2rem 0 .1rem;
    font-size: 50%;
    letter-spacing: -.08em;
}

#drawingSuper{
    height: 100%;
    position: relative;
}

#drawingContainer{
    position: sticky;
    top: 80px;
    left: 0;
    width: 100%;
    height: auto;
}
#drawing{
    width: 85%;
    margin-left: 15%;
    margin-bottom: 15%;
    height: auto;
}
#logo{
    position: absolute;
    bottom: -5%;
    left: 0;
    width: 40%;
    height: auto;
    filter: drop-shadow(0px 0px 10px #000) drop-shadow(0px 0px 5px #000);
    transform: rotate(-15deg);
    animation: rotate 3s 1s ease-in-out infinite;
}

#floorLabels{
    position: absolute;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    top: 5%;
    right: 0;
    bottom: 0%;
    
}

#floorLabels > div{
    font-size: .75rem;
    border: 1px solid #fff;
    border-radius: 10px;
    padding: 5px 10px;
    text-align: center;
    background: #000;
}

#floorLabels > div > label{
    font-size: inherit;
    display: block;
}

#floorLabels div.company{
    text-transform: uppercase;
    font-size: inherit;
    font-weight: bold;
    text-transform: uppercase;
    border-radius: 0;
    text-decoration: none;
    letter-spacing: -0.08em;
    line-height: 1;
}

#floorLabels .company a{
    display: inline-block;
    color: var(--highlight);
    text-decoration: none;
}
#floorLabels .company a:hover{
    text-decoration: underline;
}



#compilation{
    position: relative;
    z-index: 1;
    text-align: right;
    margin-bottom: 5vh;
}

#compilationImages{
    margin: 0;
    padding: 0;
    display: grid;
    /*width: 152%;*/
    grid-template-columns: repeat(5, 1fr);
    grid-column-gap: 1rem;
    grid-row-gap: 1rem;
    justify-items: start;
}

#compilationImages a{
    margin: 0;
    padding: 0;
    list-style: none;
}

#compilationImages img{
    display: block;
    width: 100%;
    aspect-ratio: 1/1;
    object-fit: cover;
    object-position: center;
    filter: grayscale(100%) brightness(125%);
    transition-duration: 2s;
}

#compilationImages img:hover{
    filter: grayscale(0%) brightness(100%);
    transition-duration: .2s;
}


#formTitle{
    transform: translateY(7.5rem);
    padding: 0 3rem;
    font-size: 5rem;
    font-style: italic;
}
#contactForm{
    background: #222222;
    padding: 5rem 3rem 3rem;
    margin: 5rem 0 3rem;
    text-transform: uppercase;
    line-height: 1.6;
}

#contactForm select,
#contactForm input{
    display: inline-block;
    width: 100%;
    padding: 0;
    font-size: inherit;
    line-height: inherit;
    margin: 0;
    line-height: 1;
    border: 0;
    border-bottom: 2px solid #888;
    background: none;

    color: #fff;
    text-transform: uppercase;
}


#contactForm input:not(:placeholder-shown){
    border-bottom: 2px solid #fff;
}



#contactForm select{
    color: #888;
}
#contactForm select.choosen{
    color: #fff;
}
#contactForm select:focus,
#contactForm input:focus{
    background: #fff;
    padding: 0 .5rem;
    color: #000;
    box-shadow: 0;
}

#contactForm input:focus-visible {
    outline: none;
}

#contactForm option{
    color: #000;
}

#contactForm button{
    background: var(--highlight);
}
#contactForm button:disabled{
    cursor: not-allowed;
}




/* rotation animation */
/*
@keyframes rotate {
    0% {
        transform: rotate(-15deg);
    }
    50% {
        transform: rotate(0deg);
        }
        100% {
            transform: rotate(-15deg);
        }
}
*/

@media screen and (max-width: 991px) {
    #header{
        top:auto;
        bottom: 0;
        position: fixed;
        margin: 0;
        left: 0;
        right: 0;
    }

    #drawingSuper{
        position: relative;
        top: 0;
        width: 100%;
        padding: 10% 10% 20% 0;
    }


    #compilationImages{
        width: 100%;
        grid-template-columns: repeat(3, 1fr);
        margin-bottom: 80px;
    }
   
    #floorLabels{
        right: -10%;
    }
    #floorLabels > div{
        transform-origin: right center;
        scale: .75;
    }

    #contactForm{
        padding: 5rem 5vw 5vw;
    }
    #formTitle{
        padding: 0 5vw;
    }
}


@media screen and (max-width: 576px) {
    #compilationImages{
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 400px) {
    
    #floorLabels > div{
        transform-origin: right center;
        scale: .5;
    }
    #compilationImages{
        gap: .5rem;
    }
}

#formResult{
    color: var(--highlight);
}
#formResult:not(:empty){
    padding: 1rem 0;
}

#formResult li{
    list-style: none;
}
#formResult li::before{
    content: '> ';
    margin-right: 1rem;
}