@import url('https://fonts.googleapis.com/css2?family=Karla:ital,wght@0,200..800;1,200..800&display=swap');

html, body {
  overflow-x: hidden;
}

.header {
    text-align: center;
    padding: 0.9rem;
    color: #301304;
    font-size: 1.5rem;
    font-family: Karla;
    margin-top: 1rem;
}

.header h3 {
    margin: 0.2rem;
    opacity: 0;
    animation: fadeInLeft 1s ease-out forwards;
}


.header p {
    margin: 0.2rem;
    animation: fadeInRight 1s ease-out forwards;
}


input[type=text], select, textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
    margin-top: 6px;
    margin-bottom: 16px;
    resize: vertical;
    font-size: 1rem;
}

input[type=email], select, textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
    margin-top: 6px;
    margin-bottom: 16px;
    resize: vertical;
    font-size: 1rem;
}
  
input[type=submit] {
    background-color: #e34e0e;
    color: white;
    padding: 12px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1rem;
}
  
input[type=submit]:hover {
    background-color: #DAC0A3;
    color: white;
}
  
.container {
    border-radius: 5px;
    background-color: #f2f2f2;
    padding: 2rem;
    margin: auto;
    width: 50%;
    margin-bottom: 2rem;
    animation: fadeIn 1s ease-out forwards;
    margin-bottom: 4rem;
}

.popup {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6); 
    justify-content: center;
    align-items: center;
}
  
.popup-content {
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    max-width: 400px;
    width: 80%;
    box-shadow: 0 4px 10px rgba(0,0,0,0.25);
}
  
.popup-content button {
    margin-top: 20px;
    padding: 10px 20px;
    border: none;
    background-color: #333;
    color: #fff;
    border-radius: 4px;
    cursor: pointer;
}

@keyframes fadeIn {
    from {
      opacity: 0;
      transform: translateY(10px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
      opacity: 0;
      transform: translateX(-10px);
    }
    to {
      opacity: 1;
      transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
      opacity: 0;
      transform: translateX(10px);
    }
    to {
      opacity: 1;
      transform: translateX(0);
    }
}

@media screen and (max-width: 768px) {
    .container {
        flex-direction: column;
        margin: auto;
        width: 80%;
    }

    .info {
        width: 90%;
    }
}