html {
    scroll-behavior: smooth;
}

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --main-color-primary: #3A52A7;
    --main-color-secondary: #CCD7FF;
}

.bg-dark{
    background-color: var(--main-color-primary);
}

.bg-light{
    background-color: var(--main-color-secondary);
}

p, h2, h1, h3, h4, h5, a{    
    color: #000;
    font-family: 'Source Sans Pro', sans-serif;
}

p{
    font-size: 16px;
}

h2{    
    max-width: 260px;
    text-align: center;
    border-bottom: 2px solid var(--main-color-primary);
    padding-bottom: 15px;
    margin: 0 auto 40px;
    z-index: 10;
}

a, a:hover{
    text-decoration: none;
}

.text-align{
    text-align: center;
    padding-top: 10px;
}

.flex{
    display: flex;
    flex-wrap: wrap;
}


/**************/
/**  Button  **/
/**************/
    .button{    
        border-radius: 25px;
        max-width: 160px;
        text-align: center;
        padding: 10px 0 10px;
        margin: 20px auto;
        transition: 0.3s;
    }

    .button--primary{
        background-color: var(--main-color-primary);
    }

    .button--primary a{
        color: #fff;
    }

    .button--primary:hover{
        background-color: var(--main-color-secondary);
    }

    .button--primary:hover a{
        color: var(--main-color-primary);
    }

    .button--secondary{
        border: 1px solid var(--main-color-primary);
    }

    .button--secondary a{
        color: var(--main-color-primary);
    }

    .button--secondary:hover{
        background-color: var(--main-color-primary);
    }

    .button--secondary:hover a{
        color: #fff;
    }

    .years{
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        margin-bottom: 30px;
    }

    .years .button{        
        padding: 10px 50px 10px;
        margin: 0 10px;
        font-size: 16px;
    }




