@import url('https://fonts.googleapis.com/css2?family=Fredoka+One&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Montserrat+Alternates&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Outfit&display=swap');


:root {
    --principal: #006241; 
    --secundario: #8BB174; 
    --terciario: #FFE5D4; 
}

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


::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: var(--secundario);
  border-radius: 50px;
}


::-webkit-scrollbar-thumb:hover {
  background: var(--principal);
}


html {
    max-width: 100vw;
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    background-color: var(--terciario) !important;
}


/* ------------------------
nav
------------------------ */


.navbar {
    z-index: 9;
    position: fixed !important;
    width: 100%;
    background-color: var(--principal);
}


.navbar li a {
    font-family: 'Outfit', sans-serif;
    color: white !important;
}

.navbar li a:hover {
    color: var(--secundario) !important;
}

[type=button]:not(:disabled), [type=reset]:not(:disabled), [type=submit]:not(:disabled), button:not(:disabled) {
    box-shadow: none !important;
}

.navbar-toggler {
    border: none !important;
}

.navbar-toggler-icon {
    background-image: url(../assets/menu-mobile.png) !important;
    transform: scaleX(-1);
    filter: invert(100%);
}


#logo-nav {
    margin-left: 10px;
    width: 45px;
    height: auto;
}



/* ------------------------
header
------------------------ */


#header {
    max-width: 100vw !important;
    min-height: 100vh !important;
    background-image: url(../assets/starbucks-playa-oscuro.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center 40px;
    padding: 20px 0;
    margin: 0 !important;
}


#header .row {
    padding: 20px 0;

    margin: 0 !important;
}

#contenedor-h1 {
    position: relative;
    top: 280px;
    left: 20px;
    max-width: 70vw;
    padding: 0px !important;
    margin: 0px !important;
}

#contenedor-h1 h1 {
    font-family: 'Fredoka One', cursive;
    text-transform: uppercase;
    font-size: 40px;
    color: var(--secundario);
    margin-bottom: 40px;
}

#contenedor-h1 h2 {
    font-family: 'Montserrat Alternates', sans-serif;
    font-weight: bold;
    color: white;
    font-size: 18px;
}




/* ------------------------
section contenido
------------------------ */




#contenidos {
    display: grid;
    grid-template-columns: auto;
    justify-content: center;
    gap: 40px;
    margin: 80px 12px;
}

#div-info-contenidos {
    text-align: center;
}

#div-info-contenidos h3 {
    font-family: 'Fredoka One', cursive;
    font-size: 22px;
    color: var(--principal);
    margin-bottom: 30px;
}

#div-info-contenidos p {
    font-family: 'Outfit', sans-serif;
    font-size: 18px;
}

#contenidos div:not(#div-info-contenidos) {
    justify-self: center;
}

#contenidos div:not(#div-info-contenidos) {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    background-color: var(--terciario) !important;
    box-shadow: 0px 0px 8px rgba(0, 0, 0, 0.5);
    /* padding: 60px 20px; */
    border-radius: 20px;
    width: 300px;
    height: 200px;
    position: relative;
    padding: 20px 0;
}

#contenidos div:not(#div-info-contenidos)  {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    background-color: white;
    box-shadow: 0px 0px 8px rgba(0, 0, 0, 0.5);
    /* padding: 60px 20px; */
    border-radius: 20px;
    width: 300px;
    height: 200px;
    position: relative;
}

#contenidos div:not(#div-info-contenidos) a {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    padding: 0px 20px;
}


#contenidos div:not(#div-info-contenidos) * {
    text-decoration: none;
    color: var(--principal);
}

#contenidos div:not(#div-info-contenidos) span {
    font-size: 20px;
    font-family: 'Fredoka One', cursive;
}

#contenidos div:not(#div-info-contenidos) h3 {
    font-size: 18px;    
    font-family: 'Fredoka One', cursive;
}

