@font-face {
    font-family: 'roboto_condensedbold';
    src: url('../assets/fonts/RobotoCondensed-Bold-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'roboto_condensedregular';
    src: url('../assets/fonts/RobotoCondensed-Regular-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

:root {
    --color-verde: #00652d;
    --color-blanco: #ffffff;
    --color-rojo: #ff120f;
}

*,
*::after,
*::before {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 150px; /* Para evitar que el navbar cubra el contenido al dar clic en una opcion del menu */
}

body {
    font-family: 'roboto_condensedregular';
    font-size: 1.25em;
}

h1, h2, h3 {
    font-family: 'roboto_condensedbold';
}
h1 {
    font-size: 3em;
}
h2 {
    font-size: 2em;
}
h3 {
    font-size: 1.5em;
}
@media screen and (max-width: 768px) {
    h1 {
        font-size: 1.7em;
    }
    h2 {
        font-size: 1.3em;
    }
    h3 {
        font-size: 1em;
    }    
}

a {
    color: var(--color-blanco);
    text-decoration: none;
}

img {
    width: 100%;
}

.form-input {
    font: inherit;
    font-size: 1rem;
    field-sizing: content;
    padding: .75rem;
    margin-bottom: 1rem;
    width: 100%;
    border: 2px solid var(--background);
    border-radius: .5rem;
    outline: none;
    transition: all .3s ease;
    box-shadow: 6px 6px 16px rgb(26, 26, 26, .5);
}

.submit-button {
    padding: .75rem;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 5px;
    outline: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all .3s ease;
    box-shadow: 6px 6px 16px rgb(26, 26, 26, .5);
}

.submit-button:hover,
.submit-button:focus,
.submit-button:active {
    background-color: #0056b3;
}


/*
    Menu principal
*/
.container-header {
    position: relative;
    margin-top: 100px;
}

nav {
    position: fixed;
    z-index: 10;
    left: 0;
    right: 0;
    top: 0;
    padding: 0 5%;
    height: 100px;
    color: var(--color-blanco);
    background-color: var(--color-verde);
    box-shadow: 0px 10px 8px 0px rgba(0, 0, 0, 0.5);
}

nav a {
    transition: all .3s ease-in-out;
}

nav .links a:hover {
    border-bottom: solid 2px var(--color-rojo);
}

nav .logo {
    float: left;
    width: 10%;
    height: 100%;
    display: flex;
    align-items: center;
}

nav .logo img {
    width: fit-content;
}

nav .links {
    float: right;
    padding: 0;
    margin: 0;
    width: 90%;
    height: 100px;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
}

nav .links li {
    list-style: none;
    position: relative;
}

nav .links a {
    font-size: .8em;
    display: block;
    padding: 1em;
    text-transform: uppercase;
}

#nav-toggle {
    position: absolute;
    top: -100px;
}

nav .icon-burger {
    display: none;
    position: absolute;
    right: 5%;
    top: 50%;
    cursor: pointer;
    transform: translateY(-50%);
}

nav .icon-burger .line {
    width: 30px;
    height: 3px;
    background-color: var(--color-blanco);
    margin: 5px;
    border-radius: 5px;
    transition: all .3s ease-in-out;
}

@media screen and (max-width: 768px) {
    nav .logo {
        float: none;
        width: auto;
        justify-content: center;
    }

    nav .logo img {
        max-height: 90px;
    }

    nav .links {
        float: none;
        z-index: 9;
        position: fixed;
        left: 0;
        right: 0;
        top: 100px;
        bottom: 100%;
        width: 100%;
        height: auto;
        flex-direction: column;
        justify-content:space-between;
        background-color: rgba(0, 101, 45, 0.95);
        overflow: hidden;
        transition: all .5s ease-in-out;
    }

    nav .links a {
        font-size: 1.5rem;
    }

    nav :checked ~ .links {
        bottom: 0;
    }

    nav .icon-burger {
        display: block;
    }

    nav :checked ~ .icon-burger .line:nth-child(1) {
        transform: translateY(10px) rotate(225deg);
    }

    nav :checked ~ .icon-burger .line:nth-child(2) {
        opacity: 0;
    }

    nav :checked ~ .icon-burger .line:nth-child(3) {
        transform: translateY(-10px) rotate(-225deg);
    }
}
/*
    Dropdown
*/
ul li ul.dropdown li {
    display: block;
}
ul li ul.dropdown {
    width: 100%;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: rgba(0, 101, 45, 0.95);
    display: none;
    padding: 0;
    margin: 0;
    z-index: 99;
}
ul li:hover ul.dropdown,
ul li:focus ul.dropdown,
ul li:active ul.dropdown {
    display: block;
}
ul li ul.dropdown li {
    display: block;
    padding: 1rem;
    margin: 0;
}


/*
    Ventana modal
*/
#modal {
    /* display: none; */
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 20;
}
#modal .content {
    background: white;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    width: 300px;
}
#modal input, .registro-form input {
    width: 90%;
    padding: 8px;
    margin: 10px 0;
}
/* #modal button {
    padding: 10px 15px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}
#modal button:hover {
    background-color: #0056b3;
} */
#modal p, .registro-form p {
    font-size: .8em;
}
#modal a, .registro-form a {
    font-size: 1em;
    color: var(--color-verde);
}
.bienvenido {
    position: absolute;
    right: 0;
    display: none;
    color: var(--color-blanco);
    padding: 1rem;
}
.bienvenido p {
    font-size: .8em;
}
@media screen and (max-width: 768px) {
    .bienvenido {
        background-color: var(--color-verde);
    }
}