/****************/
/**    Header  **/
/****************/
    .header .navbar img{
        height: 56px;
    }

    .navbar-brand{
        padding: 0 15px;
    }

    .navbar-custom{
        background-color: #fff;
        border: none;
    }

    .navbar{
        margin: 5px;
    }

    .navbar a{
        font-size: 16px;
    }

    .navbar .active{
        border-bottom: 2px solid var(--main-color-primary);
    }
    
    .navbar-toggle .icon-bar {
        background-color: var(--main-color-primary);
    }

    .navbar-toggle {
        background-color: transparent;
        border: 1px solid var(--main-color-primary);
    }

    /****************/
    /**   Banner   **/
    /****************/
    .banner{
        position: relative;
    }

    .banner--image{
        width: 100%;
    }

    .banner--text{
        position: absolute;
        z-index: 10;
        font-size: 22px;
        max-width: 520px;
        top: 35%;
        left: 160px;
    }

    .banner--text p{
        font-size: 40px;
    }

    
    .banner-gallery .banner--text p{
        font-size: 120px;
    }

    .banner-gallery .banner--text{
        top: 20%;
    }

    /*********************/
    /**  Galery-item    **/
    /*********************/
    .middle .gal-item { 
        width: 100%;
        position: relative;
        overflow: hidden;
        cursor: pointer;
        margin: 5px 0;
    }

    .gal-item.gal--medium {
        height: 200px;
    }

    .gal-item:hover .gal-glass {
        display: block;
    }

    .gal-item.gal--medium img {
        width: 100%;
        position: relative;
        top: 50%;
        transform: translateY(-50%);
    }

    .gal-item {
        padding: 0;
        color: #000;    
        transition: 0.4s;
    }

    .gallery--item {
        margin-bottom: 5px;
        padding: 0;
        color: #000;
        transition: 0.4s;
    }

    .gallery--item+.gallery--item {
        border-left: 4px solid transparent;
    }
    
    .image-box {
        display: block;
        height: 200px;
        margin: 10px 0;
    }
    .image-box.image-box--160 {
        height: 160px;
    }
    .image-box.image-box--auto {
        height: auto;
    }
    .image-box img.image {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    .image-box .image-box__glass {
        display: none;
        position: absolute;
        top: 50%;
        left: 50%;
        z-index: 1;
        transform: translateY(-50%) translateX(-50%);
    }
    .image-box__glass span { 
        font-size: 25px; 
        font-weight: 600; 
        font-family: Arial,sans-serif; 
        color: rgba(255,255,255,0.5); 
        border: 2px solid rgba(255,255,255,0.5); 
        padding: 3px 10px 3px; 
        border-radius: 50%;
    }
    .image-box:hover .image-box__glass {
        display: block;
    }
    .image-box.image-box--hover:hover:after {
        content: "";
        display: block;
        left: 0;
        right: 0;
        top: 0;
        bottom: 0;
        background-color: rgba(0,0,0,0.5);
        position: absolute;
    }

/******************************/
/**       Middle / Loga      **/
/******************************/
.middle{
    position: relative;
    overflow: hidden;
}

.sections .background-images{
    max-width: 100%;
    height: 10px;
}

.section--news .background-images img{
    position: absolute;
    transform: translate(50%, -50%);
    right: 50px;
    opacity: 0.2;
    width: 280px;
    z-index: 1;
}

.mid--col {
    z-index: 10;
}

.section--info .background-images img {
    position: absolute;
    transform: translate(-40%, -10%) rotate(9deg);
    left: 50px;
    opacity: 0.4;
    width: 480px;
    z-index: 1;
}


.section--time .background-images img {
    position: absolute;
    transform: scaleX(-1) translate(-30%, -25%) rotate(9deg);
    right: 50px;
    opacity: 0.4;
    width: 460px;
    z-index: 1;
}

    /***********************/
    /**      Sections     **/
    /***********************/
    .sections{
        padding: 40px 0;
    }

        /***********************/
        /**    Section news   **/
        /***********************/
        .section--news .mid--item{
            display: flex;
            flex-direction: column;
            flex-wrap: wrap;
            background-color: #fff;
            filter: drop-shadow(3px 3px 6px #0002);
            transition: 0.4s;
        }

        .section--news .mid--item:hover{
            display: flex;
            flex-direction: column;
            flex-wrap: wrap;
            background-color: #fff;
            filter: drop-shadow(3px 3px 6px #0006);
        }


        .section--news .mid--col {
            padding: 0 10px;
        }

        .mid--content{
            padding: 0 20px;
        }

        .mid--content .date {
            font-size: 12px;
        }

        .mid--content h4 {
            font-size: 20px;
            margin: 20px 0 10px;
        }

        /************************/
        /**   Section sports   **/
        /************************/
        .section--sports .mid--item {
            margin-bottom: 30px;
            z-index: 10;
        }


        /************************/
        /**   Section support  **/
        /************************/
        .section--support p{
            font-size: 20px;
        }

        /***********************/
        /**    Section info   **/
        /***********************/
        .section--info, .section--info p, .section--info h2, .section--info h4{
            color: #fff;
        }

        .section--info .mid--item{    
            display: flex;
            flex-direction: row;
            margin-top: 5px;
            margin-bottom: 5px;
        }

        .section--info .mid--item p{
            margin-left: 6px;
        }

        .section--info .glyphicon{
            font-size: 12px;
            padding-top: 3px;
        } 

        .section--info h2{    
            margin: 0;
            text-align: left;
        }

        .section--info h4{    
            padding-bottom: 10px;
        }



/****************/
/**  Footer    **/
/****************/
    .footer{
        padding: 30px 0;
    }

    .footer .side--left img{
        max-width: 360px;
    }

    .side--right h5{
        color: #fff;
        font-size: 18px;
        font-weight: 600;
    }

    .side--right p{
        color: #fff;
        margin-bottom: 2px;
    }

    .footer .row{    
        display: flex;
        flex-wrap: wrap;
        align-items: center;
    }


    
/****************/
/**     RES    **/
/****************/
@media only screen and (max-width: 992px) {
    .section--news .mid--col {
        margin-bottom: 20px;
    }

    .banner--text {
        max-width: 300px;
        top: 30%;
        left: 90px;
    }

    .banner--text p {
        font-size: 24px;
    }

    .section--time .background-images img {
        width: 270px;
    }

    .footer .row {
        justify-content: center;
        text-align: center;
    }

    .section--info .background-images img {
        transform: translate(-40%, 0%) rotate(9deg);
    }

    
    .footer .side--left img{
        max-width: 360px;
    }

}

@media only screen and (max-width: 768px) {
    .banner--text {
        position: relative;
        z-index: 10;
        max-width: 80%;
        margin: 0 auto;
        top: unset;
        left: unset;
        padding-top: 20px;
    }

    .section--info .background-images img {
        transform: translate(-40%, 10%) rotate(9deg);
        width: 200px;
    }

    .section--news .background-images img {
        transform: translate(50%, -30%);
        width: 180px;
    }

    
    .years .button{        
        margin-bottom: 30px;
    }
}


/************************************************************************************  Galleries *************************************************************************************/
.section--date p {
    text-align: center;
    font-size: 18px;
    margin: 0;
}

.section--date h2 {
    margin: 0 auto 30px;
}

.section--date .date {
    text-align: center;
    font-size: 16px;
    margin: 10px 0;
}

.section--galeries .mid--item {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    background-color: #fff;
    filter: drop-shadow(3px 3px 6px #0002);
    transition: 0.4s;
    margin-bottom: 15px;
}

.section--galeries .mid--item:hover{
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    background-color: #fff;
    filter: drop-shadow(3px 3px 6px #0006);
}

.section--galeries .gal-item.gal--medium {
    height: 160px;
}

.section--gallery h2{    
    max-width: 360px;
}
