@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

/*=============== VARIABLES CSS ===============*/
:root {
    /*========== Font and typography ==========*/
    /*.5rem = 8px | 1rem = 16px ...*/
    --body-font: "Montserrat", sans-serif;
    --h1-font-size: 1.5rem;
    --h2-font-size: 1.25rem;
    --h3-font-size: 1rem;
    --normal-font-size: .938rem;

    /*========== Font weight ==========*/
    --font-regular: 400;
    --font-semi-bold: 600;
    --font-bold: 700;
}

html {
    scroll-behavior: smooth;
}

* {
    padding: 0;
    margin: 0;
    font-family: "Montserrat", serif;
}

ul {
    list-style: none;
}

a {
    text-decoration: none;
}

body {
    background-image: url(../img/starlink/v882-kul-67-a.jpg);
    background-attachment: fixed;
    /* Efecto Parallax */
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    width: 100%;
}

header {
    background-image: url(../img/starlink/headerF.webp);
    background-attachment: scroll;
    /* Efecto Parallax */
    background-position: bottom;
    background-repeat: no-repeat;
    background-size: cover;
    width: 100%;
    height: 800px;
}

nav {
    width: 100%;
    display: flex;
    justify-content: space-around;
    padding: 2em 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 999;
    /* Asegura que la barra esté encima de otros elementos */
}

.scrolled {
    background-color: #2B2B2B;
    /* Color al desplazar */
}

nav img {
    width: 120px;
}

nav ul {
    width: 20%;
    display: flex;
    justify-content: space-between;
    font-weight: 700;
    font-size: 1em;
}

nav ul li a {
    color: #ffffff;
}

nav h2 {
    font-size: 1em;
    font-weight: 700;
}

nav h2 a {
    color: #ffffff;
}

header .textH {
    text-align: center;
    color: rgb(255, 255, 255);
    font-size: 2.2em;
    font-weight: 800;
    padding-top: 3em;
}

header .textP {
    text-align: center;
    color: rgb(255, 255, 255);
    font-size: 1em;
    font-weight: 600;
    padding-top: 1em;
}

header .button {
    text-align: center;
    padding: 1em 1.5em;
    background-color: rgb(255, 255, 255);
    width: 100px;
    border-radius: 1em;
    margin-left: 45.5%;
    margin-top: 10em;
}

header .button a {
    color: #2B2B2B;
    font-weight: 700;
}

.nav__link.active-link {
    border-bottom: 2px solid #ffffff;
    border-radius: .1em;
    padding-bottom: 5px;
    transition: border-bottom 0.3s ease-in-out;
}

.toggle {
    display: none;
}

nav ul .movil {
    display: none;
}



/*========== Responsive typography ==========*/
@media screen and (min-width: 1150px) {
    :root {
        --h1-font-size: 2.25rem;
        --h2-font-size: 1.5rem;
        --h3-font-size: 1.25rem;
        --normal-font-size: 1rem;
    }
}

/*=============== CARD ===============*/
.container {
    margin-inline: 1.5rem;
    padding-block: 5rem;
    padding-bottom: 10em;
}

.container__title {
    font-size: 2.5em;
    text-align: center;
    color: rgb(255, 255, 255);
    margin-bottom: 3rem;
    font-weight: 700;
}

.card__container {
    display: grid;
    grid-template-columns: 1fr;
    justify-content: center;
    gap: 2rem;
}

.card__product {
    background-color: #313137;
    box-shadow: hsla(0, 0%, 43%, 0.384) 0px 3px 10px;
    border-radius: 1rem;
    text-align: center;
    display: grid;
    row-gap: 1.5rem;
    cursor: pointer;

}

.card__img {
    width: 100%;
    justify-self: center;
    transition: transform .3s;
    border-radius: 1rem;
}

.card__name {
    font-size: var(--h2-font-size);
    color: rgb(255, 255, 255);
    padding-top: .7rem;
    margin-bottom: .5rem;
    text-align: center;
}

.card__price {
    font-size: var(--h2-font-size);
    font-weight: var(--font-semi-bold);
    background-color: rgb(255, 255, 255);
    display: flex;
    justify-content: center;
    border-radius: .2em;
    padding: .5em 0;
}

.card__price a {
    color: #2B2B2B;
}

.card__product:hover .card__img {
    transform: scale(1.1);
}


.imgS1 {
    background-image: url(../img/starlink/Slider1.jpg);
    background-attachment: fixed;
    /* Efecto Parallax */
    background-position: bottom;
    background-repeat: no-repeat;
    background-size: cover;
    width: 100%;
    height: 700px;
}

.imgS1 .tituloS1 {
    color: #ffffff;
    font-size: 2em;
    text-align: end;
    padding: 2em 8em 0 0;
}

.imgS1 .parrafoS1 {
    color: #ffffff;
    font-size: 1.2em;
    font-weight: 500;
    text-align: end;
    padding: 1em 13em 0 0;
}

