html {
    box-sizing: border-box;
    font-size: 62.5%;
    scroll-behavior: smooth;
}

*,
*:before,
*:after {
    box-sizing: inherit;
}

body {
    font-family: 'Overpass', sans-serif;
    font-size: 1.6rem;
    line-height: 2;
    background-color: #CFCFCF;
    overflow-x: hidden;
    margin: 0;
}

:root {
    --color-1: #254E70;
    --color-2: #8EE3EF;
    --color-3: #37718E;

    --color-2-hover: #74bdc7;
    --color-3-hover: #2c576d;

    --text-white: #fff;
    --text-black: #1b1b1b;
}

ul {
    list-style: none;
    padding: 0;
}

button,
input,
textarea {
    outline: none;
}

.titulo {
    padding-top: 2.5rem;
    color: var(--color-2);
}

/*=============================================
Scroll Bar
=============================================*/
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #888;
}

::-webkit-scrollbar-thumb:hover {
    background: #555;
}

/*=============================================
Alquila tu cancha
=============================================*/
.alquila-tu-cancha {
    position: fixed;
    height: 85px;
    width: 90px;
    background-color: var(--color-2);
    right: 30px;
    bottom: 30px;
    text-align: center;
    color: var(--text-white);
    z-index: 1000;
    border-radius: 6px;
    border-bottom-width: 2px;
    cursor: pointer;
    pointer-events: auto;
    transition: all 0.3s ease;
}

.alquila-tu-cancha a {
    height: 100%;
    display: flex;
    justify-content: center;
}

.alquila-tu-cancha a img {
    width: 85%;
    display: flex;
    object-fit: contain;
}

@media (max-width: 768px) {
    .alquila-tu-cancha {
        right: 15px;
        bottom: 15px;
        height: 45px;
        width: 50px;
    }
}

.alquila-tu-cancha:hover {
    filter: brightness(90%);
}

/*=============================================
Header
=============================================*/
.header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 100px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    transition: .5s;
}

