body {
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    font-size: 18px;
    background: var(--dark);
}

header {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-template-rows: 50px 1fr 30px;
}

header a {
    display: flex;
    align-items: center;
    text-decoration: inherit;
    color: inherit;
}

#banner {
    display: flex;
    justify-content: space-between;
    grid-area: 1 / 1 / 2 / 13;
    z-index: 1;
}

#banner-text {
    display: flex;
    justify-self: flex-start;
    font-size: 20px;
    align-items: center;
    color: var(--midLight);
}

#banner-right {
    display: flex;
    justify-self: flex-end;
    align-items: center;
    font-size: 20px;
    padding-right: 10px;
    color: var(--midLight);
}

#logo {
    align-items: center;
    height: 40px;
    margin: 5px 10px 5px 5px;
}

#featured {
    grid-area: 2 / 1 / 3 / 13;
    z-index: 0;
    width: 100%;
    object-fit: scale-down;
    opacity: 0.7;
}

#title-container {
    display: flex;
    grid-area: 2 / 3 / 3 / 11;
    align-items: center;
    justify-content: center;
}

#title-text {
    z-index: 1;
    font-size: 20px;
    text-align: center;
    color: var(--light);
    background: rgba(0, 0, 0, 0.6);
    padding: 10px 40px;
    margin-bottom: 50px;
    border-radius: 80px;
}

#title-line {
    z-index: 1;
    width: 50%;
    color: var(--light);
    margin: auto;
}

#trip-description-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 10px;
    width: 80%;
    margin: 0 auto;
    padding-bottom: 25px;
}

#trip-description {
    display: flex;
    flex-wrap: wrap;
    width: 800px;
    justify-content: center;
    align-items: center;
    flex: 1 1;
    gap: 10px;
    color: var(--light);
}

#trip-description p {
    flex: 3 3;
    max-width: 800px;
    min-width: 250px;
} 

#galleries {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-evenly;
    row-gap: 15px;
    column-gap: 10px;
    max-width: 1000px;
    margin: 0 auto;
}

#galleries a {
    display: flex;
    align-items: center;
    text-decoration: inherit;
    color: inherit;
}

.gallery {
    max-width: 180px;
    padding: 10px 5px 5px 5px;
    background-color: var(--midDark);
    box-shadow: 0 0 5px var(--midLight);
    color: var(--midLight);
    border-radius: 10px;
}
.gallery:hover {
    background-color: black;
    box-shadow: 0 0 15px var(--light);
}

.gallery img {
    width: 100%;
    margin: auto;
    border-radius: 5px;
}

.gallery p {
    text-align: center;
    margin: auto;
}

footer {
    margin-top: 100px;
    padding: 10px;
    text-align: center;
    background-color: var(--light);
    font-size: 12px;
}

@media screen and (min-width: 600px) {
    #galleries {
        row-gap: 25px;
        column-gap: 25px;
    }
    
    .gallery {
        box-shadow: 0 0 10px var(--midLight);
    }

    .gallery:hover {
        box-shadow: 0 0 25px var(--light);
    }
}

@media screen and (min-width: 800px) {
    header {
        grid-template-rows: 100px auto 50px;
    }

    #banner-text {
        font-size: 36px;
    }
    
    #logo {
        height: 80px;
        margin: 10px 20px 10px 10px;
    }

    #featured {
        max-height: 75vh;
        object-fit: contain;
    }

    #title-container {
    grid-area: 2 / 4 / 3 / 10;
    }

    #title-text {
        font-size: 32px;
    }

    #trip-description-container {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
        gap: 10px;
        width: 80%;
        margin: 0 auto;
    }
    
    #trip-description {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        flex: 1 1;
        max-width: 700px;
        gap: 10px;
        color: var(--light);
    }
    
    #trip-description p {
        flex: 3 3;
        max-width: 800px;
        min-width: 300px;
    } 

    .gallery {
        max-width: 210px;
    }

    .gallery img {
        width: 100%;
        max-width: 200px;
    }
}

@media screen and (min-width: 1180px) {
    #trip-description-container {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
        gap: 10px;
        width: 75%;
        max-width: 900px;
        margin: 0 auto;
    }
    
    #trip-description {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        flex: 1 1;
        max-width: 900px;
        gap: 10px;
        color: var(--light);
    }
    
    #trip-description p {
        flex: 3 3;
        max-width: 800px;
        min-width: 300px;
    }    
}