#contenidos div:not(#div-info-contenidos) p {
    font-size: 16px;    
    font-family: 'Outfit', sans-serif;
}


#contenidos div:nth-child(2) {
    background-image: url(../assets/app-starbucks.png);
    background-size: 60%;
    background-repeat: no-repeat;
    background-position: 170px 20px;
}

#contenidos div:nth-child(3) {
    background-image: url(../assets/cafe-mujer-starbucks.png);
    background-size: 35%;
    background-repeat: no-repeat;
    background-position: 214px 55px;
}

#contenidos div:nth-child(4) {
    background-image: url(../assets/cafe-muffin-starbucks.png);
    background-size: 40%;
    background-repeat: no-repeat;
    background-position: 202px 40px;
}

#contenidos div:nth-child(5) {
    background-image: url(../assets/illustracion-cafe-starbucks.webp);
    background-size: 60%;
    background-repeat: no-repeat;
    background-position: 185px 58px;
}




/* ------------------------
section historia
------------------------ */

#section-historia h3 {
    font-family: 'Fredoka One', cursive;
    font-size: 22px;
    color: var(--principal);
}

#section-historia p {
    font-family: 'Outfit', sans-serif;
    font-size: 18px;
}

#leer-mas {
    color: var(--principal);
    text-decoration: underline;
    font-family: 'Outfit', sans-serif;
    font-size: 18px;
    font-weight: bold;
    outline: none;
    margin-bottom: 4px;
}

#div-oculto-leermas {
    font-family: 'Outfit', sans-serif;
    font-size: 18px;
    background-color: var(--terciario);
    border: none;
}



/* ------------------------
section carrousel
------------------------ */

.carousel {
    overflow: hidden;
    /* height: 300px !important; */
}

.carousel .a-carrousel {
    overflow: hidden;
    height: 200px !important;
}

.carousel img {
    object-fit: contain;
    clip-path: inset(20% 0%);
    height: 500px !important;
}

.a-carrousel {
    position: relative;
}

.a-carrousel span {
    position: absolute;
    top: 45%;
    left: 0;
    right: 0;
    bottom: 0;
    margin: auto;
    line-height: 2;
    text-align: center;
    font-family: 'Fredoka One', cursive;
    font-size: 30px;
    color: white;
    z-index: 99;
}

.a-carrousel img {
    z-index: 1;
    filter: brightness(40%);
}


/* ------------------------
section card
------------------------ */


#section-cards h3 {
    font-family: 'Fredoka One', cursive;
    font-size: 22px;
    color: var(--principal);
}

#section-cards p {
    font-family: 'Outfit', sans-serif;
    font-size: 18px;
}

.card {
    background-color: var(--terciario) !important;
    font-family: 'Fredoka One', cursive;
    border: none !important;
    outline: none !important;
    box-shadow: 0px 0px 10px black !important;
}

.card .btn {
    background-color: var(--principal) !important;
    color: white;
    padding: 5px 60px;
    border-radius: 100px;
}




/* --------------------
modals
-------------------- */


.modal-content {
    background-color: var(--terciario) !important;
    box-shadow: 0px 0px 10px 2px rgb(0, 0, 0, .5);
}

.modal-footer {
    border: none !important;
}

.modal-header {
    /* border: none !important; */
    border-color: var(--principal) !important;
}

.btn-close {
    display: none !important;
}

.modal-header .modal-title {
    font-family: 'Fredoka One', cursive;
    color: var(--principal);
}

.modal-body {
    border: none !important;
    font-family: 'Outfit', sans-serif !important;  
}

.modal-footer .btn {
    background-color: var(--principal);
    color: white;
    font-family: 'Outfit', sans-serif;
}

.btn:not(#leer-mas):hover {
    background-color: white !important;
    color: var(--principal) !important;
}




/* --------------------
section faq
-------------------- */

#section-faq h3 {
    font-family: 'Fredoka One', cursive;
    font-size: 22px;
    color: var(--principal);
}

