@font-face {
    font-family: 'Chiron GoRound TC';
    src: url('../fonts/ChironGoRoundTC-VariableFont_wght.ttf') format('truetype');
    font-weight: 100 900; /* Variable font weight range */
    font-style: normal;
}
:root {
    --bg: #fdfdfd;
    --bg2: #f4f4f4;
    --black: #181a20;
    --appWidth: 1280px;
    --green: #75a702;
    --tinityPink: #A6034F;
    --tinityBlue: #005CB4;
    --darkBlue: #1b2c5b;
    --navHeight: 70px;
}

/* @media screen and (max-width: 720px) {
    :root {
        --containerWidth: 100vw;
      }
} */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    outline: none;
    cursor: default;
    -webkit-touch-callout: none;
    -webkit-user-drag: none;
    -webkit-tap-highlight-color: #00000000;
    touch-action: manipulation;
    -ms-touch-action: manipulation;
    /* touch-action: pan-y; Allow only vertical panning */
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    /* overscroll-behavior: none; Prevent overscroll and refresh */
    font-family: "Chiron GoRound TC", serif;
    font-optical-sizing: auto;
    font-weight: 600;
    font-style: normal;
    color: var(--black);
}
html {
    width: 100%;
    height: 100%;
    overscroll-behavior: none; /* Prevent overscroll and refresh */
    touch-action: pan-y; /* Allow only vertical panning */
    scroll-behavior: smooth;
}
body {
    background-color: var(--bg2);
    display: flex;
    justify-content: center;
    align-content: flex-start;
    align-items: center;
    flex-wrap: wrap;
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
    height: auto;
    /* overflow: hidden; */
    margin:0;
}
a {
    text-decoration: none;
    color: var(--black);
}
footer {
    width: 100%;
    height: calc(var(--navHeight) * 0.75);
    box-shadow: 1px -1px 5px 1px #858585ab;
    background-color: var(--bg2);
    font-size: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 50px;
}
nav {
    width: 100%;
    height: var(--navHeight);
    /* position: relative; */
    display: flex;
    justify-content: center;
    align-items: center;
    /* border-bottom: 2px solid var(--tinityBlue); */
    box-shadow: -1px 1px 5px 1px #858585ab;
    background-color: var(--bg2);
    z-index: 100;
}
#navBox {
    width: var(--appWidth);
    height: var(--navHeight);
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding: 10px 8px;
    /* border-bottom: 2px solid var(--tinityBlue);
    box-shadow: -1px 1px 5px 1px #858585ab;
    background-color: var(--bg); */
    /* box-shadow: -1px 1px 5px 1px #858585ab, inset 0px -2px 3px -1px #555555ab; */
    /* box-shadow: 0px 1px 1px 0px #858585ab, inset 0px -2px 3px -1px #555555ab;
    border-bottom-right-radius: 7px;
    border-bottom-left-radius: 7px; */
}
#logo {
    height: 80%;
    margin-right: auto;
}
#logo img {
    height: 80%;
}
#links {
    display: flex;
    align-items: center;
    z-index: 3;
}
#links > a {
    margin: 0 10px;
    font-size: 18px;
    font-weight: 600;
}
#links > a:hover {
    cursor: pointer;
}
.activeNav {
    border-bottom: 1px dashed var(--green);
    font-style: italic;
}
#cart {
    /* height: 80%; */
    margin-left: 5px;
    display: flex;
    align-items: center;
    align-content: flex-end;
    cursor: pointer;
    border-radius: 5px;
    border: 1px dashed var(--green);
    padding: 5px 10px;
    font-size: 16px;
    box-shadow: -4px -4px 10px 0 #dfdfdf, 4px 4px 10px 0 #d1d1d1;
}
#cart p {
    font-weight: 700;
    cursor: pointer;
}
#burgerMenu {
    width: calc(var(--navHeight) * 0.6);
    height: 100%;
    display: none;
    margin-left: 10px;
    position: relative;
    overflow: hidden;
}
#burgerMenu img {
    height: 100%;
    position: absolute;
    top: 100%;
    left: 0;
    display: flex;
    transition: 0.2s;
}
#burgerMenu img.active {
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}
#homePageWrap {
    width: var(--appWidth);
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}
#homePageWrap h1 {
    text-align: center;
    margin: 30px auto 40px;
}
.whatWeOffer {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}
.whatWeOffer h2, #addSchool h2 {
    margin: 10px auto;
    width: 100%;
    text-align: center;
}
.whatWeOffer p {
    width: 70%;
    text-align: left;
    margin-bottom: 10px;
}
#schoolsSlider {
    width: 100%;
    box-shadow: -4px -4px 10px 0 #dfdfdf, 4px 4px 10px 0 #d1d1d1;
    border-radius: 11px;
    border: 1px dashed #dddddd;
    overflow: hidden;margin: 20px auto;
    margin: 40px auto;
    padding: 20px 5px;
}
#schoolsSlider h2 {
    width: 100%;
    text-align: center;
}
#actionAllSchools {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}
#actionAllSchools a, #addSchool a {
    width: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    border-top: 1px solid var(--green);
    border-bottom: 1px solid var(--green);
    padding: 6px;
    margin-top: 3px;
    cursor: pointer;
}
#addSchool a {
    margin: 10px auto 30px auto;
}
.logoSlider{
    width:100%;
    overflow:hidden;
    position:relative;
    padding: 20px 0;
}
.logoSlider::before,
.logoSlider::after{
    content:"";
    position:absolute;
    top:0;
    width:120px;
    height:100%;
    z-index:2;
    pointer-events:none;
}

