@import url('https://fonts.googleapis.com/css2?family=Creepster&display=swap');

body {
    font-family: 'Creepster', cursive;
    margin: 0;
    padding: 0;
    background-color: #1a1a1a;
    color: white;
    text-align: center;
}

header {
    background-color: #333;
    padding: 1em 0;
}

nav ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
}

nav li {
    margin: 0 1em;
}

nav a,
a {
    color: #ffcc00;
    text-decoration: none;
    font-size: 1.2em;
}

nav a:hover,
a:hover {
    color: #ffd700;
    text-decoration: underline;
}

.banner {
    background: url('tsunami-warning-2025.jpg') no-repeat center center;
    background-size: cover;
    height: 300px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-shadow: 2px 2px 4px #000000;
    animation: fadeIn 3s;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

section {
    padding: 2em;
    margin: 1em 0;
    border: 1px solid orange;
    border-radius: 10px;
    background-color: #262626;
}

h1, h2 {
    color: red;
    text-shadow: 2px 2px 4px #000000;
}

p, li {
    color: white;
}

.gallery {
    background: #262626;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin: 0 auto;
    max-width: 500px;
}

footer {
    background-color: #333;
    color: orange;
    text-align: center;
    padding: 1em 0;
    margin-top: 2em;
    clear: both;
}

form {
    max-width: 600px;
    margin: 0 auto;
    padding: 1em;
    background-color: #333;
    border-radius: 10px;
}

form label {
    display: block;
    margin: 0.5em 0;
    color: orange;
}

form input, form textarea, form button {
    width: 100%;
    padding: 0.5em;
    margin: 0.5em 0;
    border: 1px solid orange;
    border-radius: 5px;
    background-color: #444;
    color: white;
    font-family: 'Creepster', cursive;
}

form input:focus, form textarea:focus {
    border-color: red;
    outline: none;
}

form button {
    background-color: orange;
    color: black;
    cursor: pointer;
}

form button:hover {
    background-color: red;
    color: white;
}

@media (max-width: 768px) {
    nav ul {
        flex-direction: column;
    }

    .banner {
        height: 200px;
    }

    section {
        padding: 1em;
    }

    form {
        padding: 0.5em;
    }

}

.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 {
    background-color: #333;
    margin: auto;
    padding: 20px;
    border: 1px solid orange;
    width: 80%;
    max-width: 600px;
    border-radius: 10px;
    position: relative;
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: red;
    text-decoration: none;
    cursor: pointer;
}

.player-container {
    width: 90%;
    max-width: 800px;
    aspect-ratio: 16 / 9;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

iframe {
    width: 100%;
    height: 100%;
    border: none;
}

#video {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 2em;
    margin: 1em 0;
    border: 2px solid #b22234;
    border-radius: 10px;
    background-color: #ffffff;
}