@font-face {
    font-family: 'Parkinsans';
    src: url('../fonts/Parkinsans-VariableFont_wght.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}
 
@keyframes flyInBottom {
    0% {
        transform: translateY(100%); 
        opacity: 0;
    }
    100% {
        transform: translateY(0); 
        opacity: 1;
    }
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Parkinsans, Helvetica, sans-serif;
    line-height: 1.6;
    height: 100vh;
    overflow: hidden;
    background-image: url('../images/text_response_background.jpg');
    background-size: cover;   
    background-position: center;
    background-repeat: no-repeat;
}


.navbar {
    gap: 10px; 
    z-index: 10;
    top: 0;
    position: sticky;
    display: flex;            
    width: 100%;
    justify-content: space-between; 
    align-items: center;       
    flex: left;
    background-color: rgb(233, 238, 217);      
    padding: 10px 20px;          
    max-height: 80px;
}

.navbar ul{
    list-style-type: none;
    text-decoration: none;
    display: block;
    margin: 0px;

}

.navbar a{
    color: black;
    text-decoration: none;
    display:block;
    text-align: center;
}

.navbar li{
    float: left;
    padding: 10px

}

.navbar li:hover{
    text-decoration:underline;
}

.navbar .logo img{
    align-items: top;
    position: sticky;
    top: 0;
    margin-top: 9px; 
    max-width: 50px;
    max-height: 50px;
    border-radius: 5px;
}

.container {
    margin-top: 40vh;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    animation: flyInBottom 1s;
}

form {
    display: flex;
    flex-direction: column;
    align-items: center;   
}

textarea {
    font-family: Parkinsans, Helvetica, sans-serif;
    text-align: center;
    padding-left: 100px;
    width: 100%; 
    max-width: 75vw;
    height: 12vh;
    margin-bottom: 10px;
    padding: 10px; 
    border: 1px solid #ccc;
    font-size: 50px; 
    border-radius: 50px;
    overflow-x: auto;
    white-space: nowrap;
}

.button {
    font-family: 'Parkinsans', sans-serif;
    padding: 20px 40px;
    font-size: 27px;
    font-weight: bold;
    border-radius: 50px;
    cursor: pointer;
    position: relative;
    animation: flyInBottom 1.2s ease forwards; 
    border: none;
    color: white;
    background-color: rgb(96, 144, 0);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1), 0 10px 20px rgba(0, 0, 0, 0.15);
}

.button:hover {
    background: linear-gradient(145deg, #13b919, #02be0b);
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.15), 0 16px 30px rgba(0, 0, 0, 0.2);
    transform: translateY(-4px);
}


#responseText::placeholder {
    font-size: clamp(2rem, 3vw, 3vw);

}

#responseForm {
    overflow: hidden;
}

