@import url('https://fonts.googleapis.com/css?family=Montserrat|Open+Sans|Play|Raleway&display=swap');

* {
    margin: 0;    
    padding: 0;
}

html {
    margin: 0;    
    padding: 0;
    width: 100%;
    font-size: 10px;
}


body {
    font-family: Raleway, sans-serif;
    margin: 0;     
    padding: 0;
    min-width: 350px;
}

.paragraphStyle {
    font-family: Play, sans-serif; /* Основной шрифт для большинства устройств */
    font-size: 3rem;
    color: #22a7f0;
    text-transform: uppercase;
}

/* Медиа-запрос для macOS */
@media only screen and (min-width: 1024px) {
    @supports (-webkit-touch-callout: none) {
        .paragraphStyle {
            font-family: 'Calibri', sans-serif; /* Шрифт для macOS */
        }
    }
}

/* HOME (INDEX) PAGE */
/*top*/

.topForFlexLeft {
    display: flex;
    align-items: flex-start;
    justify-content: space-between; 
    margin-top: .5%;
    margin-bottom: .5%;
}

.border-5 {
    border-width: 2px !important;
    border-color: black !important;
}

#inerRight {
    display: flex;
    align-items: center;
    justify-content: flex-start; 
    font-size: small;
    margin-top: .5%;
    margin-bottom: .5%;    
    font-family: Play, sans-serif;
}

#inerRight > img {
    padding-right: 20px;
}

#inerRightFlex {
    display: flex;
    align-items: center;
    justify-content: space-around; 

}

@media screen and (min-width: 992px) {
    .topForFlexLeft {
        margin-right: 50%;
    }
}

/*navigation*/

#navigationSet {
    display: flex;
    align-items: flex-end;
    justify-content: space-around;
    font-size: 1.9rem;
}


#navigationSet > a:not(:last-child){
    margin-right: 4%;
}

.link {
    color: #363636;
}

.link:hover {
    color: #22a7f0;   
    transition: color 0.2s linear;    
    text-decoration: none;
}

.active {
    color: #22a7f0;
}
/*<img src="images/logos/checkbox-logo.png" alt="" height="150px">*/

#logoBackground {
    background-image: url('../images/logos/checkbox-logo.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    height: 100px;
}


@media screen and (min-width: 992px) {
    #logoBackground {
        height: 150px;
    }
}

@media screen and (min-width: 1200px){
    #logoBackground {
        height: 200px;
    }
}

/*slider*/

#slider {
    margin: 0 auto;
    width: 100%;
    max-width: 100%;
    text-align: center;
 }
 #slider input[type=radio] {
    display: none;
 }
 #slider label {
    cursor:pointer;
    text-decoration: none;
 }
 #slides {
    background: #fff;
    position: relative;
    z-index: 1;
 }
 #overflow {
    width: 100%;
    overflow: hidden;
 }
 #slide1:checked ~ #slides .inner {
    margin-left: 0;
 }
 #slide2:checked ~ #slides .inner {
    margin-left: -100%;
 }
 #slide3:checked ~ #slides .inner {
    margin-left: -200%;
 }
 #slide4:checked ~ #slides .inner {
    margin-left: -300%;
 }
 #slides .inner {
    transition: margin-left 800ms cubic-bezier(0.770, 0.000, 0.175, 1.000);
    width: 400%;
    line-height: 0;
    height: 300px;
 }
 #slides .slide {
    width: 25%;
    float:left;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    color: #fff;
 }
 #slides .slide_1 {
    background: #363636;
 }
 #slides .slide_2 {
    background:#363636;
 }
 #slides .slide_3 {
    background:#363636;
 }
 #slides .slide_4 {
    background:#363636;
 }
 #controls {
    margin: -180px 0 0 0;
    width: 100%;
    height: 50px;
    z-index: 3;
    position: relative;
 }
 #controls label {
    transition: opacity 0.2s ease-out;
    display: none;
    width: 50px;
    height: 50px;
    opacity: .4;
 }
 #controls label:hover {
    opacity: 1;
 }
 #slide1:checked ~ #controls label:nth-child(4),
 #slide2:checked ~ #controls label:nth-child(1),
 #slide3:checked ~ #controls label:nth-child(2),
 #slide4:checked ~ #controls label:nth-child(3) {
    background: url(https://image.flaticon.com/icons/svg/130/130882.svg) no-repeat;
    float:left;
    margin: 0 0 0 1%;
    display: block;
 }
 #slide1:checked ~ #controls label:nth-child(2),
 #slide2:checked ~ #controls label:nth-child(3),
 #slide3:checked ~ #controls label:nth-child(4),
 #slide4:checked ~ #controls label:nth-child(1) {
    background: url(https://image.flaticon.com/icons/svg/130/130884.svg) no-repeat;
    float:right;
    margin: 0 1% 0 0;
    display: block;
 }
 #bullets {
    margin: 150px 0 0;
    text-align: center;
 }
 #bullets label {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius:100%;
    background: #ccc;
    margin: 0 10px;
 }
 #slide1:checked ~ #bullets label:nth-child(1),
 #slide2:checked ~ #bullets label:nth-child(2),
 #slide3:checked ~ #bullets label:nth-child(3),
 #slide4:checked ~ #bullets label:nth-child(4) {
    background: #444;
 }
 /*
 @media screen and (max-width: 900px) {
    #slide1:checked ~ #controls label:nth-child(2),
    #slide2:checked ~ #controls label:nth-child(3),
    #slide3:checked ~ #controls label:nth-child(4),
    #slide4:checked ~ #controls label:nth-child(1),

    #slide1:checked ~ #controls label:nth-last-child(4),
    #slide2:checked ~ #controls label:nth-last-child(1),
    #slide3:checked ~ #controls label:nth-last-child(2),
    #slide4:checked ~ #controls label:nth-last-child(3) {
       margin: 0;
    }
    #slides {
       max-width: calc(100% - 140px);
       margin: 0 auto;
    }
 }*/

