:root {
    --celeste: rgba(27, 192, 207, 1);
    --turquesa: #5dc1b9;
}

* {
    box-sizing: border-box
}

body,
html {
    max-width: 100%;
}

html {
    font-size: 62.5%;
    scroll-behavior: smooth;
}

body {
    font-size: 1.8rem;
    font-family: "Pontano Sans", sans-serif;
}

h1 {
    font-size: 7.5rem;
    color: whitesmoke;
}

h1,
h2,
h3 {
    font-family: 'Montserrat', sans-serif;
}

h2,
h3 {
    text-align: center;
}

h2 {
    font-size: 3.5rem;
    padding-top: 8rem;
    margin-top: 0;
}

h3 {
    font-size: 1.8rem;
}

p {
    font-family: "Pontano Sans", sans-serif;
}

section {
    margin-bottom: 8rem;
}


/*Hero*/

.hero-container {
    height: 30rem;
    background-image: url("../img/header.jpg");
    background-position-x: center;
    background-position-y: 60%;
    background-size: cover;
}

.header-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 90%;
    margin: 0 auto
}

.logo-container img {
    height: 30rem;
}

.name-container {
    text-align: right;
    width: 60%;
    text-shadow: 3px 2px 3px #666;
}

.name-container h1 {
    margin: 0;
}

.name-container p {
    text-align: right;
    color: white;
    text-shadow: 3px 2px 3px #666;
    font-size: 2.5rem;
    margin: 0 .5rem 0 0;
}


/*Nav menu*/

.navmenu-header {
    height: 6rem;
    background-color: var(--celeste);
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    transition: all 0.5s ease-in-out;
}

.navmenu-header a {
    color: white;
    text-decoration: none;
    font-size: 2.5rem;
    font-family: "Pontano Sans", sans-serif;
    font-weight: bold;
    padding-right: 2rem;
    padding-left: 2rem;
    text-align: center;
    width: 30%;
}

.navmenu-header i {
    color: white;
    font-size: 2rem;
}

.navmenu-header a:hover {
    color: #222;
    height: 100%;
    display: flex;
    align-items: center;
    text-align: center;
    justify-content: center;
    transition: all 0.5s ease-in-out;
}

.division {
    width: .5rem;
    background-color: white;
    height: 100%;
}


/* Page content */

.content {
    padding: 1.6rem;
}


/* The sticky class is added to the navbar with JS when it reaches its scroll position */

.sticky {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 99;
    transition: all 0.5s ease-in-out;
    background-color: #222;
}

.sticky a:hover {
    color: var(--celeste);
}

.sticky-add {
    height: 0;
    transition: 1s ease-in-out;
}


/*Article section*/

.article-section {
    max-width: 80%;
    margin: 0 auto;
}

.article-section h2 {
    text-align: center;
    margin-bottom: 4rem;
}

.fix-height {
    height: 5rem;
}

.fix-height-nav {
    margin-bottom: 10vh;
}

.article-group {
    display: flex;
    justify-content: space-evenly;
}

.article-item {
    width: 22%;
}

.article-item i {
    display: block;
    text-align: center;
    font-size: 6rem;
    color: var(--turquesa);
}

.article-item h3 {
    text-align: center;
}

.article-item p {
    text-align: justify;
}

/* Nosotros container */
.nosotros-container{
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: center;
    margin-bottom: 3rem;
}

.nosotros-object{
    width: 80%;
    text-align: justify;
}
.nosotros-object h3{
    color: var(--celeste);
}

.container-link{
    display: block;
    text-align: center;
    padding: 2rem;
    background-color: #222;
    width: 60%;
    margin: 0 auto;
  
}
.link_descarga{
    text-decoration: unset;
    color: white;
}

.link_descarga:hover{
    color: var(--celeste);
    transition: all 0.5s ease-in-out;
}

/* Slideshow container */

.slideshow-container {
    max-width: 1000px;
    position: relative;
    margin: auto;
}