.logoSlider::before{
    left:0;
    background:linear-gradient(to right, var(--bg2) 0%, transparent 100%);
}

.logoSlider::after{
    right:0;
    background:linear-gradient(to left, var(--bg2) 0%, transparent 100%);
}
.logoTrack{
    display:flex;
    width:max-content;
    animation: scroll 50s linear infinite;
}

.logoSlide{
    display:flex;
    gap:40px;
    padding-right:40px;
}

.logoSlide a {
    width: auto;
    height:120px;
    transition:transform 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}
.logoSlide img{
    height:100%;
    transition:transform 0.3s;
    cursor: pointer;
}

.logoSlide img:hover{
    transform:scale(1.1);
}

@keyframes scroll{
    from{
        transform: translateX(0);
    }
    to{
        transform: translateX(-50%);
    }
}

/* pause при hover */
.logoSlider:hover .logoTrack{
    animation-play-state: paused;
}

#addSchool p {
    width: 70%;
    text-align: center;
    margin: 20px auto 10px auto;
}
#actionAddSchool {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

@media screen and (max-width: 768px) {   
    :root {
        --appWidth: 95vw;
        --navHeight: 50px;
    }
    #burgerMenu {
        display: flex;
    }
    nav {
        height: calc(var(--navHeight) + 10px);
        border-bottom: none;
        box-shadow: none;
    position: fixed;
    top: 0;
    left: 0;
    }
#links {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: absolute;
    top: 120vh;
    left: 0;
    width: 100%;
    height: calc(100vh - var(--navHeight));
    background-color: var(--bg2);
    transition: 0.6s;
    opacity: 0.99;
}
#links.open {
    left: 0;
    top: var(--navHeight);
}
#links > a {
    margin: 15px 10px;
    font-size: 22px;
    font-weight: 700;
}
#cart {
    font-size: 14px;
}
#homePageWrap h1 {
    text-align: center;
    margin: 0px auto 40px;
    padding-top: calc(var(--navHeight) + 20px);
    font-size: 27px;
}
.whatWeOffer h2, #addSchool h2 {
    margin: 10px auto;
    width: 100%;
    text-align: center;
}
.whatWeOffer p {
    width: 88%;
    text-align: left;
    margin-bottom: 10px;
}
#schoolsSlider h2 {
    font-size: 18px;
}
.logoSlide a {
    width: auto;
    height:80px;
    transition:transform 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

}