@charset "UTF-8";

body {
    margin: 0;
    font-family: Arial, sans-serif;
    background-color: #f0f8ff;
}

quote {
    display: block;
    padding: 20px;
    font-family: Georgia, serif;
    font-size: 1.5rem;
    line-height: 1.6;
    color: #333;
    background-color:  #007bff;
    border-left: 5px solid white ;
    margin: 20px 0;
}

h1 {
    font-family: 'Times New Roman', Times, serif;
}

header img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

nav {
    color: grey;
    padding: 15px;
    text-align: center;
}

nav a {
    color: blue;
    text-decoration: none;
    margin: 15px;
    font-weight: bold;
}

nav a:hover {
    color: #007bff;
}

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;
}

.image-container {
    position: relative;
}

.image-container img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border: 4px solid #0038b8;
    display: block;
}

.image-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 3em;
    font-weight: bold;
    z-index: 2;
    background-color: rgba(171, 173, 176, 0.2999);
    padding: 10px 20px;
    border-radius: 25px;
    border: 2px solid grey;
}

.image-container img:hover {
    transform: scale(1.05);
    transition: 0.3s;
}

footer {
    background-color: #0038b8;
    color: white;
    text-align: center;
    padding: 20px;
}