.registro-form {
    background-color: rgba(242, 242, 242, 0.8);
    border-radius: 6px;
    padding: 1rem;
}

.register-success {
    display: none;
    text-align: center;
}
.register-success p {
    margin-top: 1rem;
    color: var(--color-verde);
}
 


/*
    Imagen principal
*/

.hero-image {
    background-color: var(--color-verde);
    background: url(../assets/images/hero-image.jpg) center/cover;
    width: 100%;
    height: calc(100vh + 100px);
}


/*
    Varios
*/
.container {
    width: 100%;
    /* max-width: 1600px; */
    padding: 4rem;
}
@media screen and (max-width: 768px) {
    .container {
        padding: 2rem 1rem;
    }
}
.split-columns {
    display: flex;
    flex-direction: column;
}
@media (min-width: 40em) {
    .split-columns {
        flex-direction: row;
    }

    .split-columns > * {
        flex-basis: 100%;
    }
}

.grid-center {
    display: grid;
    place-items: center;
}

.flex-center {
    display: flex;
    justify-content: center;
    align-items: center;
}

.titulo-principal {
    margin-top: 100px;
}

.header-title {
    /* margin-top: 15vh; */
    color: var(--color-blanco);
}

.negro {
    color: #1a1a1a;
}
.verde {
    color: var(--color-verde);
}

.rojo {
    color: var(--color-rojo);
}

.header-title p {
    font-size: 1.15em;
}

.header-img {
    display: flex;
    justify-content: center;
    align-items: center;
}

.header-img img {
    max-width: 350px;
    filter: drop-shadow(-12px 12px 16px rgba(0,0,0,.8));
    /* animation: updown 2s infinite alternate-reverse;     */
}
@keyframes updown {
    from {
        transform: translateY(35px);
    }
    to {
        transform: translateY(0);
    }
}
@media screen and (max-width: 768px) {
    .header-title {
        margin-top: 10vh;
    }

    .header-img img {
        width: 60%;
    }

    .eventos-der {
        display: none;
    }
}

.btn {
    padding: .8rem 1.2rem;
    margin-top: 1rem;
    color: var(--color-verde);
    border: 2px solid var(--color-verde);
    background-color: var(--color-blanco);
    /* border-radius: 100vmax; */
    border-radius: 3px;
    box-shadow: 6px 6px 16px rgb(26, 26, 26, .5);
    outline: none;
    cursor: pointer;
    font-size: .8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: all .3s ease;  
}

.btn:hover {
    background-color: var(--color-verde);
    color: var(--color-blanco);
}

.btn-principal {
    border: 2px solid var(--color-blanco);
    color: var(--color-blanco);
    background-color: rgba(0, 101, 45, .9);
}
.btn-principal:hover {
    background-color: rgba(0, 101, 45, .5);
}

.bg-title {
	position: relative;
  	z-index: 8;
  	min-width: 50%;
  	display: inline-block;
  	font-weight: 700;
  	color: rgba(0, 0, 0, 1);
  	line-height: 100px;
  	text-transform: uppercase;
  	min-width: 360px;
    margin-bottom: 4rem;
}
.bg-title:before {
    content: attr(data-mask);
    position: absolute;
    top: 50%;
    -webkit-transform: translateY(-50%);
    -moz-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    -o-transform: translateY(-50%);
    transform: translateY(-50%);
    left: -4px;
    z-index: -1;
    font-weight: 600;
    font-size: 70px;
    line-height: 1em;
    color: rgba(0, 101, 45, .3);
    letter-spacing: .08em;
}


.logo-izq, .logo-der {
    padding: 2rem;
}
.logo-izq img, .logo-der img {
    display: block;
    width: 100%;
    max-height: 350px;
    object-fit: contain;
    margin-bottom: 2rem;
}

#eventos {
    padding-bottom: 2rem;
}

.eventos-izq {
    padding-right: 4rem;
}