/*services*/

.services {
    text-align: center;
    margin-top: 50px;
    margin-bottom: 120px;
}

.service_set {
    margin-bottom: 50px;
}

.service_set > p {    
    text-transform: uppercase;
    font-size: 2.5rem;
    font-family: "Play";
    color: #22a7f0;
}

.service_set > div {
    font-size: 1.8rem;
    font-family: "Open Sans";

}

/*recentProjects TODO*/





/*funFacts */

.funFacts {
    background: #22a7f0;
    text-align: center;
    color: #ffffff;
}

.factsSet {    
    padding-top: 14%;
    padding-bottom: 14%;
    font-family: Play;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.line {
    background: #ffffff;
    height: 2px;
    width: 45px;
    margin-bottom: 5px;
    margin-top: 5px;
}

.factsSet > .funNumber {
    font-weight: bold;
    font-size: 3.5rem;
}

.funFacts > div {
    font-size: 2rem;
}


/*from blog*/

.caruselAlign {
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    color: black;
}
.caruselItemAlign {
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 40%;
}

@media screen and (max-width: 992px) {
    .caruselAlign {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: space-evenly;
        color: black;
    }
    .caruselItemAlign {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        max-width: 40%;
    }
}

@media screen and (max-width: 544px) {
    .caruselAlign {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: space-evenly;
        color: black;
    }
    .caruselItemAlign {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        max-width: 40%;
    }
}


.caruselItemAlign > div {
    padding-left: 3%;
}

#cheight {
    background:white;
    margin-top: 40px;
    margin-bottom: 40px;
    min-height: 300px;
    position: relative;
    font-size: 1.4rem;
}
.controller {
    z-index: 555;
}
.carousel-control-next, .carousel-control-prev {
    position: absolute;
    align-items: flex-end;
    margin-bottom: 20px;    
    background: url("../images/left-chevron.svg");
    background-repeat: no-repeat;
    background-position: right;
    background-size: 30px;
    height: 30px;
    width: 30px;
    top: 90%;
    opacity: 1;
}
.carousel-control-next {
    transform: rotate(180deg);
}

.carousel-control-next-icon, .carousel-control-prev-icon {
    opacity: 0;
}

/* .carousel-control-next {
    right: -15px;
} */
.carousel-control-prev {
    right: 40px;
    left: unset;
}

/*get in touch*/

.getInTouch {
    background-color: #26a1e4;
    min-height: 120px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-family: Play;
    color: #ffffff;
    font-size: 2rem;
}


#getButton {
    background: transparent;
    border: solid white 1px;
    min-height: 50px;
    min-width: 180px;
    color: white;
    display: block;
    float: right;
}

@media screen and (max-width: 768px ) {
    .flexCenterBlyat {
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .textCenterBlyat {
        text-align: center;
    }
    
}

/*footter*/

.footer {
    min-height: 280px;
    background-color: #161616;
    font-family: Play;   
    display: flex;
    align-items: center;
}

.footer p {
    color: #26a1e4;
    font-size: 2rem;
}

.footer div {
    color: white;
    font-size: 1.4rem;
}

.footer .linkPointer {
    color: #26a1e4;
}

.linkF {
    color: white;
}

.linkF:hover {
    color: #22a7f0;   
    transition: color 0.2s linear;    
    text-decoration: none;
}

.footer img {
    margin-right: 3px;
}

/* ABOUT AS PAGE -------------------------------------*/
/*about us--------------------------------------------*/

.AboutUs {
    background-color: #26a1e4;
    min-height: 70px;
    display: flex;
    align-items: center;
    font-family: Play;
    color: #ffffff;
}

#about{
    font-size: 2rem;
}

#path {
    text-align: end;
    font-size: 1.4rem;
}

/*who we are*/

