/* Base styles for the entire document */
body {
    font-family: Arial, sans-serif; /* Set font family */
    margin: 0; /* Remove default margin */
    padding: 0; /* Remove default padding */
    box-sizing: border-box; /* Apply box-sizing border-box */
    background-color: #f0f4f8; /* Light background color */
    color: #333; /* Dark text color */
}

/* Vision statement styles */
.vision-statement {
    background-color: #ffffff; /* White background */
    padding: 10px; /* Padding */
    text-align: center; /* Center text */
    margin-bottom: 5px; /* Bottom margin */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Subtle shadow */
}

.vision-statement h1 {
    font-size: 15px; /* Font size */
    margin-bottom: 10px; /* Bottom margin */
}

.vision-statement p {
    font-size: 20px; /* Font size */
    line-height: 1.5; /* Line height */
}

/* Header styles */
header {
    background-color: #4CAF50; /* Green header background */
    color: white; /* Header text color */
    text-align: center; /* Center text */
    padding: 10px 0; /* Padding */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Subtle shadow */
    position: sticky; /* Sticky position */
    width: 100%; /* Full width */
}

h1 {
    font-size: 2em; /* Font size */
    margin: 0.67em 0; /* Top and bottom margin */
}

section {
    padding: 10px; /* Padding */
    text-align: center; /* Center text */
}

.dotted-line {
    border-top: 2px dotted #333; /* Dotted line */
    margin: 20px 0; /* Top and bottom margin */
}

/* Table styles */
table {
    width: 100%; /* Full width */
    border-collapse: collapse; /* Remove spacing between cells */
    margin-bottom: 20px; /* Bottom margin */
    border: 2px double #333; /* Double border */
}

th, td {
    border: 1px solid black; /* Cell border */
    padding: 8px; /* Padding */
    text-align: left; /* Left-align text */
}

/* Mailchimp */
#newsletter-subscribe {
    margin: 20px 0; /* Top and bottom margin */
}

/* Placeholder styles */
#nav-placeholder, #footer-placeholder {
    width: 100%; /* Full width */
    background-color: #f0f4f8; /* Light background */
}

/* General Styles for the content */
.content {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    padding: 10px;
}

.countries-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 5px;
    width: 100%;
    max-width: 1200px;
    box-sizing: border-box;
}

.country-box {
    padding: 10px;
    border-radius: 20px;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.country-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 20px rgba(91, 84, 233, 0.2);
}

.overlay {
    text-align: center;
    font-size: 1em;
    margin-bottom: 10px;
}

.flag {
    font-size: 2rem;
    margin-bottom: 10px;
}

/* Media Queries for Responsive Design */
@media (min-width: 320px) {
    .country-box {
        padding: 10px;
    }
    .flag {
        font-size: 2rem;
    }
}

@media (min-width: 480px) {
    .country-box {
        padding: 10px;
    }
    .flag {
        font-size: 2.5rem;
    }
}

@media (min-width: 768px) {
    .country-box {
        padding: 10px;
    }
    .flag {
        font-size: 3rem;
    }
}

@media (min-width: 1024px) {
    .country-box {
        padding: 10px;
    }
    .flag {
        font-size: 3.5rem;
    }
}

@media (min-width: 1200px) {
    .country-box {
        padding: 10px;
    }
    .flag {
        font-size: 4rem;
    }
}

.city-link {
    background: linear-gradient(135deg, #87cefa, #1e90ff);
    border: 1.5px solid #1e90ff;
    color: white;
    padding: 5px 10px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.5px;
    margin: 2px 0;
    cursor: pointer;
    border-radius: 10px;
    transition: background-color 0.2s ease, border-color 0.2s ease;
    width: 100%;
}

.city-link:hover {
    background-color: #87ceeb;
    border-color: #0000cd;
    box-shadow: 0px 20px 20px rgb(97, 0, 177);
}
