*{
    box-sizing: border-box;
}

html, body{
    background-color: #000;
    height: 100%;
}

body{
    margin: 0;
    padding: 0;
    background-color: #fff;
    color: #212529;
    font-family: sans-serif;
}

h1{
    color: #2970a8;
    margin-bottom: 5vh;
    margin-top: 8px;
    font-weight: 700;
    font-size: 28px;
}

h2{
    color: #939fa8;
    margin-top: 10px;
    margin-bottom: 0;
    font-size: 16px;
}

h3{
    color: #434f58;
    margin-bottom: 12px;
    margin-top: 32px;
    font-size: 18px;
}

p{
    color: #434f58;
    font-size: 16px;
    margin-top: 8px;
}

hr{
    margin-top: 35px;
}

input{
    height: 40px;
    border-radius: 4px;
    margin-right: 8px;
    padding-left: 8px;
    min-width: 15vw;
}

.button{
    display: inline-block;
    padding: 10px 20px 10px;
    font-size: 16px;
    border-radius: 4px;
    background-color: #C3CfD8;
    margin-right: 8px;
    cursor: pointer;
}

.button.active{
    background-color: #2970a8;
    color: #fff;
}

.flex{
    display: flex;
}

#logo{
    position: absolute;
    z-index: 50;
    width: 100px;
    height: auto;
    left: 32px;
    top: 24px;
    cursor: pointer;
}

#page{
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
}

#scene3d, #interface{
    width: 100%;
}

#scene3d{
    height: 50%;
    background-image: radial-gradient(#ffffff 25%, #93abca 80%)
}

#interface{
    height: 50%;
    padding: 22px;
    display: flex;
    overflow-y: scroll;
    overflow-x: hidden;
}

#scene3d canvas{
    max-width: 100%;
}

#logo-unten{
    padding-bottom: 20px;
}

#colors{
    display: flex;
    width: 100%;
    gap: 12px;
}

.color{
    width: 45px;
    height: 45px;
    border-radius: 45px;
    pointer-events: auto; 
    cursor: pointer;
    transition: outline 0.1s ease-in-out, width 0.1s ease-in-out, height 0.1s ease-in-out, margin 0.1s ease-in-out;
}

.color.active,
.color:hover{
    outline: 4px solid #2970a8;
}

#color1{background-color: #DADADA; border: 2px solid #aaa}
#color2{background-color: #94C1BB;}
#color3{background-color: #888888;}
#color4{background-color: black; }

.inactive {
   opacity: 0.3;
}

@media screen and (min-width: 640px){
    #page{
        flex-direction: row;
    }
    
    #scene3d, #interface{
        width: 50%;
        height: 100%;
    }

    h1{
        font-size: 29px;
    }

}

@media screen and (min-width: 1024px){

    #interface{
        padding: 50px;
    }

    #logo{
        width: 136px;
    }

    h1{
        font-size: 40px;
    }
    
    h2{
        margin-top: 10vh;
        font-size: 22px;
    }
}