/* styles.css */

body {
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 20px;
}

header {
    background-color: #333;
    color: white;
    padding: 1em;
    text-align: center;
}

nav {
    text-align: center;
}

nav a {
    display: inline-block;
    margin: 0 10px;
}

header nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 1rem;
    justify-content: center;
}

section {
    padding: 20px;
}

footer {
    background-color: #333;
    color: white;
    padding: 1em;
    text-align: center;
}

a {
    color: #007BFF;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

.section-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 800px;
    margin: 0 auto;
}

.section-text {
    flex: 1;
    padding: 20px;
}

.section-image {
    max-width: 25%;
    height: auto;
    margin-left: 20px;
}

.under-construction {
    background-color: #f8d7da;
    padding: 10px;
    text-align: center;
    color: #721c24;
    font-weight: bold;
}

.chat-container {
    display: flex;
    width: 100%;
    justify-content: space-around;
    flex-direction: column;
    align-items: center;
    margin-top: 20px;
}

textarea {
    width: 600px;
    height: 300px;
    margin-bottom: 20px;
    padding: 5px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

button {
    padding: 8px 15px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

button:hover {
    filter: grayscale(70%);
}

button:active {
    transform: translateY(1px);
}

label {
    margin: 5px;
}

.user-input-box {
    margin-bottom: 20px;
}

.spinner {
    display: none;
    border: 4px solid rgba(0, 0, 0, 0.1);
    border-left: 4px solid #000;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    animation: spin 1s linear infinite;
}

.instructions {
    width: 600px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

#submitButton.disabled {
    pointer-events: none;
    opacity: 0.5;
}

#emailButton.disabled {
    pointer-events: none;
    opacity: 0.5;
}

.description-frame {
    border: 1px solid #ccc;
    padding: 5px;
    margin-bottom: 20px;
    width: 600px;
}

/* Modal stuff */
.modal {
    display: none;
    position: fixed;
    z-index: 1;
    padding-top: 100px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(0,0,0);
    background-color: rgba(0,0,0,0.4);
  }
  
.modal-content {
    position: relative;
    background-color: #fefefe;
    margin: auto;
    padding: 0;
    border: 1px solid #888;
    width: 80%;
    box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2),0 6px 20px 0 rgba(0,0,0,0.19);
    -webkit-animation-name: animatetop;
    -webkit-animation-duration: 0.4s;
    animation-name: animatetop;
    animation-duration: 0.4s
  }
   
@-webkit-keyframes animatetop {
    from {top:-300px; opacity:0} 
    to {top:0; opacity:1}
  }
  
@keyframes animatetop {
    from {top:-300px; opacity:0}
    to {top:0; opacity:1}
  }
   
.modal-close {
    color: white;
    float: right;
    font-size: 28px;
    font-weight: bold;
  }
  
.modal-close:hover,
.modal-close:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
  }
  
.modal-header {
    padding: 2px 16px;
    background-color: #424242;
    color: white;
  }
  
.modal-body {padding: 2px 16px;}
  
.modal-footer {
    padding: 2px 16px;
    background-color: #424242;
    color: white;
  }

@media only screen and (max-width: 600px) {
    textarea,
    .instructions,
    .description-frame {
	width: 100%
    }
}
