 @media all {

    
body {
    margin: 0px;
    width: 100dvw;
    background-color: #fff;
    overflow-x: hidden;
    overflow-y: auto;
    height: max-content;
}

p {
    width: 95%;
    justify-self: center;
    text-align: center;
}

#menu{
    margin: 0%
}

.content{
    margin: 0%;
    /* background: radial-gradient( rgb(138, 250, 138), var(--brandGreen)); */
    background: linear-gradient(90deg, #f3fbf4, #E8F5E9);
    z-index: 0;
    position: relative;
    width: 100dvw;
    

}

h1 {
    padding: 25px;
    padding-top: 20vh;
}


.content::before {
    content: '';
    position: absolute;
    bottom: 0; 
    left: 50%;
    transform: translateX(-50%);
    width: 100%; 
    height: 600px; 
    background-color: #fff; 
    clip-path: ellipse(100% 50% at 50% 100%); 
    z-index: -1; 
}

.tutor-levels {
    margin: 0;
    display: grid;
    grid-template-rows: repeat(3,max-content);
    gap: 20px;
    height: 190vh;
}

.tutor-levels> h1, .tutor-levels> h3 {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0%;
    margin: 0%  ;
    /* color: var(--textColour); */
    /* text-shadow: 0 .3rem .5rem rgba(0, 0, 0, .3); */
}


.tutor-levels> h3 {
    max-width: 38ch;
    width: 90%;
    text-align: center;
    justify-self: center ;

    color: var(--textColour);
    /* font-weight: 280; */
    padding-bottom: 0px;
    margin: 0%;
}

.tutor-levels > p {
    padding: 30px 0px;
    padding-top: 0px;
    max-width: 700px;
}

.tutor-levels > .cta-btn {
    padding: 0px;
    align-self: self-start;
}

.banner {
    display: grid;
    grid-template-columns: 1fr 600px 1fr;
    grid-template-rows: max-content;
    justify-content: center;
    top:250px;

}

.prev{
    grid-column: 1;
}

.next{
    grid-column: 3;
}

.prev, .next {
    justify-content: center;
    align-self: center;
    grid-row: 1;
}

.prev > img, .next >img {
    height: 50px;

}

.box:hover {
    border: lightskyblue solid 3px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

.box:nth-child(3n+2){
    border: solid rgb(93, 229, 218) 3px;
}

.box > h2 {
    color: var(--brandGreen);
    grid-row: 2;
    /* font-size: 24px; */   
    /* text-shadow: 0 .1rem .5rem    rgba(0, 0, 0, .2); */
}

.box > li {
    margin-bottom: 7px;
    font-size: 0.7rem;
    text-align: left;
    line-height: 1.5;
      list-style-type: '✔ ';
}

.box > h3{
    margin: 0%;
    margin-bottom: 14px; 
    grid-row: 3;
    color: rgb(12, 54, 17)
}

.tutor-img{
    justify-self:center;
    height: 50px;
    display: flex;
    align-self: center;
    margin: 0%;
    padding:0% ;
    border: 3px solid silver;
    border-radius: 50px;
    background-color: #a3e85e;
   
}

.banner h2{
    text-align: center;
}

.dot-container {
    display: none;
}


.enquire {
    align-self: center;
    border-radius: 10px;
    box-shadow: 0 .3rem 1rem rgba(0, 0, 0, .3);
    /* padding: 0% 5%; */
    background-color: #6a1b9a; 
    border: none;
    padding: 5px 10px;
    width: 50%;
    justify-self: center;
    transition: background-color 0.3s, transform 0.2s;
}

.enquire >a:hover {
    color: white;
}

.enquire:hover {
    background-color: #4a148c; 
    transform: scale(1.05);
}

.enquire > a {
    text-decoration: none;
    color: white;
}

p {
    margin: 0%;
    max-width: 90%;
    /* text-align: justify; */
}

#enquiry  { padding: 20px 0px;
    z-index: 10000000000;
    background-color: #fff;
}

#enquiry > h2 {
    justify-content: center;
    display: flex;
    font-family: 'Inter';
    padding: 30px;

}