#section-faq p {
    font-family: 'Outfit', sans-serif;
    font-size: 18px;
}

.accordion-button {
    color: white !important;
    font-family: 'Outfit', sans-serif;
    background-color: var(--principal) !important;
    position: relative !important;
    box-shadow: none !important;
}


.accordion-button::after {
    filter: invert(100%);
}

.accordion-button:not(.collapsed)::after {
    background-image: var(--bs-accordion-btn-icon) !important;
}

.accordion .accordion-body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--terciario) !important;
}



/* --------------------
section video
-------------------- */

#section-video {
    margin: 60px 21px 90px 21px;
    text-align: center;
}

#section-video h3 {
    font-family: 'Fredoka One', cursive;
    font-size: 22px;
    color: var(--principal);
    margin-bottom: 30px;
}

#section-video p {
    font-family: 'Outfit', sans-serif;
    font-size: 18px;
    margin-bottom: 50px;
}

#section-video iframe {
    margin: auto;
}



/* --------------------
footer
-------------------- */



#footer {
    display: grid;
    grid-template-columns: repeat(3, auto);
    background-color: var(--principal);
    margin: 60px 0 0 0;
    padding: 60px 0 20px 0;
    max-width: 100%;
    /* margin-top: 100px; */
    position: relative;
}

#footer::after {
    content: "";
    position: absolute;
    top: -520px;
    left: 0;
    bottom: 0;
    right: 0;
    margin: auto;
    display: block;
    width: 110px;
    height: 110px;
    background-image: url(../assets/starbucks-logo.svg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}

#footer div {
    width: 100%;
    margin: auto;

    grid-column-start: 1;
    grid-column-end: 4;

    display: grid;
    grid-template-columns: auto;
    gap: 15px;
    text-align: center;
    justify-self: center;
    justify-content: center;

}

#footer a {
    width: 200px;
    font-family: 'Outfit', cursive;
    font-size: 18px;
    color: white;
    text-decoration: none;
}


#footer small {
    max-width: 100vw !important;
    font-family: 'Outfit', cursive;
    font-size: 12px;
    color: white;
    margin-top: 40px;
}

#footer div:first-child {
    margin: 20px 0px 40px 0;
    position: relative;
}

#footer #div-terminos {
    position: relative;
}

#footer #div-terminos:after {
    content: "";
    position: absolute;
    top: -190px;
    left: 0;
    bottom: 0;
    right: 0;
    margin: auto;
    display: block;
    width: 80%;
    height: .5px;
    background-color: white;
}





/* 
----------------
media query (breakpoints)
----------------
*/




@media only screen and (min-width: 768px) {

#contenedor-h1 {
    top: 240px;
    left: 80px;
}

#contenedor-h1 h1 {
    font-size: 45px;
}

#contenedor-h1 h2 {
    font-size: 26px;
}




/* ------------------------
section contenido
------------------------ */




#contenidos {
    display: grid;
    grid-template-columns: auto auto;
    justify-content: center;
    gap: 40px;
    margin: 80px 12px;
}


#contenidos div:first-child {
    grid-column-start: 1;
    grid-column-end: 3;
}

#div-info-contenidos {
    text-align: center;
}

#div-info-contenidos h3 {
    font-family: 'Fredoka One', cursive;
    font-size: 22px;
    color: var(--principal);
    margin-bottom: 30px;
}

#div-info-contenidos p {
    font-family: 'Outfit', sans-serif;
    font-size: 18px;
}

#contenidos div:not(#div-info-contenidos) {
    justify-self: center;
}

#contenidos div:not(#div-info-contenidos) {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    background-color: white;
    box-shadow: 0px 0px 8px rgba(0, 0, 0, 0.5);
    /* padding: 60px 20px; */
    border-radius: 20px;
    width: 300px;
    height: 200px;
    position: relative;
    padding: 20px 0;
}