/* Hide the images by default */

.mySlides {
    display: none;
}

.mySlides img {
    border: 5px solid var(--turquesa);
    border-radius: 0 0 15px 15px;
}


/* Next & previous buttons */

.prev,
.next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    margin-top: -22px;
    padding: 16px;
    color: white;
    font-weight: bold;
    font-size: 6rem;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
    background-color: rgba(0, 0, 0, .5);
}


/* Position the "next button" to the right */

.next {
    right: 0;
    border-radius: 3px 0 0 3px;
}


/* On hover, add a black background color with a little bit see-through */

.prev:hover,
.next:hover {
    background-color: rgba(0, 0, 0, 0.8);
}


/* Caption text */

.text {
    color: #f2f2f2;
    background-color: rgba(0, 0, 0, 0.6);
    border-radius: 0 0 15px 15px;
    font-size: 3rem;
    font-family: "Pontano Sans", sans-serif;
    padding: 8px 12px;
    position: absolute;
    bottom: 4px;
    width: 100%;
    text-align: center;
}


/* The dots/bullets/indicators */

.dot {
    cursor: pointer;
    height: 15px;
    width: 15px;
    margin: 0 2px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.6s ease;
}

.active,
.dot:hover {
    background-color: #717171;
}


/* Fading animation */

.fade {
    -webkit-animation-name: fade;
    -webkit-animation-duration: 1.5s;
    animation-name: fade;
    animation-duration: 1.5s;
}

@-webkit-keyframes fade {
    from {
        opacity: .4
    }
    to {
        opacity: 1
    }
}

@keyframes fade {
    from {
        opacity: .4
    }
    to {
        opacity: 1
    }
}


/*Formulario de contacto*/

.contact-container {
    max-width: 1200px;
    margin: 0 auto;
}

.contact-form {
    display: flex;
    flex-direction: column;
    width: 85%;
    margin: 0 auto;
}

.contact-form-item {
    margin: .5rem;
    height: 4rem;
    border: unset;
    color: black;
    background-color: var(--turquesa);
    border-radius: 5px;
    padding: 1rem;
}

.contact-form textarea {
    height: 10rem;
}

.button {
    width: 15rem;
    height: 4rem;
    text-align: center;
    margin: 0 auto;
    margin-top: 2rem;
    background-color: #666;
    border: unset;
    color: white;
    font-size: 2rem;
    font-weight: bold;
}

.delayMsg {
    width: 100%;
}

.text-center {
    text-align: center;
}

.button-redirect {
    width: 20rem;
    height: 4rem;
    text-align: center;
    margin: 0 auto;
    margin-top: 2rem;
    background-color: #666;
    border: unset;
    color: white;
    font-size: 2rem;
    font-weight: bold;
    display: block;
}


/*Footer container*/

.footer-container {
    display: flex;
    justify-content: space-around;
    background-color: #222;
    align-items: center;
    padding: 3rem;
}

.address {
    width: 30%;
    text-align: center;
    color: white;
}

.address a {
    color: white;
}

@media(max-width:950px) {
    .article-group {
        flex-direction: column;
    }
    .article-item {
        width: 100%;
    }
}

@media(max-width:860px) {
    .hero-container {
        height: 20rem;
        display: flex;
    }
    .header-container {
        align-items: center;
    }
    .logo-container img {
        height: 15rem;
    }
    .name-container h1 {
        font-size: 3.5rem;
        text-align: center;
    }
    .name-container p {
        font-size: 2rem;
        text-align: center;
        margin-top: 1rem;
    }
    .navmenu-header a {
        font-size: 2rem;
        line-height: 1.8rem;
    }
    .address {
        width: 50%;
        text-align: center;
        color: white;
    }
    .sticky+.content {
        padding-top: 20vh;
    }
}

.formulario-enviado h1 {
    font-size: 4rem;
    text-align: center;
    color: #222;
}

.formulario-enviado h2 {
    font-size: 3rem;
    padding: 0;
}