.divider {
    height: 5px;
    background: linear-gradient(to right, #6A0DAD, #B39DDB);
    margin: 0;
}

form {
    display: flex;
    flex-direction: column;
    gap: 10px;

    margin: 0%;
    padding: 0%;
    width: 100vw;
    margin: auto;   
    align-items: center;

}

.enter {
    height:17px;
    justify-content: right;
    margin-left: 10px;
}

.inputs{
    width: 400px;
    height: 50px;
    border: var(--brandGreen) 1px solid;
    outline: none;
    padding-left: 25px;
    font-weight: 500;
    color: rgb(103, 110, 210);
    border-radius: 50px;

}

.submit{
    margin-bottom: 5vh;
}



input:focus, #query:focus {
    border: solid black 2px;
}

input::placeholder {
    color: grey;
}


textarea{
    height: 140px;
    padding-top: 15px;
    border-radius: 20px;
}

.contact button {
    display: flex;
    align-items: center;
    cursor: pointer;
    padding: 15px 30px;
    gap: 10px;
    border: none;
    border-radius: 50px;
    color: #fff;
    background: linear-gradient(270deg, #ff994f, #fa6d86);
    width: 150px;
    margin-top: 5vh;

}

.contact button img {
    height: 15px;
    color: azure;
}

.button {
    margin: auto;
    transition: background-color 0.3s ease, transform 0.3s ease;
    width: 100%;
    padding: 12px;
    background-color: blueviolet;
    color: white;
    border-radius: 20px;
    border: none;
    font-size: 1em;
    cursor: pointer;
    width: 20vw;
    margin-top: 5vh;
    }

    marquee {
        margin: 0px;
        padding: 0px;
        font-size: 1.2em;
        font-weight: bold;
        text-align: center;
        color: #4a4a4a;
        margin-bottom: 15px;
        margin-top: 15px;
    }


footer {
    margin-top: 10vh;
}   


.banner {
    width: 100%;
    height: 950px;
    text-align: center;
    position: relative;
}


.slider {
    grid-row: 1;
    position: absolute;
    height: max-content;
    top: 10vh; 
    justify-self: anchor-center;
    align-self: center;
    left: 0;
    transform-style: preserve-3d;
    transform: perspective(900px) rotateY(calc(var(--rotation, 0) * 1deg));
    will-change: transform;
    backface-visibility: hidden;
    transition: transform 0.5s ease; 
    /* 
    */
} 


 .box {
    border: rgba(192, 192, 192, 0.68) solid 3px;
    justify-content: center;
      -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background: linear-gradient(90deg, rgba(196, 252, 196, 0.237), rgba(95, 142, 95, 0.297));
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin: auto;
    border-radius: 21px;
    transition: box-shadow 0.3s ease;
    position: absolute;
    will-change: transform;
    backface-visibility: hidden;
    inset: 0;
    transform: rotateY(calc((var(--position) - 2) * (120deg / var(--quantity))))
    translateZ(350px); 
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    width: 250px; 
    height: 336px;
    /* background: linear-gradient(135deg, #e0e0f8, #b39ddb);  */
    background-color: #fff;
    padding: 15px;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-transform-style: preserve-3d;
    transform-style: preserve-3d;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    image-rendering: -webkit-optimize-contrast;
    } 

.nav-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    cursor: pointer;
    font-size: 1.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.left-button {
    left: 20px;
}

.right-button {
    right: 20px;
}


.nav-button:hover {
    background-color: rgba(0, 0, 0, 0.8);
} 







 }

 @media (max-width:1024px) {


    *{overflow-x: visible;}

    marquee { display: none;}

    .content {height: max-content;}
    .content::before {
        position: relative;
        border-top: 65vh solid #fff;
        width: 200%;
    }

        .banner {
        width: 100%;
        margin: 0px;
        grid-template-columns:  1fr ;
        
        overflow: hidden;
        overflow-x:visible;
        
    }
    
    .tutor-levels >h1{
        visibility: visible;
    }
    .tutor-levels >h2{
        visibility: visible;
        padding: 20px 0px;
    }
    .banner > .slider{
    height: 1000px;
    width: 100%;
    overflow-y: auto;
    position: relative;
    top: 0px;
    transform: none;
        

    }

    div.box{
        position: sticky;
        top: 0px;
        padding:50px;
        width: 350px;
        font-size: 20px;
        height: max-content;
        transform: none;
        display: grid;
        grid-template-rows: 80px max-content 1fr max-content max-content;
        /* box-shadow: 0 -5px ; */

    }

        div.box:nth-child(3n+2){
        top: 100px
    }
    div.box:nth-child(3n){
        top: 80px
    }

    .fakeBox{
        visibility: hidden;
    }

    .tutor-img {
        grid-row: 1;
        height: 70px;
    }

    .box > h2 {
        padding: 20px;
    }

    .box > h3 {
        padding: 20px;
    }

    .box > li {
        font-size: 1rem;
    }




    



    @keyframes fadeIn {
        0% { opacity: 0; }
        100% { opacity: 1; }
    }

    
    .prev, .next {
        display: block;
        font-size: 35px;
    }

    .prev {
        grid-row: 1;
        grid-column: 1;
    }


    .next {
        grid-row: 1;
        grid-column: 3;
    }

    .content::before{
        border-top: 0vh;
    }

    

    .prev, .next, .arrow{
        cursor: pointer;
        grid-row: 2;
        align-content: center;
        grid-column: 1;
        font-size: 70px;
        top: 60%;
        width: auto;
        color: #888;
        font-weight: bold;
        border-radius: 0 3px 3px 0;
        user-select: none;
        height: 50px;
        overflow: visible;
        align-self: center;
    }

    .next {
        grid-column: 3;
        grid-row: 1;
        display: none;

    }

    .prev {
        grid-column: 1;
        grid-row: 1 ;
        display: none;
    }

    .dot-container{
        display: block;
        grid-row: 2;
        grid-column: 1/3;
        text-align: center;
        padding: 20px;
        background: linear-gradient(rgb(142, 64, 197), blueviolet); 
        width: 100vw;
    }

    .prev:hover, .next:hover {
        color: white;
        opacity: 60%;
    }
    


      
      /* The dots/bullets/indicators */
      .dot {
        cursor: pointer;
        height: 15px;
        width: 15px;
        margin: 0 2px;
        background-color: #bbb;
        border-radius: 50%;
        display: inline-block;
        transition: background-color 0.6s ease;
      }
      
      /* Add a background color to the active dot/circle */
      .active, .dot:hover {
        background-color: #717171;
      }

      
    #enquiry {
        display: grid;
        width: 90%;
        height: max-content;
        padding: 50px 20px;

    }
    input, .inputs {
        width: 80%;
    }

      footer {
        margin: 0px;
      }
  
}

@media (min-width:1024px) {

    .levels{
        width: 100%;
        height: 100%;
        text-align: center;
        overflow: hidden;
        position: relative;

    }

    .box{
        position: absolute;
        width: 200px;
        height: 295px;
        top: 20%;
        /* padding: 40px; */
        /* left: calc(50% - 100px); */
        justify-self: center;

    }

.box > h2{
    font-size: 1rem;
    padding: 10px;
}

    .slider {
        display: grid;
        width: 50vw;
    }



    form {
        width: 95vw;
    }

}


@media (max-width:480px) {

    div.box {
        width: 250px;
        padding:30px;
    }

.tutor-img{
    height: 50px;
}

}