/*
 * Last Edited By: Melissa Dodson
 * Date: May 5th, 2025
 * Course: CS 367 - Practicum
 * File: host_an_event.css
 *
 * This CSS file styles the event form and homepage for the Los Angeles Kite Fighting (LAKF) website.
 * It defines layout, typography, buttons, banners, form elements, and responsive behavior across devices,
 * ensuring a cohesive and user-friendly visual design.
 */
 
 @import url('https://fonts.googleapis.com/css2?family=Faster+One&family=Inter:wght@400;700&display=swap');

body, html {
    margin: 0;
    padding: 0;
    font-family: 'Arial', sans-serif;
    text-align: center;
    background-color: #FFD6C0;
}

h1 {
    font-family: 'Faster One', cursive;
    font-weight: 400;
    margin: 1rem auto;
    max-width: 90%;
    color: #EC368D;
}

.header-bar {
    position: fixed;
    top: 0;
    width: 100%;
    height: 40px;
    background-color: #FFA5A5;
    z-index: 10;
  }

.hero {
    position: relative;
    width: 100%;
    
}

.img {
    width: 100%;
    height: 70vh;
    object-fit: cover;
    display: block;
    margin: 0px;
}

h1 {
    position: absolute;
    top: 35vh;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #EC368D;
    font-size: 3rem;
    z-index: 2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.6);
}

.button-bar {
    display: flex;
    justify-content: center;
    align-content: center;  
    width: 100%;
    background-color: #FFA5A5;
    padding: 10px 0;
}

.button-container {
    display: flex;
    justify-content: center;
    align-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

button {
    padding: 12px 24px;
    background-color: #78C0E0;
    color: #fff;
    border: 1px solid #2C2C2C;
    border-radius: 8px;
    box-shadow: 0px 4px 4px rgba(0,0,0,0.25);
    font-size: 1rem;
    cursor: pointer;
    transition: transform 0.2s ease;
    min-width: 142px;
}

button:hover {
    transform: scale(1.05);
}

/* Event Form Styling */
.event-form {
    margin-top: 20px;  /* Reduced margin to raise the form */
    padding: 2rem;
    background-color: #FFFFFF;
    border-radius: 8px;
    box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.2);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.form-group {
    margin-bottom: 1rem;
    text-align: left;
}

.form-group label {
    font-size: 1rem;
    color: #333;
    display: block;
}

.form-container {
    border: 2px solid #EC368D; /* Pink border for each input container */
    padding: 10px;
    border-radius: 8px;
}

.form-input {
    width: 100%;
    margin-top: 5px;
    border: none;
    outline: none;
}

.radio-group {
    display: flex;
    justify-content: space-around;
}

.form-radio {
    margin-right: 10px;
}

.form-buttons {
    display: flex;
    justify-content: space-between;
    margin-top: 1rem;
}

.form-button {
    padding: 12px 24px;
    background-color: #78C0E0;
    color: #fff;
    border: 1px solid #2C2C2C;
    border-radius: 8px;
    box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
    font-size: 1rem;
    cursor: pointer;
    transition: transform 0.2s ease;
    width: 48%;
}

.form-button:hover {
    transform: scale(1.05);
}

.lakf-logo {
    position: fixed;
    top: 10px;
    left: 20px;
    font-family: 'Faster One', cursive;
    font-size: 24px;
    z-index: 10;
    color:#EC368D;
}

@media screen and (max-width: 600px) {
    h1 {
        font-size: 2rem;
    }

    .lakf-logo {
        font-size: 18px;
        left: 10px;
    }

    .form-button {
        width: 100%;
        max-width: 200px;
    }

    .home-button {
        font-size: 1rem;
        padding: 10px 20px;
    }
}

.help-button {

    position: fixed;
    top: 5px;
    right: 20px;
    font-size: 24px;
    color: #000000;
    font-family: Arial, Helvetica, sans-serif;
    z-index: 11;
    background-color: #EC368D;
    border: 1px solid #2C2C2C;
    border-radius: 50%;
    cursor: pointer;
    transition: transform 0.2s ease;
    width: 30px;
    height: 30px;
    text-align: center;
    margin: auto;
    text-decoration: none;
}