#contenidos div:not(#div-info-contenidos)  {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    background-color: white;
    box-shadow: 0px 0px 8px rgba(0, 0, 0, 0.5);
    /* padding: 60px 20px; */
    border-radius: 20px;
    width: 300px;
    height: 200px;
    position: relative;
}

#contenidos div:not(#div-info-contenidos) a {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    padding: 0px 20px;
}


#contenidos div:not(#div-info-contenidos) * {
    text-decoration: none;
    color: var(--principal);
}

#contenidos div:not(#div-info-contenidos) span {
    font-size: 20px;
    font-family: 'Fredoka One', cursive;
}

#contenidos div:not(#div-info-contenidos) h3 {
    font-size: 18px;    
    font-family: 'Fredoka One', cursive;
}

#contenidos div:not(#div-info-contenidos) p {
    font-size: 16px;    
    font-family: 'Outfit', sans-serif;
}





/* ------------------------
section carrousel
------------------------ */



.carousel {
    overflow: hidden;
    height: 300px !important;
}

.carousel .a-carrousel {
    /* transform: scale(0.8); */
    position: relative !important;
    top: -100px !important;
    left: 0;
    right: 0;
    bottom: 0;
    margin: auto;
}


/* --------------------
section video
-------------------- */

#section-video {
    margin: 60px 70px 90px 70px;
}


#section-video iframe {
    height: 400px;   
}






/* --------------------
footer
-------------------- */


#footer {
    display: grid;
    grid-template-columns: repeat(3, auto);
    background-color: var(--principal);
    padding: 60px 0 20px 0;
    margin: 150px 0 0 0 ;
    min-width: 100%;
    /* margin-top: 100px; */
    position: relative;
}

#footer::after {
    content: "";
    position: absolute;
    top: -530px;
    left: 0;
    bottom: 0;
    right: 0;
    margin: auto;
    display: block;
    width: 120px;
    height: 120px;
    background-image: url(../assets/starbucks-logo.svg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}





}




@media only screen and (min-width: 992px) {



/* ------------------------
header
------------------------ */

#contenedor-h1 {
    position: relative;
    top: 350px;
    left: 120px;
    width: 80%;
}

#contenedor-h1 h1 {
    font-family: 'Fredoka One', cursive;
    text-transform: uppercase;
    font-size: 60px;
    color: var(--secundario);
    margin-bottom: 40px;
}

#contenedor-h1 h2 {
    font-family: 'Montserrat Alternates', sans-serif;
    font-weight: bold;
    color: white;
    font-size: 30px;
}



/* ------------------------
section contenido
------------------------ */




#contenidos {
    display: grid;
    grid-template-columns: auto auto auto;
    justify-content: center;
    gap: 40px;
    margin: 100px 12px;
    transform: scale(.9);
}

#div-info-contenidos h3 {
    font-family: 'Fredoka One', cursive;
    font-size: 30px;
    color: var(--principal);
    margin-bottom: 30px;
}

#div-info-contenidos p {
    font-family: 'Outfit', sans-serif;
    font-size: 24px;
}

#contenidos div:not(#div-info-contenidos) {
    transition: all .3s ease-out;
}

#contenidos div:not(#div-info-contenidos):hover {
    background-color: var(--principal) !important;
}

#contenidos div:not(#div-info-contenidos):hover > a * {
    color: var(--terciario) !important;
}

#contenidos div:not(#div-info-contenidos) span {
    font-size: 26px;
    font-family: 'Fredoka One', cursive;
}

#contenidos div:not(#div-info-contenidos) h3 {
    font-size: 24px;    
    font-family: 'Fredoka One', cursive;
}

#contenidos div:not(#div-info-contenidos) p {
    font-size: 20px;    
    font-family: 'Outfit', sans-serif;
}



#contenidos div:first-child {
    grid-column-start: 1;
    grid-column-end: 4;
}


#contenidos div:nth-child(2) {
    grid-row: 2 / 4;
    height: 100% !important;
}