.WhoWeAre {
    margin-top: 80px;
    margin-bottom: 80px;
    font-family: OpenSans;
    font-size: 1.65rem;
    position: relative;
    text-align: justify;
}

.InerWhoWeAre {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    column-gap: 20px;
}
.InerWhoWeAre h1{
    font-family: Play;
}
@media screen and (max-width: 992px)
{
    .InerWhoWeAre {
        grid-template-columns: 1fr;
        font-size: 2rem;
    }
}

.InerWhoWeAre img {
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.InerWhoWeAre button {
    background: #26a1e4;
    border: solid white 1px;
    min-height: 50px;
    min-width: 180px;
    color: white;
    display: block;
}

/*facts rounds*/

.FunRounds{
    min-height: 420px;
    background-color: #363636;
    color: #fff;
    font-size: 1.7rem;
    font-family: Play;
}

.InerFunRounds {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    align-items: top;
    text-align: center;
    width: 100%;
    column-gap: 30px;
    row-gap: 40px;
    margin-top: 80px;
    margin-bottom: 80px;
}

@media screen and (max-width: 992px)
{
    .InerFunRounds {
        grid-template-columns: 1fr;
        font-size: 2rem;
    }
}
.InerFunRounds div {
    font-family: OpenSans;
}

.circle {
    border: #26a1e4 solid;
    border-radius: 50%;
    height: 130px;
    width: 130px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-around;
}

/*WhyWhat*/

.WhyWhat {
    min-height: 300px;
    text-align: justify;
}

.InerWhyWhat {
    display: grid;
    grid-template-columns: 1fr 1fr;    
    column-gap: 20px;
    width: 100%;
    position: relative;
    align-items: top;
    justify-content: space-evenly;
    padding-top: 60px;
    padding-bottom: 60px;
}

.InerWhyWhat h1{
    font-family: Play;
}

.blueblackline {
    display: grid;
    grid-template-columns: 1fr 8fr;
    align-items: center;
    justify-content: center;    
    font-size: 2.3rem;     
    font-family: Play; 
}

@media screen and (max-width: 992px){
    
.InerWhyWhat {
    grid-template-columns: 1fr;
}

}

.blackLine {
    min-height: 65px;
    background-color: white;
    color: black;
    display: flex;
    align-items: center;
    padding-left: 2%;
    /* border: black solid 1px; */
    transition: .2s linear;
}

.bluesquare {
    min-height: 65px;
    min-width: 65px;
    background-color: white;    
    color: #26a1e4;
    display: flex;
    align-items: center;
    justify-content: space-around;
    /* border: black solid 1px;    */
    transition: .2s linear;
    cursor: pointer;
}

.bluesquare:hover {
    background-color: #26a1e4;  
    transition: .2s linear;
    color: white;
    cursor: pointer;
}


.bluesquareH {
    min-height: 65px;
    min-width: 65px;
    background-color: #26a1e4;    
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: space-around;    
    transition: .2s linear;
    transform: rotate(90deg);
    cursor: pointer;
}


.bluesquareH:hover ~ .blackLine ,
.bluesquare:hover ~ .blackLine {
    min-height: 65px;
    background-color: #363636;
    display: flex;
    align-items: center;
    padding-left: 2%;    
    color: white;    
    transition: .2s linear;
}

.WhyInfoContent {
    font-family: OpenSans;
    font-size: 1.6rem;
}

/*our clients say TODO*/

.ClientsSay {
    background-color: #363636;
    color: white;
    min-height: 300px;
}

/*our crazy team*/

.CrazyTeam {
    min-height: 300px;
    margin-top: 5%;
    margin-bottom: 3%;
}

.InerCrazyTeam {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    align-items: center;
    text-align: center;
    column-gap: 20px;
    margin-top: 20px;
}

@media screen and (max-width: 992px){
    .InerCrazyTeam {
    grid-template-columns: 1fr 1fr;
    }
}

@media screen and (max-width: 544px){
    .InerCrazyTeam {
    grid-template-columns: 1fr;
    /* margin: 20px 50px 0 50px; */
    }
}

.InerCrazyTeam img {
    height: 100%;
    width: 100%;
    object-fit: cover;
}

#nameH {
    font-size: 3rem;
}

#exampleL {
    font-size: 2.4rem;
}

/* PAGES dos`n have model */

/* PROJECT PAGE TODO---------------------------------- */







/* BLOG (NEWS) TODO------------------------------------ */
.img-fluid {
    object-fit: cover;
    width: 100%;
    max-height: 280px;
    border-radius: 5px;
    cursor: pointer;
    transition: 0.3s;
}
.img-fluid:hover {
    transform: scale(1.05);
    transition: 0.3s;
}
/* CONTACT */
.contact_us{
    font-size: 2rem;
}


.button_contact {
    border-color: #22a7f0;
    background-color: #22a7f0;
    border: solid white 1px;
    min-height: 50px;
    min-width: 180px;
    color: white;
    display: block;
}