.eventos-marco {
    position: relative;
    margin: 0rem 2.5rem 2rem 2rem;
    padding: 2rem;
    height: 55vh;
    border: 2px solid var(--color-rojo);
}
.eventos-img {
    position: absolute;
    margin-left: -6rem;
}
.eventos-img img {
    box-shadow: rgba(0, 0, 0, 0.5) 0px 8px 13px;
}

.fecha-limite {
    font-size: .9rem;
    padding-top: 1rem;
}

.accordion {
    font-size: 1rem;
    background-color: var(--color-verde);
    color: var(--color-blanco);
    cursor: pointer;
    padding: 18px;
    width: 100%;
    text-align: left;
    border: none;
    border-bottom: 1px solid var(--color-blanco);
    outline: none;
    transition: 0.4s;
}
.activo, .accordion:hover {
    background-color: rgba(0, 101, 45, .7);
}
.panel {
    padding: 0 1rem;
    background-color: white;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-out;
}
.accordion:after {
    content: '\02795'; /* Simbolo + */
    background-color: var(--color-blanco) !important;
    font-size: 8px;
    float: right;
    margin-left: 5px;
}
.activo:after {
    content: "\2796"; /* Simbolo - */
}


/* 
    Slideshow container
*/
.slideshow-container {
    max-width: 1000px;
    position: relative;
    margin: auto;
}
.slideshow-container img {
    max-height: 350px;
    box-shadow: -20px 20px 0 -17px #fff,
              20px -20px 0 -17px #fff,
              20px 20px 0 -20px var(--color-rojo),
              0 0 0 2px var(--color-rojo);
}

/* Hide the images by default */
.mySlides {
    display: none;
}

/* Next & previous buttons */
.prev, .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    margin-top: -22px;
    padding: .5rem 1rem;
    color: var(--color-blanco);
    background-color: rgba(255, 255, 255, 0.3);
    font-weight: bold;
    font-size: 18px;
    transition: 0.6s ease;
    border-radius: 25px;
    user-select: none;
}

/* Position the "next button" to the right */
.next {
    right: 0;
}

/* On hover, add a black background color with a little bit see-through */
.prev:hover, .next:hover {
    background-color: rgba(255, 255, 255, 0.8);
}

/* Caption text */
.text {
    color: var(--color-verde);
    font-size: 1.5rem;
    padding: 8px 12px;
    position: absolute;
    top: 1rem;
    width: 100%;
    text-align: center;
}

/* The dots/bullets/indicators */
.dot {
    cursor: pointer;
    height: 15px;
    width: 15px;
    margin: 0 2px;
    background-color: var(--color-verde);
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.6s ease;
}

.active, .dot:hover {
    background-color: #717171;
}

/* Fading animation */
.fade {
    animation-name: fade;
    animation-duration: 1.5s;
}

@keyframes fade {
    from {opacity: .4}
    to {opacity: 1}
}


/*
    Area de Pagos
*/
.pagos {
    background-color: #f2f2f2;
}

.pagos-izq, .pagos-der {
    border: 1px solid #999;
    padding: 1rem 2rem;
}
.pagos-izq p, .pagos-der p {
    padding: 1rem 0;
}

.pagos-izq a {
    color: var(--color-verde);
}

.checkout-button {
    height: 36px;
    background: #556cd6;
    color: var(--color-blanco);
    width: 80%;
    font-size: 14px;
    border: 0;
    font-weight: 500;
    cursor: pointer;
    letter-spacing: 0.6;
    border-radius: 25px;
    transition: all 0.2s ease;
    box-shadow: 0px 4px 5.5px 0px rgba(0, 0, 0, 0.07);
    margin-top: 1rem;
}

.checkout-button img {
    margin-right: 10px;
    width: inherit;
}
  
.checkout-button span {
    display: flex;
    align-items: center;
    justify-content: center;
}
  