.planes {
    width: 100%;
    height: 700px;
}

.planes .tituloP {
    color: #ffffff;
    text-align: center;
    font-size: 2em;
    padding: 5em 0 2em 0;
}

.planes .cards {
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.planes .cards .card {
    width: 300px;
    height: 250px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-around;
    border-style: solid;
    border-radius: 1em;
    margin: 0 2em;
    padding: 1.2em 0;
}

.planes .cards .card h2 {
    font-size: 1.5em;
    font-weight: 800;
    text-align: center;

}

.planes .cards .card p {
    text-align: center;
    margin: 0 2.5em;
}

.planes .cards .card i {
    font-size: 4em;
}

.imgS2 {
    background-image: url(../img/starlink/slider2.webp);
    background-attachment: fixed;
    /* Efecto Parallax */
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    width: 100%;
    height: 700px;
}

.imgS2 .tituloS2 {
    color: #ffffff;
    font-size: 2em;
    text-align: end;
    padding: 2em 8em 0 0;
}

.imgS2 .parrafoS2 {
    color: #ffffff;
    font-size: 1.2em;
    font-weight: 500;
    text-align: end;
    padding: 1em 13em 0 0;
}

.cashwifi {
    color: #ffffff;
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    width: 100%;
    height: 700px;
    padding-bottom: 4em;
}

.cashwifi .titulo {
    text-align: center;
    font-weight: 700;
    font-size: 3em;
    padding-top: 2em;
}

.cashwifi .parrafo {
    width: 50%;
    text-align: center;
    padding-top: 1em;
}

.cashwifi .contE {
    display: flex;
    width: 75%;
    justify-content: center;
    align-items: center;
    padding: 2.5em;
}


.cashwifi .contE .textE {
    display: flex;
    flex-direction: column;
    width: 40%;
}

.cashwifi .contE .textE h3 {
    font-size: 1.8em;
    font-weight: 700;
}


.cashwifi .contE .textE p {
    font-size: 1.1em;
    font-weight: 500;
    padding: 1.5em 2.5em 1.5em 0;
}

.cashwifi .contE .textE li {
    font-size: 1.8em;
    font-weight: 700;
}

.cashwifi .contE .textE .button {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 4rem 0;
}

.cashwifi .contE .textE .button .solicitarI {
    background-color: #ffffff;
    color: #2B2B2B;
    font-weight: 800;
    font-size: 1.2em;
    padding: .5em 1em;
    border-radius: .5em;
}

.cashwifi .contE .imagen {
    width: 30%;
}

.cashwifi .contE .imagen img {
    width: 100%;
    object-fit: cover;
    border-radius: 1.5em;
}

.imgS3 {
    background-image: url(../img/starlink/residential_c_hero_d.webp);
    background-attachment: fixed;
    /* Efecto Parallax */
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    width: 100%;
    height: 700px;
}

.imgS3 .tituloS3 {
    color: #ffffff;
    font-size: 2em;
    text-align: end;
    padding: 2em 8em 0 0;
}

.imgS3 .parrafoS3 {
    color: #ffffff;
    font-size: 1.2em;
    font-weight: 500;
    text-align: end;
    padding: 1em 13em 0 0;
}

.alquilerS {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
    color: #ffffff;
    width: 100%;
    height: 700px;
    padding: 4em 0;
}

.alquilerS h2 {
    font-size: 3em;
    font-weight: 700;
}

.alquilerS P {
    font-size: 1em;
    text-align: center;
    width: 50%;
}

.alquilerS .imagenesE {
    display: flex;

}

.alquilerS .imagenesE .celular {
    width: 150px;
    height: 300px;
    object-fit: cover;
    border-radius: .7em;
    margin: 0 1em;
}

.alquilerS .imagenesE .evento {
    width: 500px;
    height: 300px;
    border-radius: .7em;
    object-fit: cover;
    margin: 0 1em;
}

.alquilerS .button {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 0 3em 0;
}

.alquilerS .button .solicitarI {
    background-color: #ffffff;
    color: #2B2B2B;
    font-weight: 800;
    font-size: 1.2em;
    padding: .5em 1em;
    border-radius: .5em;
}

footer {
    color: #ffffff;
    display: flex;
    justify-content: space-around;
    font-size: .8em;
}

/*=============== PUNTOS DE RUPTURA ===============*/
/* Para dispositivos pequeños */
@media screen and (max-width: 300px) {
    .container {
        margin-inline: 1rem;
    }
}

/* Para dispositivos medianos */
@media screen and (min-width: 540px) {
    .card__container {
        grid-template-columns: 330px;
    }
}

@media screen and (min-width: 768px) {
    .card__container {
        grid-template-columns: repeat(2, 330px);
    }
}

/* Para dispositivos grandes */
@media screen and (min-width: 1150px) {
    .container__title {
        margin-bottom: 4.5rem;
    }

    .card__container {
        grid-template-columns: repeat(4, 250px);
        gap: 3rem;
    }

    .card__product {

        border-width: 6px;
    }

    .card__name,
    .card__price {
        font-size: var(--h3-font-size);
    }
}

@media screen and (max-width: 1200px) {

    header {
        background-position: 60%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    nav {
        width: 100%;
        justify-content: space-around;
        margin: 0;
        padding: 1em 0;
        align-items: center;
    }

    nav .img {
        width: 30%;
    }

    nav img {
        width: 80%;
    }

    nav .links {
        position: absolute;
        top: 60px;
        left: 0;
        background-color: #2B2B2B;
        width: 100%;
        height: 0;
        overflow: hidden;
        transition: height 0.3s ease;
    }

    .toggle {
        display: flex;
        font-size: 1.5em;
        font-weight: 800;
        color: #ffffff;
    }

    nav .compu {
        display: none;
    }

    nav ul .movil {
        display: initial;
    }

    nav ul {
        display: flex;
        flex-direction: column;
        justify-content: space-around;
        padding: 0;
        text-align: center;
    }

    nav ul li a {
        padding: 0;
        margin: 0;
        color: #ffffff;
        font-weight: 700;
        font-size: 15px;
    }

    .links.active {
        height: 320px;
    }

    header .textH {
        font-size: 2em;
    }

    header .textP {
        font-size: 1em;
    }

    header .button {
        margin: 0;
        margin-block: 3em;
    }

    .imgS1 .tituloS1 {
        font-size: 1.5em;
        padding: 5em 0 1em 0;
        text-align: center;
        text-shadow: 1px 1px 2px black;
    }

    .imgS1 .parrafoS1 {
        padding: 0;
        text-align: center;
        font-size: 1.2em;
        text-shadow: 1px 1px 2px black;
    }

    .imgS2 .tituloS2 {
        font-size: 1.5em;
        padding: 5em 0 1em 0;
        text-align: center;
        text-shadow: 1px 1px 2px black;
    }

    .imgS2 .parrafoS2 {
        padding: 0;
        text-align: center;
        font-size: 1.2em;
        text-shadow: 1px 1px 2px black;
    }

    .imgS3 .tituloS3 {
        font-size: 1.5em;
        padding: 5em 0 1em 0;
        text-align: center;
        text-shadow: 1px 1px 2px black;
    }

    .imgS3 .parrafoS3 {
        padding: 0;
        text-align: center;
        font-size: 1.2em;
        text-shadow: 1px 1px 2px black;
    }

    .planes {
        height: 900px;
    }

    .planes .tituloP {
        padding: 1.8em 0;
    }

    .planes .cards {
        flex-direction: column;
    }

    .planes .cards .card {
        margin-bottom: 1.5em;
    }


    .cashwifi {
        height: 1300px;
        padding: 0;
    }

    .cashwifi .titulo {
        padding: 0;
    }

    .cashwifi .parrafo {
        width: 100%;
        padding: 1em 0 4em 0;
    }

    .cashwifi .contE {
        width: 100%;
        padding: 0;
        flex-direction: column;
    }


    .cashwifi .contE .textE {
        width: 100%;
    }

    .cashwifi .contE .textE h3 {
        font-size: 1.5em;
        text-align: center;
    }


    .cashwifi .contE .textE p {
        font-size: 1.1em;
        padding: .5em;
        text-align: center;
    }

    .cashwifi .contE .textE li {
        font-size: 1.5em;
    }

    .cashwifi .contE .textE ul {
        padding: 1em 1em 1em 1.8em;
    }

    .cashwifi .contE .textE .button {
        margin: 1em 0 2em 0;
    }

    .cashwifi .contE .textE .button .solicitarI {
        border-radius: .3em;
    }

    .cashwifi .contE .imagen {
        width: 90%;
    }

    .cashwifi .contE .imagen img {
        width: 100%;
        object-fit: cover;
        border-radius: .3em;
    }


    .alquilerS {
        justify-content: center;
        height: 2000px;
        padding: 0;
    }
    
    .alquilerS h2 {
        font-size: 2em;
        text-align: center;
        margin-bottom: .8em;
    }
    
    .alquilerS P {
        width: 90%;
        margin-bottom: .8em;
    }
    
    .alquilerS .imagenesE {
        flex-direction: column;
        align-items: center;
    }
    
    .alquilerS .imagenesE .celular {
        width: 90%;
        height: 350px;
        margin: 0;
        margin-bottom: 1em;
    }
    
    .alquilerS .imagenesE .evento {
        width: 90%;
        height: 350px;
        margin: 0;
        margin-bottom: 1em;
    }
    
    .alquilerS .button {
        margin: 0 0 3em 0;
    }

    footer {
        flex-direction: column;
        align-items: center;
    }
}