:root{
    --main: #231F20;
    --pink: #FFC3AE;
    --blue: #D3E7FC;
}
body{

    font-family: 'Roboto', sans-serif;
    font-size: 20px;
    line-height: 1.5;
    font-weight: 400;
    color: var(--main);
}
a{
    color: var(--main);
}
p.bold,
span.bold{
    font-weight: 600;
}
section .container{
    max-width: 1320px;
}
.container-lg{
    max-width: 100%;
}
section#main{
    background: url('/img/main_bg.jpg') center no-repeat;
    background-size: cover;
    padding: 45px 0 70px;
}
section#main .war{
  font-style: italic;
    color: #fff;
    font-size: 44px;
    text-transform: uppercase;
    position: relative;

}
section#main .war img{
    position: relative;
    bottom: -50%;

}
h1{
    font-size: 56px;
    line-height: 1.2;
    font-weight: 500;
    margin-bottom: 40px;
    font-style: italic;
}
h2 {
    font-size: 32px;
    line-height: 1.5;
    font-weight: 500;
    margin-bottom: 16px;
    font-style: italic;
}
h3{
    font-size: 24px;
    line-height: 1.5;
    font-weight: 500;
    margin-bottom: 24px;

}
#main .logo-wrapp{
    display: flex;
    justify-content: space-between;
}
#main .contacts{
    max-width: 950px;
    margin: 70px auto 45px;
    font-size: 32px;
    /*background: url('/img/boy_girl_bg.png') center no-repeat;*/
    position: relative;
}

#main .contacts .row{
    margin: 0;
}
#main .contacts .row>div{
    padding: 0;
}
#main .contacts a{
    text-decoration: none;
    color: var(--main);
}
#main .contacts a:hover{
    text-decoration: underline;
}
#main .contacts .messengers.mob{
    display: none;
}
#main .contacts .messengers.desc a:hover{
    filter: contrast(1.5);
    -webkit-filter: contrast(1.5);
    -moz-filter: contrast(1.5);
}
#main .descr{
    max-width: 769px;
    margin: 0 auto;
}
#main .about_clube{
    margin-top: 140px;
}
#main .about_clube ul{
    column-count: 2;
    margin: 0;
    padding: 0;
}
#main .about_clube ul li{
    position: relative;
    list-style: none;
    padding-left: 36px;
    margin-bottom: 12px;
}
#main .about_clube ul li:before{
    position: absolute;
    left: 0;
    top: 0;
    display: block;
    width: 24px;
    height: 24px;
    content: '';
    background: url('/img/tennis_ball.svg') center no-repeat;
    background-size: cover;
}
section#welcome{
    background: url('/img/rocket_bg.png') center no-repeat;
   /* background-size: cover;*/
   background-size: contain;

    margin: 100px auto;
    padding: 12px 0;
}
#welcome p{
    margin-bottom: 24px;
}
section#welcome .content-wrapp{
    max-width: 855px;
    margin: 0 auto;
}
#schedule .courte_wrapp{
    margin-bottom: 24px;
}
#schedule .courte_info{
    background: var(--blue);
    padding: 32px 40px 32px 76px;
    width: 100%;
}
#schedule .col-md-12 .courte_wrapp{
    display: flex;
}
#schedule .courte_info h3{
    position: relative;
}
#schedule .courte_info h3:before{
    position: absolute;
    left: -36px;
    top: 5px;
    display: block;
    width: 24px;
    height: 24px;
    content: '';
    background: url(/img/tennis_ball.svg) center no-repeat;
    background-size: cover;
}
#schedule .col-md-12 .last-item{
    margin-top: 72px;
}
section#gallery{
    margin-top: 100px;
}
section#gallery .container-lg>.row{
    margin-bottom: 12px;
}
section#gallery .container-lg>.row>div>img{
    margin-bottom: 16px;
}
section#gallery img{
    display: block;
    max-width: 100%;
}
section#map{
    margin-top: 72px;

}
section#map .container{
    background: url('img/map.jpg') center no-repeat;
    background-size: cover;
    min-height: 900px;
}
footer{
    background: var(--pink);
    padding: 41px 0;
    text-align: center;
    font-size: 20px;
    line-height: 1.5;
    position: relative;
    opacity: 0.7;
}
footer a {
    text-decoration: none;
}
footer:after{
    position: absolute;
    content: '';
    display: block;
    width: 255px;
    height: 679px;
    background: url(/img/boy-footer.png) center no-repeat;
    right: 100px;
    bottom: 45px;
}
footer:before{
    display: block;
    width: 841px;
    height: 369px;
    content: '';
    position: absolute;
    background: url(/img/footer-grass.png) center no-repeat;
    background-size: cover;
    left: 0;
    bottom: 100px;
}

