@font-face {
    font-family: saol-light;
    src: url(assets/SaolDisplay-Light.woff);
}

@font-face {
    font-family: saol-italic;
    src: url(assets/SaolDisplay-ThinItalic.woff);
}

@font-face {
    font-family: andale-mono;
    src: url(assets/ANDALEMO.woff);
}

html,
body {
    height: 100%;
    width: 100%;
    margin: 0;
}

#generator {
    position: relative;
    width: 1080px;
    height: 1080px;
}

#controls {
    width: 100%;
    height: 100%;
    /* background-color: #b7bbc6; */
    border-radius: 10px;
}

#myCanvas {
    position: absolute;
    left: 0px;
    top:0px;
    background-color: #b7bbc6;
}

#word {
    position: absolute;
    left: 94px;
    bottom: 586px;
    width: 80%;
    background-color: transparent;
    border: none;
    border-bottom: 1px solid black;
    font-family: 'saol-light';
    font-size: 211px;
    line-height: 1;
    margin: 0;
    padding: 0;
}

#pos {
    position: absolute;
    left: 98px;
    top: 494px;
    background-color: transparent;
    border: none;
    border-bottom: 1px solid black;
    font-family: 'saol-italic';
    font-size: 52px;
    line-height: 1;
    margin: 0;
    padding: 0;
}

#text {
    position: absolute;
    left: 100px;
    top: 690px;
    width: 80%;
    background-color: transparent;
    border: none;
    border-bottom: 1px solid black;
    font-family: 'andale-mono';
    font-size: 60px;
    font-weight: bold;
    line-height: 1.2;
    margin: 0;
    padding: 0;
}

.buttons{
    position: absolute;
    bottom: 10%;
    right: 100px;
}

.button {
    background: none;
    font-family: 'andale-mono';
    font-weight: bold;
    font-size: 40px;
    border: 1px solid black;
    border-radius: 24px;
    padding: 10px 20px;
    cursor: pointer;
}

#color {
    position: absolute;
    top: 0;
    right: 0;
    margin: 10px;
    width: 20px;
    height: 20px;
    border: 1px solid black;
    border-radius: 50%;
    padding: 0;
    cursor: pointer;
    overflow: hidden;
    background: none;
    animation: ease-in 0.5s colorAnim alternate infinite;
}

#draw-it{
    z-index: 10;
    font-family: 'andale-mono';
    animation: ease-in 0.5s opacityAnim alternate infinite;
}

@keyframes opacityAnim {
    from {
        opacity: 0.4;
    }
    to {
        opacity: 1;
    }
}

.slide {
    align-items: center;
    justify-content: center;
    display: flex;
    width: 100%;
    height: 100%;
    /* position: absolute; */
    width: 100%;
    height: 100%;
    margin: 0;
}

#slide1 {
    width: 1080px;
}

#rendered-image {
    position: absolute;
    width: 100%;
    height:100%;
    margin: 0;
}

#insta, #description {
    position: relative;
    left: 100px;
}

@keyframes colorAnim {
    from {
        padding: 0px;
        transform: scale(1)
    }

    to {
        padding: 2px;
        transform: scale(1.15)
    }
}

#color::-webkit-color-swatch {
    border: none;
    border-radius: 50%;
    padding: 0;
}

#color::-moz-color-swatch {
    border: none;
    border-radius: 50%;
    padding: 0;
}

#color::-webkit-color-swatch-wrapper {
    border: none;
    border-radius: 50%;
    padding: 0;
}

.hidden {
    display: none !important;
}

.blurred {
    transition: ease-in 1s filter;
    filter: blur(10px)
}

.spinner {
    height:20px;
    position: absolute;
    margin: 50px;
}

.spinner .dot {
    width: 10px;
    height: 10px;
    margin: 2px;
    border-radius: 50%;
    background-color: black;
    display: inline-block;
    animation: bounce 0.6s ease-out infinite alternate;
}

.spinner .dot:nth-child(1) {
    animation-delay: 0s;
}

.spinner .dot:nth-child(2) {
    animation-delay: 0.2s;
}

.spinner .dot:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes bounce {
    from {
        transform: translateY(0)
    }

    to {
        transform: translateY(-20px)
    }
}