.checkout-button:hover {
    filter: contrast(115%);
}
.checkout-button:disabled {
    opacity: 0.5;
    cursor: default;
}
#payment-request-button {
    margin-bottom: 32px;
}
.result-message {
    line-height: 22px;
    font-size: 16px;
}
.hidden {
    display: none;
}
#card-error {
    color: rgb(105, 115, 134);
    text-align: left;
    font-size: 13px;
    line-height: 17px;
    margin-top: 12px;
}
/* spinner/processing state, errors */
.spinner,
.spinner:before,
.spinner:after {
    border-radius: 50%;
}
.spinner {
    /* color: #ffffff; */
    font-size: 22px;
    text-indent: -99999px;
    margin: 0px auto;
    position: relative;
    width: 20px;
    height: 20px;
    box-shadow: inset 0 0 0 2px;
    -webkit-transform: translateZ(0);
    -ms-transform: translateZ(0);
    transform: translateZ(0);
}
.spinner:before,
.spinner:after {
    position: absolute;
    content: "";
}
.spinner:before {
    width: 10.4px;
    height: 20.4px;
    background: #5469d4;
    border-radius: 20.4px 0 0 20.4px;
    top: -0.2px;
    left: -0.2px;
    -webkit-transform-origin: 10.4px 10.2px;
    transform-origin: 10.4px 10.2px;
    -webkit-animation: loading 2s infinite ease 1.5s;
    animation: loading 2s infinite ease 1.5s;
}
.spinner:after {
    width: 10.4px;
    height: 10.2px;
    background: #5469d4;
    border-radius: 0 10.2px 10.2px 0;
    top: -0.1px;
    left: 10.2px;
    -webkit-transform-origin: 0px 10.2px;
    transform-origin: 0px 10.2px;
    -webkit-animation: loading 2s infinite ease;
    animation: loading 2s infinite ease;
}
@-webkit-keyframes loading {
    0% {
      -webkit-transform: rotate(0deg);
      transform: rotate(0deg);
    }
    100% {
      -webkit-transform: rotate(360deg);
      transform: rotate(360deg);
    }
}
@keyframes loading {
    0% {
      -webkit-transform: rotate(0deg);
      transform: rotate(0deg);
    }
    100% {
      -webkit-transform: rotate(360deg);
      transform: rotate(360deg);
    }
}

.stripe-form input {
    color: #1a1a1a;
    background-color: #e6e6e6;
    font-family: Helvetica, system-ui, Segoe UI, sans-serif;
    font-size: 16px;
    height: 1.2em;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    margin-bottom: 1rem;
    border: none;
    width: 100%;
    outline: none;
}

.input-container {
    display: flex;
    align-items: center;
    width: 100%;
}

.input-container svg {
    margin-bottom: 1rem;
}

.input-container input {
    padding-left: 10px;
}

.input-container input::placeholder {
    color: "#404040";
}

.result-message {
    color: var(--color-verde);
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 1rem;
}

.section {
    margin-top: 4rem;
}

/*

    Historia
*/
.historia {
    margin-top: 4rem;
}

.img-historia {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-top: 2rem;
}

.img-historia p {
    padding: 1rem 0;
}

.img-historia img {
    max-width: 300px;
    box-shadow: -20px 20px 0 -17px var(--color-blanco),
              20px -20px 0 -17px var(--color-blanco),
              20px 20px 0 -20px var(--color-rojo),
              0 0 0 2px var(--color-rojo);
}

/*

    Objectivos
*/
.objetivos {
    margin-top: 4rem;
}
.objetivo-title {
    font-weight: bolder;
    padding-bottom: 1rem;
}

.objetivos ul {
    list-style-type: "\02043  ";
}


/*
    Area de BLOG
*/
.background-blog {
    background-color: #f2f2f2;
    max-width: 1600px;
}

.gallery {
    display: grid;
    gap: 1rem;
    grid-auto-rows: 25rem;
    grid-template-columns: repeat(auto-fill, minmax(15rem,1fr));
}

.card {
    overflow: hidden;
    background: #fff;
    border-radius: 0.3rem;
    box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2);
    transition: 0.3s; 
}
.card:hover {
    box-shadow: 0 8px 16px 0 rgba(0,0,0,0.2);
}
.card__img {
    height: 165px;
    margin-bottom: 1rem;
}
.card__img img {
    width: 100%;
    height: 165px;
    object-fit: cover;
    object-position: center;
}
.card__title,
.card__fecha,
.card__content,
.card__button {
    padding: 2px 16px;
}
.card__title {
    text-transform: uppercase;
    padding-top: 1rem;
}
.card__fecha {
    font-size: .9rem;
}
.card__fecha img {
    width: 18px;
    height: 18px;
}

.card__content {
    padding-top: 1rem;
    max-height: 70px;
}
.card__content p {
    font-size: 1rem;
    text-align: justify;
}

.card__button {
    padding-top: 2rem;
}
.card__button a {
    font-size: 1rem;
    color: #00652d;
}
.card__button a:hover {
    color: #ccc;
}

#nuestro-blog {
    padding-top: 4rem;
}

.blog__image img {
    max-height: 350px;
}

/*
    Area de Galería de imagenes
*/
.wrap-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    grid-gap: 2rem;
}


/*
    Footer
*/
.footer {
    background-color: var(--color-rojo);
}

.contacto-izq {
    padding: 0 4rem;
}

.contacto-izq a img {
    width: 24px;
    height: 24px;
    margin-right: 1rem;
}

.contacto-izq p {
    padding-bottom: 1rem;
}

.contacto-izq a, .contacto-izq h3 {
    color: var(--color-blanco);
}

.contacto-der {
    color: var(--color-rojo);
    background-color: var(--color-rojo);
    background-image: url(../assets/images/porteria-soccer.png);
    background-size: 100%;
    background-repeat: no-repeat;
    background-position: center;
}
