@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@400;700&display=swap');


/* General */

body{
    font-family: 'Nunito', sans-serif;
    color: #515151;
    background-color: #E9C46A;
    line-height: 24px;
    font-size: 16px;
    min-height: 100vh;
}

h1{
    margin-bottom: 40px;
    font-weight: bold;
    font-size: 50px;
    line-height: 75px;
}

h2{
    font-size: 32px;
    margin-bottom: 20px;
    line-height: 48px;
}

p{
    margin-bottom: 20px
}

.vertical-center {
    min-height: 100%;
    min-height: 100vh; 
    display: flex;
    align-items: center;
}

/* Button */

.button{
    background-color: #2A9D8F;
    padding: 17px 67px 17px 37px;
    border: 3px solid #2A9D8F;
    border-radius: 15px;
    position: relative;
    display: table;
    margin-bottom: 40px;
    font-weight: bold;
    transition: ease-in-out .2s;
}

.button:hover{
    background-color: #E9C46A;
    color: #515151;
    transition: ease-in-out .2s;
}
.button:hover::after{
    background-image: url(/img/arrow_bl.png);
    transition: ease-in-out .2s;
}

a.button{
    color: white;
    text-decoration: none;
}

.button:after{
    content: "";
    background-image: url(/img/arrow.png);
    position: absolute;
    width: 15px;
    height: 15px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    top: 21px;
    right: 40px;
    transition: ease-in-out .2s;
}

/* Speech Cloud */

.typewriter h1 {
  
}
.bubble_outer{
    min-height: 150px;
}
.bubble-animated-home{
    animation: expand .6s ease-in-out;
    animation-delay: 1s;
    animation-fill-mode: forwards;
    opacity: 0;
}
.bubble {
    position: relative;
    width: 300px;
    border-radius: 40px;
    padding: 20px;
    border: 5px solid #E76F51;
    text-align: center;
    color: #E76F51;
    font-size: 32px;
    line-height: 38.5px;
    font-weight: bold;
    margin-top: 40px;
    margin-left: 17%;
    margin-bottom: 30px;
    
}
.triangle {
    transform: rotate(90deg);
    position: absolute;
    width: 0;
    height: 0;
    left: 50px;
    bottom: -38px;
    border-top: 25px solid transparent;
    border-bottom: 25px solid transparent;
    border-left: 25px solid #E76F51;
}
.triangle > div {
    width: 0;
    position: relative;
    left: -26px;
    top: -20px;
    border-top: 20px solid transparent;
    border-bottom: 20px solid transparent;
    border-left: 20px solid #E9C46A;
}

/* Robot (Eva) */
#Arm_left{
    animation: wave_eva 1s linear;
    animation-delay: 1s;
    animation-iteration-count: 3;
}
.eva_robot{
    width: 357px;
}
#eva_full{
    animation: come_eva .5s ease-in-out;
    animation-delay: .5s;
    animation-fill-mode: forwards;
    opacity: 0;
    margin-bottom: 40px;
}

@keyframes come_eva{
    from{
        transform: translateX(350px);
        opacity: 1;
    }
    to{
        transform: translateX(0px);
        opacity: 1;
    }
}

@keyframes expand{
    from{
        width: 30px;
        height: 0px;
        opacity: 1;
    }
    to{
        width: 300px;
        height: 127px;
        opacity: 1;
    }
}
@keyframes wave_eva{
    0%{
        transform: rotate(0deg);
        transform-origin: 50% 50% 0;
    }
    25%{
        transform: rotate(-15deg);
        transform-origin: 50% 50% 0;
    }
    75%{
        transform: rotate(15deg);
        transform-origin: 50% 50% 0;
    }
    100%{
        transform: rotate(0deg);
        transform-origin: 50% 50% 0;
    }
}

/* Game page */

.microphone{
    border: 3px solid #2A9D8F;
    border-radius: 100%;
    width: 100px;
    padding: 20px;
    margin-bottom: 40px;
    animation: border_pulsate 2s infinite;
}

@keyframes border_pulsate {
    0%   { border-color: rgba(42, 157, 143, 1);}
    50% { border-color: rgba(42, 157, 143, 0); }
    100%   { border-color: rgba(42, 157, 143, 1); }
}

#guess_eva{
    display: none;
}
.blurred{
    filter: blur(10px);
    left: 50%;
    transform: translate(-50%, 0);
    position: absolute;
    z-index: -1;
    pointer-events: none;
}

.correctness_guess{
    width: 55px;
    margin: 0 40px;
}

.robot_puzzle{
    position: relative;
    width: fit-content;
}

.puzzle_piece{
    position: absolute;
    width: 140px;
    top: -80px;
    left: -20px;
}