/*  STYLESHEET FOR: index 

Index:
+ VARIABLES
+ HERO
  - Img background specification
  - Container background specification
  - Title specification
  - Pragraph specification
  - Button meet-us specifiaction´
+ ANIMATIONS
*/

/* ######################## VARIABLES ######################## */
:root{
    --base-color1: #cdd751; /*#e17743*/ /*#cdd751*/
    --base-color2: #929497;
    --base-color3: #1e56a2;
    --dark-text: #222222;
    --light-text: #f5f5f5;
    --light-bg: #eeeeee;
    --dark-bg: #0a1b2c;

    --font-base: 'Libre Franklin', sans-serif;
}

html {
    scroll-behavior: smooth;
}

*, *::after, *::before{
    margin: 0;
    padding: 0;
}

body{
    background-color: var(--light-bg) !important;
    font-family: var(--font-base) !important;
}

.page-wrapper{
    position: relative;
    margin: 0 auto;
    width: 100%;
    min-width: 300px;
    z-index: 9;
    overflow: hidden;
    height: auto;
}

@media only screen and (max-width: 2500px){
    .page-wrapper {
        overflow: hidden;
    }
}
    
/* ######################## SPONSOSHIP ######################## */
/* Img background specification */
#hero{
    height: 40.5rem;
    background-image: linear-gradient(90deg,rgba(226, 226, 226, 0.33), rgba(226, 226, 226, 0.14)), url(../img/banners/ngcnd_consultoria.jpg);
    background-position: center;
    background-size: cover;
}

#hero #herotitle {
    color: var(--light-text);
    animation: appear 3s forwards;
}

#hero #heropresentation{
    text-align: justify;
    color: var(--light-text);
    font-size: 1.25em;
    animation: scroll 2s linear forwards;
}

.divisor {
    height: 7rem;
    padding-left: 0.5rem ;
    border-left: 3px solid var(--light-text);
}

@media screen and (max-width: 600px) {
    .divisor{
        border-left: none;
    }
}

/* ######################## SPONSORSHIP AND COACHING CARDS ######################## */
/* Container specification */
.card{
   margin-top: 2rem;
   animation: up 4s linear;
   box-shadow: 2px 2px 5px #9294976f;
}

.card img{
    border-radius: 0.5rem;
    width: 100%;
    height: 20rem;
    background-size: contain;
}

/* Container background specification */
.card-img-overlay{
   background-image: linear-gradient(60deg, rgba(255, 255, 255, 0.12),rgba(255, 255, 255, 0), #e9ecef, #f8f9fa 90%);
}

/* Title specification */
.card-img-overlay h4{
    margin-top: 15%;
    font-size: 1.2em;
    color: var(--dark-bg);
    text-align: center;
}

/* Pragraph specification */
.card-img-overlay p{
    font-size: 1em;
    color: var(--dark-text);
    margin-top: 1rem;
    text-align: justify;
}

/* Button moreinfo specification */
.card-img-overlay .btn-moreinfo{
    float: right;
    margin-top: 2%;
    margin-right: 0.5rem;
    text-decoration: none;
    padding: 0.5rem 1rem;
    background: var(--base-color1);
    color: var(--dark-text);
    font-size: 16px;
    border-radius: 0.5rem;
    transition: 0.5s ease-in-out;
}

.card-img-overlay .btn-moreinfo:hover{
    background-color: var(--base-color2);
    color: var(--light-text);
    text-decoration: none;
    box-shadow: inset 10rem 0 0 0 var(--base-color2);
    transition: 0.5s ease-in-out;
}



/* ######################## COACHING ######################## */
/* Img background specification */
#coaching{
    height: 40.5rem;
    background-image: linear-gradient(90deg,rgba(226, 226, 226, 0.33), rgba(226, 226, 226, 0.14)), url(../img/banners/ngcnd_entrenamiento.jpg);
    background-position: center;
    background-size: cover;
}

#coaching #herotitle {
    color: var(--light-text);
    animation: appear 3s forwards;
}

#coaching #heropresentation{
    text-align: justify;
    color: var(--light-text);
    font-size: 1.25em;
    animation: scroll 2s linear forwards;
}

.divisor {
    height: 7rem;
    padding-left: 0.5rem ;
    border-left: 3px solid var(--light-text);
}

@media screen and (max-width: 600px) {
    .divisor{
        border-left: none;
    }
}


/* ######################## ANIMATIONS ######################## */
@keyframes up {
    0% {
        transform: translateY(-10%);
    }

    100% {
        top: 0px;
    }
}

@keyframes appear {
    0% {
        opacity: 0;
    }

    50% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes scroll {
    0% {
        transform: translateX(-20%);
    }

    100% {
        left: 100px;
    }
}