body { font-family: Skia;
    
}

h1 {
    color: #ffffff;
    font-family: Skia;
    font-size: 32px;
    line-height: 28px;
}

.main-header {
    width: 100%;
    height: auto;
}


.logo {
    width: 100%;
    height: 100%;
    float: left;
    padding-left: 100px;
    padding-top: 10px;
    background-color: #A7323C;
    color: white;
}

.logotipo {
    width: 100%;
    height: 100%;
    padding-top: 20px;
    background-color: #A7323C;
    padding-left: 30px;
    border-left: solid 1px #ffffff;
}
.logo h1 {
    margin-bottom: 0;
    margin-top: 10px;
    position: relative;
}

.logo p {color: #ffffff;
    font-family: Skia;
}

.logo img {
    height: auto;
    float: left;
    margin-right: 45px;
}

.logotipo p {
    color: #ffffff;
}
.logo h1::before {
    content: ' ';
    position: absolute;
    width: 2px;
    background: white;
    height: 53px;
    top: 0;
    margin-left: -15px;
}
.red-top {
    width: 100%;
    height: 100%;
    background-color: #BF3A36;
}

.language {
    width: 100%;
    height: 100%;
    background-color: #EA6839;
}

.language a {
    color: #ffffff;
    text-decoration: none;
    
}

.language ul {
    list-style: none;
    vertical-align: middle;
    padding-top: 30px;
    
}

.language li {
    color: #ffffff;
    display: inline;
    padding-right: 10px;
    
}

.yellow-top {
    width: 100%;
    height: 100%;
    background-color: #F4A640;
}

.carousel-caption h2 {
    color: #ffffff;  
    font-family: Skia;
    font-size: 50px;
    line-height: 54px;
    text-align: right;
    padding-bottom: 25%;
    z-index: 1;
}


.carousel-item {
    width: 100%;
    height: 500px;
}

.carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
}

.carousel-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 500px;
    background-color: rgba(1, 0, 5, 0.40);
    z-index: 0;
}

.info h3 {
    color: #2e2e2e;  
    font-family: Skia;
    font-size: 24px;
    line-height: 34px;
    text-align: left;
    position: relative;
    z-index: 1;
    padding-top: 20px;
    padding-right: 30px;
}

.info h3 b {
    font-weight: 900;
    text-shadow: 0px 0px 0px #2e2e2e;
}

.giovani {
    width: 100%;
    height: 350px;
    background-color: #3C867D;
    position: relative;
    
}

.giovani img {
    max-width: 80%;
    height: auto;
    margin-top: 30px;
    float: right;
    padding-bottom: 40px;
    position: relative;

    
}

.giovani h3 {
    width: 100%;
    color: #ffffff;
    font-family: Skia;
    font-size: 32px;
    font-weight: 600;
    text-transform: uppercase;
    text-align: center;
    position: relative;
    padding-top: 40px;
    
    
}

.famiglia {
    width: 100%;
    height: 350px;
    background-color: #234B70;
    position: relative;
    
}

.famiglia img {
    max-width: 80%;
    height: auto;
    float: right;
    margin-top: 30px;
    padding-bottom: 30px;
    position: relative;

    
}

.famiglia h3 {
    width: 100%;
    color: #ffffff;
    font-family: Skia;
    font-size: 32px;
    font-weight: 600;
    text-transform: uppercase;
    text-align: center;
    position: relative;
    padding-top: 40px;
}

.my-button {
    width: 110px;
    align-items: center;
    height: auto;
    background-color: #ffffff;
    border: none;
    font-family: Skia;
    font-size: 14px;
    left: 0;
    right: 0; 
    margin: 0 auto;
    line-height: 18px;
    text-transform: uppercase;
    font-weight: 600;
    padding: 10px 20px 10px 20px;
    position: absolute;
    bottom: 20px;
}

.my-button a {
   color: #595959;
    text-decoration: none;
}

.giovani .my-button a:hover {
   color: #3C867D;
}


.famiglia .my-button a:hover {
   color: #234B70;
}

footer {
    width: 100%;
    height: 105px;
    margin-top: 100px;
    background-color: #a2a2a2;
}

footer p {
    color: #ffffff;
    text-align: center;
    padding-top: 20px;
}



/*--- MOBILE ----*/

@media (min-width: 1400px) {
    .carousel-item {
        height: 800px;
    }
    
    .carousel-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 800px;
    background-color: rgba(1, 0, 5, 0.40);
    z-index: 0;
    }
}
@media (max-width: 990px) {
    .info {
        width: 100%;
    }
    .box-btn {
        width: 50%;
    }
}
@media (max-width: 916px) {
    .logo {
        padding-left: 40px;
    }
    
}
@media (max-width: 767px) {
    .yellow,.l-red {
        display: none;
    }
    .box-btn {
        width: 100%;
        margin-top: 20px!important;
        margin-bottom: 10px!important;
    }
    .carousel-caption h2 {
    color: #ffffff;  
    font-family: Skia;
    font-size: 34px;
    line-height: 44px;
    text-align: center;
    padding-bottom: 0;
    z-index: 1;
    }
        .info h3 {
        font-size: 22px;
        line-height: 32px;
        padding-top: 10px;
        padding-left: 10px;
        padding-right: 10px;
    }
        .language ul {
        text-align: center;

    }   

     footer {
        margin-top: 30px;
    }   
}