* {

    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.5rem auto;
}

#pantallacarga {
    position: fixed;
    height: 100vh;
    width: 100%;
    background-color: white;
    z-index: 10;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.spinner {
    margin: 100px auto;
    width: 50px;
    height: 40px;
    text-align: center;
    font-size: 10px;
}

.spinner > div {
    background-color: #333;
    height: 100%;
    width: 6px;
    display: inline-block;

    -webkit-animation: sk-stretchdelay 1.2s infinite ease-in-out;
    animation: sk-stretchdelay 1.2s infinite ease-in-out;
}

.spinner .rect2 {
    -webkit-animation-delay: -1.1s;
    animation-delay: -1.1s;
}

.spinner .rect3 {
    -webkit-animation-delay: -1.0s;
    animation-delay: -1.0s;
}

.spinner .rect4 {
    -webkit-animation-delay: -0.9s;
    animation-delay: -0.9s;
}

.spinner .rect5 {
    -webkit-animation-delay: -0.8s;
    animation-delay: -0.8s;
}

@-webkit-keyframes sk-stretchdelay {

    0%,
    40%,
    100% {
        -webkit-transform: scaleY(0.4)
    }

    20% {
        -webkit-transform: scaleY(1.0)
    }
}

@keyframes sk-stretchdelay {

    0%,
    40%,
    100% {
        transform: scaleY(0.4);
        -webkit-transform: scaleY(0.4);
    }

    20% {
        transform: scaleY(1.0);
        -webkit-transform: scaleY(1.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: calc(92vh);
    z-index: 1;
}

header {
    height: 92vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

header h1 {
    font-weight: 400;
    font-size: 20pt;
    text-align: center;
    margin-top: 1rem;
}

header p a {
    font-size: 12pt;
    padding: 0;
    text-decoration: underline;
}

header p a:hover {
    font-weight: 500;
}

header > figure {
    height: 66%;
    overflow: hidden;
    z-index: 1;
}

header > figure > img {
    height: 100%;
    width: 100%;
    object-fit: cover;
}

#puntossuspensivos {
    display: inline;
}

header > div > p > span {
    display: none;
}

main > header > div {
    position: relative;
    top: -100%;
    animation: parrafoinicial;
    animation-duration: 1.5s;
    animation-delay: 3s;
    animation-fill-mode: forwards;
    animation-iteration-count: 1;
    animation-direction: normal;
}

@keyframes parrafoinicial {
    from {
        top: -100%
    }

    to {
        top: 0
    }
}

#flecha {
    text-align: center;
    height: 10vh;
    display: flex;
    align-items: center;
    text-decoration: none;
}

#flecha > i {
    margin: 0 auto;
    font-size: 20pt;
    color: #96a09f;
    animation-name: flecha;
    animation-duration: 1s;
    animation-iteration-count: infinite;
    animation-direction: alternate;
    animation-timing-function: ease-in-out;
}

a {
    text-align: center;
    text-decoration: none;
    color: #8FADBF;
    font-size: 20pt;
    padding: 0.3rem;
    color: #384643;
}

#enlace-colivings{
    text-align: left;
    width: 66%;
    padding: 0;
    margin-top: 1rem;
    font-size: 14pt;
}

a:hover {
    text-decoration: underline;
}


@keyframes flecha {

    from {
        margin-bottom: 0;
    }

    to {
        margin-bottom: 0.5rem;
    }

}

section {
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
}

section h2 {
    font-weight: 400;
    font-size: 20pt;
    text-align: center;
    margin-top: 1rem;
}

section p{
    text-align: left;
}

section a {
    font-weight: 500;
    width: 100%;
    text-align: center;
}

section > figure {
    height: 40vh;
    overflow: hidden;
    margin: 2.5rem 0 1.5rem 0;
    display: flex;
    justify-content: center;
    align-content: center;
    align-items: center;
}

section > figure > iframe{
    margin: auto;
    height: 80%;
    width: 100%;
    object-fit: contain;
}

#primeraseccion {
    margin-top: 0;
}

section > figure > img {
    height: 100%;
    width: 100%;
    object-fit: cover;
}

#volver {
    display: flex;
    margin: 1rem;
    margin-bottom: 0;
}

#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) {

    p {
        width: 60%;
    }

    section > figure {
        height: 50vh;
    }

}

@media(min-width: 1280px) {


    header {
        flex-direction: row-reverse;
    }
    
    main > header > div {
    top: 0;
    left: -100%;
}

@keyframes parrafoinicial {
    
    from {
        left: -100%
    }

    to {
        left: 0%
    }
}

    header > figure {
        width: 50%;
        height: 92vh;
    }

    header > div {
        width: 50%;
        margin: auto;
    }

    header > div > p {
        width: 80%;
    }

    #puntossuspensivos {
        display: none;
    }

    header > div > p > span {
        display: inline;
    }

    section{
        flex-direction: row;
        height: 92vh;
        
    }
    
    section:nth-child(3){
        flex-direction: row-reverse;
    }
    
    section:nth-child(3) figure {
        padding-right: 0;
        padding-left: 1rem;
    }
    
    section a{
        margin: auto;
    }
    
    section > figure{
        height: 80%;
        width: 50%;
        padding-right: 1rem;
    }
    
    section > div{
        margin: auto;
        width: 50%;
        display: flex;
        flex-direction: column;
    }
    
    p{
        width: 66%;
        font-size: 16pt;
        font-weight: 100;
        line-height: 1.5rem;
    }
    
}
