@media screen and (max-width:1400px) {
    .wrapper{
        width:970px;
    }
    .color-grid, .color-grid1{
        grid-template-columns: 1fr 970px 1fr;
    }
    .bejb{
        width:130px;
        height: 10px;
    }
    .hedlet {
        font-size: 60px;
    }
    .inst-button{
        margin-top:20px;
    }
    .nerzag {
        font-size: 20px;
    }
    .zagrid{
        align-items: end;
    }
    .gap40{
        grid-gap: 20px;
    }
    .sq-txt{
        font-size: 20px;
    }
    .absowhite{
        width:140px;
    }
    .ffl{
        display: none;
    }
    .peoples{
        z-index: -1;
        width:500px;
        right:89px;
    }
    .block4 .nerzag{
        font-size: 30px;
    }
    .jamf .absowhite{
        left: -130px;
    }
    .block8 .zag-border{
        top:180px;
    }
    .block9 .ffl{
        display: block;
    }
    .grido1{
        grid-template-columns: 220px 1fr;
    }
    .grido {
        grid-template-columns: 1fr;
        grid-template-rows: 1fr 1fr;
    }
    .block7 .grido{
        grid-template-rows: auto 1fr;
    }
    .grido .absowhite{
        display: none;
    }
    .greyclose {
        display: none;
    }
    .grido .bg-red{
        grid-template-columns: 1fr 1fr;
        justify-items: center;
    }
    .color-grid1{
        background: #005894;
    }
    .grido .gap10{
        grid-gap: 0px;
    }
    .wadd{
        height: 100%;
    }
    .ffl1{
        display: none;
    }
    .vvc{
        grid-template-columns: 1fr;
        grid-template-rows: 1fr;
    }
    .block9 .absowhite2{
        display: none;
    }
    .block9 .grido1 {
        grid-template-rows: auto 1fr;
    }
    .llz {
        margin-bottom: 30px;
    }
    .fffg{
        grid-template-rows: 1fr 1fr;
        grid-row-gap:40px;
    }
    .peoples{
        display: none;
    }
    .borda {
        display: none;
    }
    .boox {
        position: static;
        margin:20px auto 0px auto;
    }
    .block4{
        padding-bottom: 0px;
    }
    .color-grid1{
        grid-template-columns: 1fr;
    }
    .dsff{
        display: none;
    }
}

@media screen and (max-width:1040px) {
    .apflex {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      grid-row-gap: 30px;
      margin-top: 40px;
      grid-column-gap: 30px;
    }
    .wrapper{
        width:500px;
    }
    .color-grid, .color-grid1{
        grid-template-columns: 1fr;
    }
    .bluesmall, .redsmall{
        display: none;
    }
    .headgrid{
        width: 100%;
        grid-template-columns: 1fr;
        grid-template-rows: 1fr 1fr;
        grid-gap: 0;
    }
    .block1 .h70{
        height: 100% !important;
        bottom: 0 !important;
    }
    .headgrid .absblue {
        display: none;
    }
    .block1{
        padding: 0px;
    }
    .mobhead{
        padding: 30px 0px;
        text-align: center;
    }
    .inst-button{
        margin: 20px auto;
    }
    .mobhead .bejb{
        display: none;
    }
    .box1{
        margin:auto;
    }
    .color-grid{
        display: none;
    }
    .mobhead{
        display: block;
    }
    .fdfe{
        grid-template-columns: 1fr;
        grid-template-rows: 1fr 1fr 1fr;
    }
    .zag-border{
        display: none;
    }
    .zagrid {
        text-align: center;
        grid-template-columns: 1fr;
        grid-template-rows: 1fr 1fr;
    }
    .feer {
        border-bottom: solid #bb002b 4px;
    }
    .dsff{
        display: none;
    }
    .zag{
        text-align: center;
    }
    .map{
        bottom: 0px;
    }
    .jamf .baseflex{
        grid-template-columns: 1fr;
        grid-template-rows: auto auto;
    }
    .jamf .baseflex2{
        grid-template-rows: auto max-content auto;
    }
    .vertband {
        width:100%;
        height: 3px;
    }
    .block9 .jamf, .jamf{
        padding: 20px;
    }
    .block9 .jamf{
        text-align: center;
    }
    .faw, .giant {
        font-size: 70px;
    }
    .microgiant{
        font-size: 40px;
    }
}

@media screen and (max-width:1040px) {
    .wrapper{
        width:320px;
    }
    .stzag{
        font-size: 22px;
    }
    .box1{
        width: 100%;
    }
    .hedlet {
        font-size: 40px;
    }
    .block1{
        padding: 0px !important;
    }
    .block{
        padding:30px 0px;
    }
    footer .baseflex{
        flex-direction: column;
        justify-content: center;
        align-items: flex-start;
    }
}