@font-face {
    font-family: 'Kind Sans';
    src:url(fonts/kind-sans-thin.otf);
}

/* Body/environment */

body {
    background-color: white;
}

/* Whole interface */

.header h1 {
    text-align: center;
    font-size: 80px;
    font-family: 'Kind Sans';
}

.header p {
    position: relative;
    top: -50px;
    font-family:'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;

    font-size: 14px;
    text-align: center;
    color: #555;
}

.interface_container {
    padding: 0 20%;
    align-items: center;
}

/* Logo above chat box */

.logo_design {
    display: flex;
    align-items: center;
    position: relative;
    height: 100px;
}

#eye1, #eye2 {
    position: absolute;
    
    width: 40px;
    height: 40px;

    border-radius: 50%;

    background-color: black;
}
#eye1 {    
    left: 0;
}
#eye2 {
    right: 0;
}
.eyeOpen {
    animation: eyeOpen 2s ease-out forwards;
}
@keyframes eyeOpen { /* Eyes are INITIALLY 0 height. Animation opens them! */
    0% {
        height: 0;
    }
    50% {
        height: 0;
    }
    100% {
        height: 40px;
    }
}
.blinker {
    animation: blink 0.5s ease-out forwards !important;
}
@keyframes blink { /* Will blink randomly, every 5 seconds or so */
    0% {
        height: 40px;
    }
    30% {
        height: 6px;
    }
    100% {
        height: 40px;
    }
}

.mouth {
    position: absolute;

    left: 0;
    right: 0;
    margin-inline: auto; /* Centers this div */

    width: 95%;
    height: 4px;
    border: 1px solid black;

    background-color: black;

    animation: outwardSpread 1s ease-out forwards;
}
@keyframes outwardSpread {
    0% {
        width: 0;
    }
    100% {
        width: 95%;
    }
}

/* Chat */

.form_container {
    display: flex;
    justify-content: center;
}
  
form {
    display: flex;
    width: 100%;
    gap: 0.5rem;
}

textarea {
    resize: none;
    border-radius: 8px;
    padding: 10px;
    box-sizing: border-box;
}

#submit_button {
    padding: 0.75rem 1.25rem;
    font-size: 1rem;
    background-color: #333;
    color: #fff;
    border: none;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: background-color 0.2s;
}

#submit_button:hover {
    background-color: #555;
}
  

@keyframes fadeIn {
    0% {
        transform: translateY(20px);
        opacity: 0;
    }
    100% {
        transform: translateY(0px);
        opacity: 1;
    }
}

/* Response */

#responsebox {
    font-size: 20px;
    font-family:'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    line-height: 30px;
}

/* Copyright */

.copyright {
    color:#555;
    font-size: 12px;
    text-align: center;
}

/* Responsive styling */

@media (max-width: 768px) {
    form {
        flex-direction: column;
    }
    #submit_button {
        padding: 20px 0;
        width: 100%;
    }
}