* {

    box-sizing: border-box;
    padding: 0;
    margin: 0;
    font-family: futura-pt, sans-serif;
}



p {
    font-weight: 400;
    font-style: normal;
    font-size: 12pt;
    line-height: 1.3rem;
    color: #96a09f;
    width: 80%;
    margin: 0 auto;
    padding: 0.5rem 0;
}

nav {
    display: flex;
    flex-direction: column;
    color: #384643;
    position: sticky;
    top: 0;
    background-color: white;
    z-index: 2;
}

#barratop {
    background-color: white;
    height: 8vh;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom-style: solid;
    border-bottom-width: thin;
    border-bottom-color: #384643;
}

#barratop > h2 {
    margin: auto;
    width: 100%;
    text-align: center;
    position: absolute;
    font-weight: 100;
}

#iconomenu {
    z-index: 1;
    padding: 0.5rem;
    cursor: pointer;
}


#iconomenu i {
    font-size: 20pt;
    color: #96a09f;
}

#iconomenu button {
    background-color: white;
    border-style: none;
}

#iconostop {
    display: flex;
    z-index: 1;
    max-height: 100%;
    justify-content: space-around;
    align-content: center;
    align-items: center;
}

#iconostop > a {
    height: 100%;
    width: 100%;
    display: flex;
    margin: 0.3rem;
    text-decoration: none;
    color: #96a09f;
}

#iconostop > a > i {
    font-size: 1.5rem;
}

#menu > ul {
    margin: auto;
    width: 100%;
    height: 92vh;
    position: absolute;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
}

#menu > ul > li {
    padding: 1rem;
}

#menu > ul > li > a {
    text-decoration: none;
    color: white;
    font-size: 24pt;
}

#menu > ul > li > a:hover {
    text-decoration: underline;
}

#particles-js {
    background-color: #384643;
    height: 92vh;
    z-index: 1;
}

header {
    height: calc(100vh - 3rem);
    background-image: url(../img/historia.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-position: center;
    display: flex;
    flex-direction: column;
    margin-bottom: 1rem;
}

header > p {
    color: white;
    text-align: right;
    padding: 1rem;
    width: 75%;
    margin: auto;
    margin-right: 0;
    margin-bottom: 0;
}

#flecha {
    text-align: center;
    height: 10vh;
    display: flex;
    align-items: center;
    text-decoration: none;
}

#flecha > i {
    margin: 0 auto;
    font-size: 20pt;
    color: white;
    animation-name: flecha;
    animation-duration: 0.5s;
    animation-iteration-count: infinite;
    animation-direction: alternate;
    animation-timing-function: ease-in-out;
}

@keyframes flecha {

    from {
        margin-bottom: 0;
    }

    to {
        margin-bottom: 0.5rem;
    }

}

main {
    display: flex;
    flex-direction: column;
}

main > h1 {
    font-weight: 400;
    font-size: 20pt;
    text-align: center;
    margin-top: 1rem;
}

.main-carousel {
    height: 35vh;
    padding: 1rem;
}

.carousel-cell {
    height: 100%;
    width: 100%;
    object-fit: cover;
}

main > figure {
    height: 35vh;
    width: 90%;
    overflow: hidden;
    margin: 1rem auto;
}

main > figure > img {
    height: 100%;
    width: 100%;
    object-fit: cover;
}

main > a {
    text-decoration: none;
    color: #384643;
    margin: auto;

}

#joseparra {
    width: 80%;
}

#joseparra > a > img {
    height: 100%;
    width: 100%;
    object-fit: contain;
}

figcaption {
    display: flex;
}

figcaption > a {
    margin: auto;
    color: #384643;
    text-decoration: none;
}

figcaption > a:hover {
    text-decoration: underline;
}

#volver {
    display: flex;
    margin: 1rem;
}

#volver > a {
    margin: auto;
    font-size: 12pt;
    color: #8FADBF;
}

footer {
    display: flex;
    border-top-style: solid;
    border-top-color: #8FADBF;
    border-top-width: thin;
    padding: 0.3rem;
    justify-content: center;
    height: 3rem;
    align-items: center;
}

footer > a {
    font-size: 12pt;
    text-decoration: none;
    color: #96a09f;
}

@media(min-width: 600px) {

    main > h1 {
        font-size: 26pt;
    }

    main > p {
        width: 66%;
        font-size: 16pt;
        font-weight: 100;
        line-height: 1.5rem;
    }

    main > figure {
        width: 66%;
        height: 40vh;
    }

    .main-carousel {
        height: 75vh;
        width: 66%;
        margin: auto;
    }

    .carousel-cell {
        height: 100%;
        width: 100%;
        object-fit: cover;
    }

}