*,
*::before,
*::after {
    box-sizing: border-box;
}

*,
*::before,
*::after {
  margin: 0;
padding: 0;
}

a {
    color: #fff;
    text-decoration: none;
}

img {
    max-width: 100%;
}

:root {
    margin: 0;
    padding: 0;
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    ;
}

body {
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    margin: 0 auto;
    font-size: 1.2rem;
    max-width: 1200px;
}

.header {
    background-color: rgb(106, 126, 212);
    background-image: url(./volcano-images/arenal-volcano-eruption-2003.jpg);
    background-position: center;
    /* Center the image */
    background-repeat: no-repeat;
    /* Do not repeat the image */
    background-size: cover;
    /* Resize the background image to cover the entire container */
    min-height: 350px;
    height: 40vh;
    max-width: 1200px;
    margin: 0 auto;
}

.title {
    padding: 8rem 0rem 0rem 4rem;
    margin: 0 auto;
    color: #fff;
    text-align: center;
    font-size: 3em;
    -webkit-text-stroke: 1px #000;
   
}

.main {
    background-color: rgb(106, 126, 212);
    ;
}

.nav-toggle {
    display: flex;
    position: absolute;
    left: 8rem;
    top: 6rem;
    width: 2.2rem;
    height: 2.2rem;
    border-radius: 10px;
    background-color: rgb(250, 244, 244);
}

.nav-img {
    padding: .2rem;
    align-self: center;
    margin: 0 auto;
}

.nav {
    width: 100%;
    margin: 0 auto;
    background-color: rgb(182, 0, 0);
    display: flex;
    position: relative;
}

.nav__list {
    font-size: 1rem;
}

.nav-hidden {
    display: none;
}

.visible {
    display: block;
}

.hidden {
    display: none;
}

.nav-mobile {
    display: flex;
    flex-direction: column;
    list-style: none;
    gap: 2px;
    position: absolute;
    top: 7rem;
    padding: 0;
    left: 1rem;
}

.nav__item {
    padding: .4rem;
    background-color: rgb(45, 156, 110);
    opacity: .9;
    text-align: center;
    width: auto;
}

.nav__link {
    text-decoration: none;
    color: #fff;
    font-weight: 200;
    letter-spacing: .1rem;
}

.flex-col {
    display: flex;
    flex-direction: column;
}

.container {
    max-width: 95%;
    margin: 0 auto 20px auto;
}

.flex {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
}

.pic-link {
    max-width: 270px;
}

.caption {
    max-width: 270px;
    padding-top: 1rem;
    ;
    text-decoration: none;
    cursor: pointer;
    color: inherit;
    color: #fff;
    /* margin-right: 2rem; */
    flex: 1 1 0;
    text-align: center;
   
    
}


.line-up {
    align-self: center;
    justify-self: center;
    margin: 0 auto;
}

.unit {
    margin: 1rem;
    flex: 1 1 0;
    align-self: center;
    align-items: center;;
    justify-items: center;
}

.nav-img:hover,
.nav__item:hover,
.nav__item:focus-visible,
.nav-toggle:hover,
.nav-toggle:focus-visible {
    opacity: .75;
    background-color: aquamarine;
}

@media screen and (min-width: 800px) {
    .nav {
        width: 100%;
        margin: 0 auto;
        background-color: rgb(182, 0, 0);
        display: flex;
        position: fixed;
    }
    .flex {
        flex-direction: row;
    }

.container {
    max-width: 95%;
    margin: 0 auto;
}

.title {
 font-size: 6em;
    -webkit-text-stroke: 2px #000;
    margin: 0 auto;

}

.pic-link {
max-width: 95%;
min-width: 200px;
};

.unit {
    margin: 2rem;
    flex: 1 1 300px;
    align-self: center;
    justify-items: center;
}
    .nav-img {
        display: none;
    }
    .nav-toggle {
        display: none;
    }
    .nav-hidden {
        display: flex;
        flex-direction: row;
        list-style: none;
        gap: 2px;
        position: absolute;
        top: 0;
        padding: 0;
        left: 0.5rem;
    }
    .nav__item {
        padding: .4rem;
        background-color: rgb(100, 223, 169);
        opacity: .9;
        min-width: 12rem;
        text-align: center;
        font-size: 1.2rem;
    }
}

@media screen and (min-width: 1000px) {


.pic-link {
max-width: 100%;

};






}