#contenidos div:nth-child(3) {
    grid-column-start: 2;
    grid-column-end: 4;
    width: 100% !important;
}

#contenidos div:nth-child(3) a {
    width: 100% !important;
    text-align: left;

}

#contenidos div:nth-child(2) {
    background-size: 80%;
    background-repeat: no-repeat;
    background-position: 125px 100px;
}

#contenidos div:nth-child(3) {
    background-size: 40%;
    background-repeat: no-repeat;
    background-position: 430px 20px;
}

#contenidos div:nth-child(4) {
    background-size: 60%;
    background-repeat: no-repeat;
    background-position: 155px 10px;
}

#contenidos div:nth-child(5) {
    background-size: 85%;
    background-repeat: no-repeat;
    background-position: 175px 40px;
}




/* ------------------------
section historia
------------------------ */

#section-historia > div {
    margin: 60px 80px !important;
}

#section-historia h3 {
    font-size: 30px;
}

#section-historia p {
    font-size: 20px;
}

#leer-mas {
    font-size: 19px;
    transition: all .3s ease-out;
}

#leer-mas:hover {
    color: var(--secundario);
}

#div-oculto-leermas {
    font-size: 20px;
}


/* ------------------------
section card
------------------------ */

.card h5 {
    font-size: 22px;
}

.card .btn {
    font-size: 18px;
}

#section-cards {
    margin-top: 80px;
}

#section-cards h3 {
    font-size: 30px;
}

#section-cards p {
    font-size: 24px;
}





/* ------------------------
modal
------------------------ */

.modal {
    transform: scale(1.3);
}




/* --------------------
section faq
-------------------- */

#section-faq h3 {
    font-family: 'Fredoka One', cursive;
    font-size: 30px;
    color: var(--principal);
}

#section-faq p {
    font-family: 'Outfit', sans-serif;
    font-size: 24px;
}

#section-faq div h3 {
    font-size: 30px !important;
}

.accordion-item .accordion-button {
    font-size: 24px;
}

.accordion-body {
    font-size: 20px;
}

/* -------------------
section video
------------------- */


#section-video {
    margin: 80px 113px;
}



#section-video h3 {
    font-size: 30px;
}

#section-video p {
    font-size: 24px;
}

#section-video iframe {
    width: 800px;
    height: 400px;
}



/* --------------------
footer
-------------------- */

#footer {
    display: grid;
    grid-template-columns: repeat(2, auto);
    padding: 100px 0 20px 0;
}

#footer::after {
    top: -430px;
    width: 140px;
    height: 140px;
}

#footer div {
    min-width: 10vw;
    grid-column-start: 1;
    grid-column-end: 2;

    display: grid;
    grid-template-columns: auto;
    gap: 20px;
    text-align: center;
    justify-self: center;

}

#footer #div-redes {
    margin: 0;
    grid-column-start: 1;
    grid-column-end: 1;
}

#footer #div-terminos {
    grid-column-start: 2;
    grid-column-end: 2;
}

#footer #div-alumno {
    margin: 20px 0 0 0;
    grid-column-start: 1;
    grid-column-end: 3;
}

#footer a {
    font-size: 22px;
    transition: color .3s ease-out;
}

#footer a:hover {
    color: var(--secundario);
}

#footer small {
    font-size: 18px;
}

#footer #div-terminos:after {
    display: none;
}

}


@media only screen and (min-width: 1366px) {

/* ------------------------
header
------------------------ */

#contenedor-h1 {
    position: relative;
    top: 350px;
    left: 120px;
    width: 80%;
}

#contenedor-h1 h1 {
    font-family: 'Fredoka One', cursive;
    text-transform: uppercase;
    font-size: 80px;
    color: var(--secundario);
    margin-bottom: 40px;
}

#contenedor-h1 h2 {
    font-family: 'Montserrat Alternates', sans-serif;
    font-weight: bold;
    color: white;
    font-size: 40px;
}


}