@media(max-width: 999px){
    .unicourte_logo img{
        max-width: 92px;
    }
    .univers_logo img{
        max-width: 50px;
    }

    section#main .war img{
        bottom: 0!important;
        left: -20px;
        max-width: 140px;
    }
    .logo-wrapp>div{
        min-width: 33%;
        text-align: center;
    }
    section#main{
        background: url('/img/main_bg-mobile.jpg') center no-repeat;
        background-size: cover;
        padding: 16px 12px;
    }
    h1{
        font-size: 32px;
        margin-bottom: 24px;
    }
    h2, h3{
        font-size: 16px;
        margin-bottom: 16px;
    }

    #main .contacts{
        font-size: 16px;
        margin: 24px 0;
    }
    #main .contacts p{
        margin-bottom: 8px;
    }
    #main .contacts .messengers.mob{
        display: block;
        margin-top: 24px;
    }
    #main .contacts .messengers.desc{
        display: none;
    }
    #main .contacts .messengers.mob img{
        max-width: 30px;
        margin-right: 8px;
    }
    #main .descr{
        max-width: 210px;
        font-size: 10px;
        margin: 0;
    }
    #main .about_clube{
        margin-top: 62px;
    }
    #main .about_clube ul{
        column-count: 1;
    }
    #main .about_clube ul li{
        font-size: 12px;
        margin-bottom: 8px;
        padding-left: 24px;
    }
    #main .about_clube ul li:before{
        width: 16px;
        height: 16px;
    }
    section#welcome{
        background: none;
    }
    section#welcome{
        margin: 40px 0;
        padding: 0;
    }
    #welcome p{
        font-size: 16px;
        margin-bottom: 16px;
    }
    #schedule .container{
        padding: 0;
    }
    #schedule .container .row{
        margin: 0;
    }
    #schedule .container .row>div{
        padding: 0;
    }
    section#schedule h2{
        padding-left: 12px;
    }
    .courte_info p{
        font-size: 12px;
        margin-bottom: 16px;
    }
    section#schedule .courte_info{
        padding: 20px 12px 20px 44px;
    }
    #schedule .courte_info h3:before{
        width: 20px;
        height: 20px;
        left: -32px;
        top: 0;
    }
    #schedule .col-md-12 .courte_wrapp{
        display: block;
    }
    #schedule .courte_wrapp{
        margin-bottom: 0;
    }
    section#gallery{
        margin-top: 40px;
    }
    #gallery .container-lg{
        padding: 0;
    }
    #gallery .container-lg .row{
        margin: 0;
    }
    #gallery .container-lg .row div{
        padding: 0;
    }
    section#gallery .row .row div:first-child{
        /*padding-right: 12px;*/
    }
    section#gallery .row .row div:last-child img{
        float: right;
    }
    section#gallery .row .row div img{

       /* max-width: 98%;
        width: auto;
        height: auto;*/
        max-height: 158px!important;
    }
    section#gallery img{
        max-height: 100%!important;
    }
    section#map{

        margin-top: 16px;
    }
    section#map .container{
        min-height: 270px;

    }
    footer{
        font-size: 12px;
        padding: 16px 0;
    }
    footer:after,
    footer:before{
        display: none;
    }
}
img{
    max-width: 100%;
}
span.small{
    display: block;
    margin-bottom: 8px;
    font-size: 16px;
    color: #f4470c;
}