.header.sticky {
    position: fixed;
    transition: .5s ease-in;
    padding: 15px 140px;
    background-color: var(--color-1);
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {

    .header {
        padding: 15px 70px;
    }

    .header.sticky {
        padding: 15px 80px;
    }
}

.header .logo {
    position: relative;
    font-size: 28px;
    color: #fff;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 700;
    opacity: 0;
    animation: slideLeft 0.5s ease-in-out forwards;
}

.header .toggle {
    position: relative;
    width: 30px;
    height: 30px;
    background: url(../img/menu-white.png);
    background-size: 30px;
    background-position: center;
    background-repeat: no-repeat;
    cursor: pointer;
    z-index: 10000;
    opacity: 0;
    animation: slideDown 0.5s ease-in-out forwards;
    animation-delay: 0.5s;
}

.header .toggle.active {
    background: url(../img/close-white.png);
    background-size: 25px;
    background-position: center;
    background-repeat: no-repeat;
}

@media (max-width: 1000px) {

    .header .toggle.active {
        background: url(../img/close.png);
        position: fixed;
        background-size: 25px;
        background-position: center;
        background-repeat: no-repeat;
    }
}

.wrapper {
    background-color: #000;
    height: 100vh;
    width: 100%;
}

.banner {
    position: relative;
    height: 100%;
    width: 100%;
    background: url(../img/img2.png) no-repeat;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    -webkit-filter: brightness(.7);
    filter: brightness(.7);
}

@media (min-width: 900px) {
    .banner {
        position: relative;
        height: 100%;
        width: 100%;
        background: url(../img/header.png) no-repeat;
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
        -webkit-filter: brightness(.7);
        filter: brightness(.7);
    }
}

.shadow {
    display: block;
    position: absolute;
    left: 0;
    bottom: 0;
    height: 10rem;
    width: 100%;
    left: 0;
    z-index: 1;
    background: linear-gradient(to top, #151515, transparent);
}

.banner-text {
    position: relative;
    text-align: center;
    padding-top: 7rem;
    color: var(--text-white);
    z-index: 9;
    display: none;
}

@media (max-width: 900px) {

    .banner-text {
        display: flex;
        justify-content: center;
        flex-direction: column;
        align-items: center;
        height: 100vh;
        padding: 0;
    }
}

.banner-text h1 {
    font-weight: 400;
    color: var(--text-white);
}

@media (max-width: 400px) {
    .banner-text h1 {
        font-size: 5.3rem;
    }
}

.banner-text img {
    width: 40%;
    animation: slideDown 1s ease-in-out forwards;
    animation-delay: 1s;
    object-fit: contain;
}

.intro-slide {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #ffffff30;
    z-index: 99;
}

/** Redes **/
.redesH {
    position: relative;
    background-position: center;
    background-repeat: no-repeat;
    animation: slideLeft 0.5s ease-in-out forwards;
    animation-delay: 0.5s;
    cursor: pointer;
}

@media (min-width: 1000px) {
    .redesH {
        margin-left: 7rem;
    }
}

.icon-s {
    color: #fff;
    font-size: 2.8rem;
    margin-right: .8rem;
    z-index: 3;
    transition: .5s;
    font-weight: 400;
}

.icon-s:hover {
    color: #666;
    transition: .7s;
}

@media (min-width: 1000px) {
    .icon-s {
        font-size: 3.5rem;
    }
}

/** Nav **/
.nav {
    position: absolute;
    display: flex;
    right: 150px;
    opacity: 0;
    visibility: hidden;
    transition: 0.5s;
    padding-right: 7rem;
}

@media (max-width: 1000px) {
    .nav {
        position: fixed;
        top: -17px;
        left: 0;
        width: 100%;
        height: 100%;
        background: #fff;
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
        padding-right: 0;
    }
}

.nav.active {
    opacity: 1;
    visibility: visible;
}

.nav li {
    list-style: none;
}

.nav li a {
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    margin: 0 20px;
    font-weight: 400;
    display: inline-block;
    opacity: 0;
}

@media (max-width: 1000px) {
    .nav li a {
        color: #000;
    }
}

.nav.active li a {
    animation: slideRight 0.5s ease-in-out forwards;
    animation-delay: calc(0.2s * var(--i));
}

.nav li a:hover {
    color: var(--color-2);
    transition: .7s;
}

@media (max-width: 768px) {
    .nav.active li a {
        margin: 5px 10px;
        display: inline-block;
        letter-spacing: 1px;
        font-size: 20px;
    }
}

/*=============================================
Sobre nosotros
=============================================*/
.sobre-nosotros {
    top: 0;
    right: 0;
    left: 0;
    font-size: 2rem;
    padding: 2rem;
    text-align: center;
    width: 100%;
    background: var(--color-1);
    height: 100%;
    width: 100%;
    margin-bottom: 15rem;
}

.sobre-nosotros p {
    color: var(--text-white);
}

.sobre-nosotros a {
    color: var(--color-2);
    text-decoration: none;
}

.sobre-nosotros a:hover {
    color: var(--color-2-hover);
    transition: .7s;
}

@media (max-width: 375px) {
    .sobre-nosotros h3 {
        font-size: 3.5rem;
    }

    .sobre-nosotros p {
        font-size: 1.8rem;
    }
}

@media (min-width: 375px) {
    .sobre-nosotros h3 {
        font-size: 3.2rem;
    }

    .sobre-nosotros p {
        font-size: 1.9rem;
    }
}

@media (min-width: 1000px) {
    .sobre-nosotros h3 {
        font-size: 2.7rem;
    }

    .sobre-nosotros p {
        font-size: 1.7rem;
        padding: 0 15rem;
    }
}

/*=============================================
Cards
=============================================*/
.container {
    position: relative;
    width: 100%;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10%;
    margin-bottom: 20rem;
}

@media (max-width: 992px) {
    .container {
        flex-direction: column;
        align-items: center;
        margin-bottom: 10rem;
    }
}

.container .card {
    position: relative;
    height: 250px;
    background: #fff;
    display: flex;
    width: 35%;
}

@media (max-width: 992px) {
    .container .card {
        width: 400px;
    }
}

@media (max-width: 768px) {
    .container .card {
        max-width: 300px;
        flex-direction: column;
        height: auto;
    }
}

.container .card .imgBx {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #333;
    z-index: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    transition: 0.5s ease-in-out;
    -webkit-filter: brightness(.6);
    filter: brightness(.6);
}

@media (max-width: 768px) {
    .container .card .imgBx {
        position: relative;
        border: none;
    }
}

.container .card:hover .imgBx {
    width: 150px;
    height: 150px;
    left: -75px;
    top: calc(50% - 75px);
    transition: 1s all;
}

@media (max-width: 768px) {

    .container .card .imgBx,
    .container .card:hover .imgBx {
        width: 100%;
        height: 200px;
        left: 0;
    }
}

.container .card .imgBx::before {
    content: attr(data-text);
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    text-align: center;
    font-size: 4em;
    color: var(--text-white);
    font-weight: 700;
    transition: .3s;
}

.container .card .imgBx img {
    max-width: 150%;
    object-fit: cover;
    transition: 0.5s ease-in-out;
}

.container .card:hover .imgBx img {
    width: 100%;
    height: 100%;
}

.container .card:hover .imgBx::before {
    content: '';
    transition: .1s;
}

@media (max-width: 768px) {

    .container .card .imgBx img,
    .container .card:hover .imgBx img {
        max-width: 170%;
    }
}

.container .card .content {
    position: absolute;
    right: 0;
    width: calc(100% - 75px);
    height: 100%;
    padding: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

@media (max-width: 768px) {
    .container .card .content {
        position: relative;
        width: 100%;
    }
}

.container .card .content h3 {
    margin-bottom: 5px;
    font-size: 24px;
}

@media (min-width: 768px) {
    .container .card .content p {
        font-size: 12.9px;
    }
}

@media (min-width: 1370px) {
    .container .card .content p {
        font-size: 14px;
    }
}

.container .card .content a {
    display: inline-block;
    margin-top: 10px;
    padding: 5px 10px;
    font-weight: 400;
    background: var(--color-1);
    border: 2px solid var(--color-1);
    text-decoration: none;
    color: #fff;
}

.container .card .content a:hover {
    background: #fff;
    color: var(--color-1);
    border: 2px solid var(--color-1);
    transition: .7s ease;
}

/*=============================================
Parallax
=============================================*/
.parallax::before {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
    /* background-attachment: fixed; */
    -webkit-filter: brightness(.5);
    filter: brightness(.5);
}

.frase {
    position: relative;
    height: auto;
}

.frase::before {
    background-image: url(../img/img3.png);
    content: '';
}

ul.textoP {
    position: relative;
    padding: 120px 0;
}

ul.textoP li {
    width: 100%;
    text-align: center;
}

ul.textoP li p {
    color: #ffffff;
    text-transform: uppercase;
    font-size: 5rem;
}

@media (max-width: 768px) {
    ul.textoP li p {
        font-size: 3rem;
    }
}

/*=============================================
Contact
=============================================*/
.form_wrap {
    width: 100%;
    max-width: 1050px;
    height: 100%;
    margin: 15rem auto;
    background: #fff;
    overflow: hidden;
    box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.2);
}

.contact_info::before {
    content: '';
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background: var(--color-1);
    opacity: 0.7;
}

.contact_info {
    width: 100%;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-image: url('../img/img1.png');
    background-size: cover;
    background-position: center center;
    padding: 2rem 0;
}

.info_title,
.info_items {
    position: relative;
    z-index: 2;
    color: var(--text-white);
}

.info_title span {
    font-size: 100px;
    display: block;
    text-align: center;
    margin-bottom: 15px;
}

.info_title h2 {
    font-size: 1.7rem;
    text-align: center;
    color: var(--text-white);
}

@media (min-width: 768px) {
    .info_title h2 {
        font-size: 2.2rem;
    }
}

.info_items p {
    display: flex;
    align-items: center;
    color: var(--text-white);
    font-size: 15px;
    font-weight: 400;
}

.info_items p:nth-child(1) span {
    font-size: 2rem;
    margin: 0px 1rem 0px 0.5rem;
}

.info_items p:nth-child(2) span {
    font-size: 2rem;
    margin: 0px 1rem 0px 0.5rem;
}

.info_items p a {
    color: var(--color-2);
    text-decoration: none;
}

.info_items p a:hover {
    color: var(--color-2-hover);
    transition: .7s;
}

form.form_contact {
    width: 100%;
    padding: 30px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

form.form_contact h2 {
    font-size: 25px;
    font-weight: 600;
    color: var(--text-black);
    margin-bottom: 30px;
}

form.form_contact .user_info {
    display: flex;
    flex-direction: column;
}

form.form_contact label {
    font-weight: 600;
}

form.form_contact input,
form.form_contact textarea {
    width: 100%;
    padding: 8px 0px 5px;
    margin-bottom: 20px;
    border: none;
    border-bottom: 2px solid #D1D1D1;
    color: #5A5A5A;
    font-size: 14px;
    font-weight: 400;
}

form.form_contact textarea {
    max-width: 100%;
    min-width: 100%;
    max-height: 90px;
}

form.form_contact input[type="submit"] {
    width: 100%;
    background: var(--color-3);
    padding: 10px;
    border: none;
    border-radius: 25px;
    align-self: flex-end;
    color: #fff;
    font-size: 15px;
    font-weight: 400;
    cursor: pointer;
    outline: none;
}

form.form_contact input[type="submit"]:hover {
    background: var(--color-3-hover);
    transition: .7s ease;
}

@media (min-width: 600px) {

    .form_wrap {
        display: flex;
    }

    .contact_info {
        width: 50%;
        padding: 0;
    }

    .info_title {
        margin-bottom: 60px;
    }

    form.form_contact {
        width: 65%;
    }
}

/*=============================================
Map
=============================================*/
.map {
    border: none;
    width: 100%;
    height: 250px;
}

/*=============================================
Footer
=============================================*/
.footer_container {
    position: relative;
    left: 0;
    bottom: 0;
    width: 100%;
    background-color: var(--color-1);
    display: flex;
    text-align: center;
    justify-content: center;
    flex-direction: column;
}

.container_content {
    padding: 5px 50px;
}

/*Redes*/
.content .social_network {
    display: flex;
    justify-content: center;
    padding-top: 1rem;
}

.content .social_network ul li {
    list-style: none;
}

.content ul li a {
    position: relative;
    display: block;
    color: #666;
    font-size: 20px;
    height: 40px;
    width: 40px;
    background: #171515;
    line-height: 40px;
    border-radius: 50%;
    margin: 0 8px;
    transition: .5s;
}

.content ul li a:before {
    position: absolute;
    content: '';
    top: 0;
    left: 0;
    height: inherit;
    width: inherit;
    border-radius: 50%;
    transform: scale(.9);
    z-index: -1;
    transition: .2s;
}

.content .instagram li a:before {
    background: var(--text-black);
}

.content .facebook li a:before {
    background: var(--text-black);
}

.content ul li a:hover:before {
    filter: blur(3px);
    transform: scale(1.2);
}

.content .instagram li a:hover:before {
    box-shadow: 0 0 15px var(--text-black);
}

.content .facebook li a:hover:before {
    box-shadow: 0 0 15px var(--text-black);
}

.content .instagram li a:hover {
    color: var(--text-white);
    box-shadow: 0 0 15px var(--text-black);
    text-shadow: 0 0 15px var(--text-black);
}

.content .facebook li a:hover {
    color: var(--text-white);
    box-shadow: 0 0 15px var(--text-black);
    text-shadow: 0 0 15px var(--text-black);
}

/* Copyright */
.copyright {
    padding: 2rem 0;
}

.content .copyright p,
.content .copyright p a {
    font-size: 13.7px;
    word-spacing: 3px;
    text-decoration: none;
    color: var(--text-white);
}

.content .copyright p span {
    color: var(--color-2);
    text-transform: 600;
    font-weight: bold;
}

.content .copyright p a {
    cursor: pointer;
}

.content .copyright p span:hover {
    color: var(--color-2-hover);
    transition: .7s ease-in-out;
}

/*=============================================
Animations
=============================================*/
@keyframes slideRight {
    0% {
        transform: translateX(150px);
        opacity: 0;
    }

    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideLeft {
    0% {
        transform: translateX(-150px);
        opacity: 0;
    }

    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideDown {
    0% {
        transform: translateY(150px);
        opacity: 0;
    }

    100% {
        transform: translateY(0);
        opacity: 1;
    }
}