* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html{
    scroll-behavior: smooth;
}
body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    padding-top: 60px; 
    padding-bottom: 50px; 
}
header {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: var(--color-space-cadet);
    color: var(--color-white);
    text-align: center;
    padding: 1em;
    z-index: 101;
    a{
        text-decoration: none;
        color: inherit;
    }
    img{
        height: 4vw;
        float: left;
    }
 
}
nav {
    position: relative;
    
    @media (min-width:768px) {
        display: flex;
        align-items: center;
        justify-content: center;
        padding-top:2vw;
        
    }
}

.hum-menu {
    display: block;
    color: var(--color-white);
    cursor: pointer;
    float: right;
    z-index: 101;
}

.nav-list {
    display: none;
    gap: 1rem;
    
    @media (min-width:768px){
    display: flex;
    flex-direction: row;
    }
    li {
        text-align: center;
        color: var(--color-white);
    }
}

ul.active {
    padding: 2em 0 2em 2em;
    border-radius: 5px;
    box-shadow: 1vw 1vw var(--color-black);
    background-color: var(--color-white);
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: start;
    width: 70vw;
    z-index: 101;

    @media (min-width:768px){
        display: none;
    }

    li a {
        color: var(--color-space-cadet);

        &:hover {
            background-color: var(--color-cyan-blue-azure);
            color: var(--color-white);
            border-radius: 1vw;
            transition: background-color 0.3s;
        }
    }
}
@media (min-width: 768px) {
    .hum-menu {
        display: none;
    }
}
a {
    text-decoration: none; 
}

.formulieren{
    display: inline;

    li {
        display: inline;
        margin-right: 2vw; 
            padding: 1em 0 3em 0;

    }
    button{
        width: 10em;
        border: none;
        border-radius: 15px 15px 0 15px;
        font-size: 1em;
    
    }
    
    ul {
        list-style: none;
    }
    @media (max-width:768px){
        button{
            width: 20vw;
        }
    }

}



.logo {
    width: 100px;
    height: 50px;
}



.viewer {
    height: 50vh;
    width: 100%;
    
}


.custom-view {
    height: auto;
    width: 100%;
    background-color: var(--color-white);

    .model-view {
        height: 40vh;

        @media (min-width:980px) {
            height: 55vh;
        }
    }

    h2 {
        padding: 1em 0 0 1em;
    }
    
}    

.custom-form {
    border-top: 1px solid var(--color-black);
    background-color: var(--color-white);
}

.color-pick {
    margin: 3em 0;
    text-align: center;
    width: 100%;

    h3 {
        font-size: var(--h3-size-mobile);
    }

    div {
        margin-top: 2em;
        display: flex;
        justify-content: center;
        gap: 2rem;
    }

    button {
        padding: 0;
        display: block;
        height: 5vw;
        width: 5vw;
        text-align: center;
        border-radius: 100%;
        border: none;
        outline: 2px solid var(--color-black);
        outline-offset: 3px;
        transition: transform 0.3s;

        &:hover {
            transform: scale(1.1);
            outline: 2px solid var(--color-carolina-blue);
        }
    }
}

.active-color {
    outline: 1em solid var(--color-black);
}

.controls {
    padding: 1em 0 3em 0;
    display: flex;
    flex-flow: row wrap;
    justify-content: center;
    align-items: center;
    gap: 0.5em;
    button {
        width: 10em;
        border: none;
        border-radius: 0px 15px 0 15px;
        font-size: 1em;
    
    }
    
    ul {
        list-style: none;
    }
    @media (max-width:768px){
        button{
            width: 20vw;
        }
    }


    @media (min-width:650px) {
        gap: 4em;
    }
}



footer {
    align-items: center;
    justify-content: center;
    position: fixed;
    bottom: 0;
    height: 20%;
    width: 100%;
    background-color: var(--color-white);
    color: var(--color-space-cadet);
    text-align: center;
    padding: 1em;
    z-index: 101;
    display: inline;
    li {
        display: inline;
        margin-right: 10px;
      }
    @media (min-width: 200px) {
        li {
            display: inline;
            margin-right: 10px;
            
          }
    
    
        img {
            width: 3rem;
        }
        
    }
   
  
}
ul li:first-child {
    margin-bottom: 10px; 
}