@media (min-width: 2000px) {
    h1 {
        font-size: calc(4.3vw);
    }
}

@media (min-width: 1681px) {
    .main-header {
        /*padding-top: 50px;*/
    }

    .menu-items li a {
        font-family: var(--secondaryFont);
        font-size: 60px;
    }

    .main-header .colCount {
        /*width: 900px;*/
        width: 950px;
        /*yanick*/
    }

}

@media (min-width: 1200px) {
    .vertical-carousel {
        height: 500px;
    }
}

@media (max-width: 1300px) {
    .banner h1 {
        /*margin-bottom:5%;*/
        font-size: 75px;
    }
}

@media (max-width: 1200px) {
    .bordered-content {
        background-size: 100% 70% !important;
    }

    .modal-xl {
        max-width: 95%;
    }

    .container {
        padding: 0 30px;
    }
}

@media (max-width: 991px) {
    .bordered-content {
        /* background-size: 100% 55% !important; */
        background-size: 100% 95% !important;
    }

    .main-header .colCount {
        max-width: 100%;
    }

    .main-header .colSpan1 p {
        font-size: 14px;
    }

    .menu-items {
        height: 100%;
        justify-content: center;
        padding: 0 15%;
    }

    .banner h1 {
        /*margin-top: 25%;*/
    }

    .banner h1 span {
        margin-top: -10px;
    }

    .modal-dialog {
        max-width: 95%;
        margin-left: auto;
        margin-right: auto;
    }

    .logo,
    .logo a img {
        max-width: 80px;
    }

    .banner h1 {
        font-size: calc(7.5vw);
    }

    .main-header .colCount>.colSpan1:first-child {
        padding-left: 0;
    }

    #modal-form-4 .btn-primary {

        position: relative;
        display: inline-flex;
        overflow: hidden;
        height: 70px;
    }

}

@media (max-width: 768px) {

    p {
        font-size: 15px;
    }

    .banner {
        background-size: cover !important;
        height: 100vh;
    }

    .vertical-carousel {
        height: 200px;
        margin-bottom: 50px;
    }

    .about-box-inner {
        padding: 0;
    }

    .about-box .col-md-4 {
        border-right: none;
        border-bottom: solid 1px var(--cream);
        padding: 30px;
    }

    .events-section .sticky-sm-top {
        padding-bottom: 30px;
    }

    .gradient-box {
        height: 100px;
    }

    .about-section {
        padding: 80px 0 80px 0;
    }

    .about-section .section-title {
        margin-bottom: 30px;
    }

    .about-box {
        margin-top: 80px;
    }

    .three-column {
        flex-direction: column;
    }

    .column {
        border-right: none;
        border-bottom: solid 1px var(--cream);
    }

    .column:last-child {
        border: none;
    }

    .services-section hr {
        margin-top: 15px;
    }

    .companies ul li {
        width: 150px;
        font-size: 14px;
        margin: 0 5px;
    }

    .contact-section {
        padding: 60px 0;
    }

    .main-footer .link-list {
        margin: 0 auto;
        text-align: center;
        display: flex;
        justify-content: center;
    }

    .main-footer p {
        text-align: center;
    }

    .services-box-inner .mb-md-5 p {
        padding: 0 10px;
    }

    .bordered-content {
        margin-top: 45px;
    }

    button.btn.btn-primary.submit-btn {
        margin: 0 auto;
        width: 70%;
    }

    .container {
        padding: 0 20px;
    }

    .organize {
        display: none;
    }

    .bordered-block {
        width: 90%;
    }

    .prec {
        display: none;
    }

    .prec-res {
        display: block;
        text-align: center;
        margin-top: 15px;
    }

    .prec-res.form-send-res {
        text-align: left;
    }
}

