@charset "UTF-8";

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    background-color: #f0f9ff;
}

quote {
    display: block;
    /* Makes it behave like a box instead of inlne txt */
    padding: 20px;
    /* Adds space inside the box */
    font-family: Georgia, 'Times New Roman', Times, serif;
    /* Set your preferred font */
    font-size: 1.25rem;
    /* Adjusts the size (approx 20px) */
    line-height: 1.6;
    /*Improves readability */
    color: #333333;
    /* Set your preferred color */
    background-color: #F8E9DA;
    /* Set your referred color */
    border-left: 5px solid #22277A;
    border-right: 5px solid #22277A;
    /* Adds a decorative side bar - Set your preferred color */
    margin: 20px 0;
    /*Adds space above and below the quote */
}

h1 {
    font-family: Georgia, 'Times New Roman', Times, serif;
    margin: 20px 50px 0;
    text-align: center;
    color: #22277A;
    /* Copy the font-family from your comment in the template and paste it here. DO NOT paste it as a comment */
}

.intro-content {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin: 50px;
}

.map-image {
    width: 500px;
    height: auto;
    border: 2px solid grey;
    border-radius: 20px;
}

.intro-content p {
    width: 50%;
    line-height: 1.6;
    font-size: 1.2em;
}

.definition {
    max-width: 2000px;
    margin: 0 auto;
    text-align: left;
}

.cities {
    margin: 50px;
}

dl {
    margin-top: 20px;
}

dt {
    font-weight: bold;
    margin-top: 15px;
}

dd {
    margin-left: 20px;
    margin-bottom: 10px;
}

header img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

nav {
    background-color: #22277A;
    /* Set your preferred color */
    padding: 15px;
    text-align: center;
    font-weight: bold;
}

nav a {
    color: white;
    /* Set your preferred color */
    text-decoration: none;
    margin: 15px;
    font-weight: bold;
}

nav a:hover {
    color: #d4e4ff;
    /* Set your preferred color */
}

aside {
    margin: 50px;
    font-size: 1.5em;
}

article.layout {
    padding: 30px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

article.gallery {
    padding: 30px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

/* NEW contaier for image + txt */
.image-container {
    position: relative;
}

.image-container img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border: 4px solid #0038b8;
    /* Set your preferred color */
    display: block;
}

/* Text overlay */
.image-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    /* Set your preferred color */
    font-size: 3em;
    font-weight: bold;
    z-index: 2;
    background-color: rgb(171, 173, 176, 0.299);
    /* Set your preferred color */
    padding: 10px 20px;
    border-radius: 25px;
    border: 2px solid grey;
    /* Set your preferred color */
}

.image-container img:hover {
    transform: scale(1.05);
    transition: 0.3s;
}

footer {
    background-color: #0038b8;
    /* Set your preferred color */
    color: white;
    /* Set your preferred color */
    text-align: center;
    padding: 20px;
}