@media (max-width: 640px) {
    h1 {
        font-size: calc(7.5vw + 1rem);
    }

    h2 {
        font-size: calc(4vw + 1rem);
    }

    h3 {
        font-size: 25px;
    }

    /*  */
    .logo {
        top: -20px;
    }

    .bordered-content {
        background-image: none !important;
    }

    .bordered-content .bordered-block {
        background: var(--black);
        position: relative;
    }

    .bordered-block {
        position: relative;
        padding: 5%;
    }

    .bordered-block-in {
        padding: 5%;
        width: 100%;
        height: 100%;
        overflow: hidden;
        position: relative;
        background: var(--primaryColor);
    }

    .bordered-block-in:before {
        content: "";
        position: absolute;
        top: 3%;
        left: 3%;
        border: solid 1px var(--cream);
        width: 94%;
        height: 94%;
        z-index: 1;
    }

    .bordered-block .circle {
        position: absolute;
        top: -40px;
        left: -40px;
        width: 80px;
        height: 80px;
        border-radius: 50%;
        background: var(--black);
        display: block;
    }

    .bordered-block .circle:nth-child(2) {
        left: auto;
        right: -30px;
    }

    .bordered-block .circle:nth-child(3) {
        top: auto;
        bottom: -30px;
    }

    .bordered-block .circle:nth-child(4) {
        left: auto;
        top: auto;
        right: -30px;
        bottom: -30px;
    }

    .main-header .colCount {
        grid-template-columns: repeat(6, 1fr);
        position: relative;
        z-index: 10;
        max-width: 100%;
    }

    .main-header .colCount>.colSpan1 {
        padding: 5%;
        width: 100%;
        grid-column: span 6;
    }

    .main-header .colCount>.colSpan1:first-child {
        border-bottom: solid 1px var(--cream);
        border-right: none;
    }

    .menu-items {
        width: 100%;
        padding: 0;
    }

    .organize a {
        width: 90px;
        display: block;
        margin-top: -20px;
    }

    .banner {
        background-size: cover !important;
        background-attachment: scroll;
    }

    .companies .companies-images {
        justify-content: center;
    }

    .banner h1 {
        text-align: center;
        /*margin-top: 60%;*/
    }

    .banner h1 span {
        font-size: 14px;
        margin-top: 0px;
    }

    .btn-primary,
    .btn-secondary {
        height: auto;
        min-height: 42px;
    }

    .link-list {
        margin: 0 auto;
    }

    .banner .overlay {
        padding-bottom: 10%;
    }

    .c-box {
        padding: 20px 20px;
    }

    .companies ul {
        grid-template-columns: repeat(6, 1fr);
    }

    .companies ul li {
        grid-column: span 3;
        width: auto;
    }

    .services-box-inner {
        padding: 15px 15px 25px 15px;
    }

    .services-box .section-title {
        left: 50%;
        transform: translateX(-50%);
    }

    .modal-dialog {
        max-width: 92%;
    }

    .modal-content .btn-close {
        top: -6px;
    }

    .modal-box-inner {
        padding: 0 20px 20px 20px;
    }

    .modal-box-inner h2 {
        margin-bottom: 30px;
    }

    .modal-box-inner .section-title {
        left: 50%;
        transform: translateX(-50%);
        position: relative;
    }

    ul.menu-items {
        text-align: center;
    }

    .modal-box h2 {
        font-size: 30px;
    }
}

@media only screen and (device-width: 375px) and (device-height: 812px) and (-webkit-device-pixel-ratio: 3) {
    .main-header .trigger {
        z-index: 10000;
    }

    .menu {
        z-index: 9999;
    }

    .bordered-content {
        background-image: none;
        background-color: var(--primaryColor);
    }

    .bordered-content .bordered-block {
        background: var(--black);
        position: relative;
    }

    .bordered-block {
        position: relative;
        padding: 5%;
        margin-top: 15px;
    }

    .bordered-block-in {
        padding: 5%;
        width: 100%;
        height: 100%;
        overflow: hidden;
        position: relative;
        background: var(--primaryColor);
    }

    .bordered-block-in:before {
        content: "";
        position: absolute;
        top: 3%;
        left: 3%;
        border: solid 1px var(--cream);
        width: 94%;
        height: 94%;
        z-index: 1;
    }

    .menu-items li a {
        font-size: 20px;
    }
}