*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
#backToTop{
    position: fixed;
    bottom: 40px;
    right: 20px;
    width: 80px;
    height: 80px;
    padding: 10px 15px;
    background-color: rgb(4, 75, 136);
    outline: 2px solid rgb(2, 97, 180);
    font-size: 30px;
    color: gold;
    border-radius: 50%;
    border: none;
    display: none;
    cursor: pointer;
    z-index: 10;
}
#backToTop:hover{
    background-color: rgb(2, 97, 180);
    outline: 2px solid rgb(3, 127, 235);
    box-shadow: 2px -4px 8px rgb(54, 153, 240), -2px 4px 8px rgb(54, 153, 240);
}
.container{
    width: 100%;
    border: 4px solid #8B5A2B;
}
.over-lay{
    height: 120px;
    padding: 30px 10px 10px 30px;
    display: flex;
    gap: 360px;
    position: sticky;
    z-index: 4;
    background-color: wheat;
}
.logo-first-sec{
    display: flex;
}
.logo-txt > p{
    color: brown;
    font-size: 40px;
    font-weight: 700;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    text-shadow: 2px 2px 5px black;
}
.navigation{
    padding-top: 18px;
    display: flex;
    gap: 50px;
    position: relative;
}
.navigation > li{
    list-style: none;
    background-color:  #8B5A2B;
    padding: 7px 12px 7px 12px;
    border-radius: 30px;
}
.navigation >li:hover{
    cursor: pointer;
    list-style: none;
    background-color:  #8B5A2B;
    padding: 7px 12px 7px 12px;
    border-radius: 30px;
    animation: none;

}
.navigation > li:hover .hidden{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 7px;
}
.verb{
    grid-row: span 2;
}
.navigation > li:hover{
    border-top: 7px solid purple;
}
.navigation > li > a{
    color: gold;
    text-decoration: none;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
.hidden{
    display: none;
    width: 370px;
    height: 200px;
    background-color: white;
    opacity: 0.5;
    position: absolute;
    right: 200px;
    padding: 10px;
}
.hidden > li{
    list-style: none;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
.hidden > li > a{
    text-decoration: none;
    color: #8B5A2B;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
.hidden-2{
    display: none;
    width: 370px;
    height: 200px;
    background-color: white;
    opacity: 0.5;
    position: absolute;
    right: 70px;
    padding: 10px;
}
.hidden-2 > li{
    list-style: none;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
.hidden-2 > li > a{
    text-decoration: none;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #8B5A2B;
}
.navigation > li:hover .hidden-2{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 7px;
}
.header-con{
    padding-top: 100px;
    width: 100%;
    height: 300px;
    background-image: url(../media/phonics.jpg);
    border-bottom: 6px solid #8B5A2B;
}
h1{
    text-align: center;
    color: white;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    text-shadow: 5px 5px 5px gold;
    font-size: 50px;
}
.text-sec-1{
    width: 100%;
    height: 150vh;
    padding-left: 40px;
    background-size: cover;
    background-position: contain;
    border-bottom: 4px solid #8B5A2B;
    display: flex;
    gap: 60px;
}
.box{
    width: 400px;
    height: 85vh;
    padding-top: 50px;
    position: sticky;
    top: 0;
}
.box > p{
    color: #8B5A2B;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 20px;
}
.right{
    width: 60em;
    background-color: wheat;
    display: flex;
    flex-direction: column;
    gap: 30px;
}
.two{
    margin-left: 200px;
}
.bold{
    font-weight: bold;
    color: rgb(4, 75, 136);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
.second-topic{
    text-align: center;
    padding-top: 20px;
}
h2{
    color: rgb(4, 75, 136);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    text-shadow: 2px 2px 4px rgb(4, 75, 136);
}
.mid-sec{
    padding-top: 20px;
    display: flex;
    justify-content: center;
    gap: 40px;
}
.prim-lev{
    box-shadow: 2px 2px 5px rgba(12, 12, 12, 0.5);
    border-top-left-radius: 30px;
    border-top-right-radius: 30px;;;
}
.prim-lev-sub{
    background-color: rgb(4, 75, 136);
    padding-left: 30px;
    padding-right: 30px;
    padding-top: 10px;
    padding-bottom: 6px;
    border-top-left-radius: 30px;
    border-top-right-radius: 30px;
    text-align: center;
}
.prim-lev-sub > h3{
    color: white;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    text-shadow: 2px 2px 5px black;
}
.prim-lev-sub ~ p{
    padding-top: 10px;
    padding-bottom: 6px;
    border-bottom: 1px solid black;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
.prim-lev-sub ~ p::before{
    content: "✔️";
}
.mid-lev{
    box-shadow: 2px 2px 5px rgba(12, 12, 12, 0.5);
    border-top-left-radius: 30px;
    border-top-right-radius: 30px;
}
.mid-lev-sub{
    background-color: rgb(4, 75, 136);
    padding-left: 30px;
    padding-right: 30px;
    padding-top: 10px;
    padding-bottom: 6px;
    border-top-left-radius: 30px;
    border-top-right-radius: 30px;
    text-align: center;
}
.mid-lev-sub > h3{
    color: white;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    text-shadow: 2px 2px 5px black;
}
.mid-lev-sub ~ p{
    padding-top: 10px;
    padding-bottom: 6px;
    border-bottom: 1px solid black;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
.mid-lev-sub ~ p::before{
    content: "✔️ ";
}
.sec-lev{
    box-shadow: 2px 2px 5px rgba(12, 12, 12, 0.5);
    border-top-left-radius: 30px;
    border-top-right-radius: 30px;
}
.sec-lev-sub{
    background-color: rgb(4, 75, 136);
    padding-left: 30px;
    padding-right: 30px;
    padding-top: 10px;
    padding-bottom: 6px;
    border-top-left-radius: 30px;
    border-top-right-radius: 30px;
    text-align: center;
}
.sec-lev-sub > h3{
    color: white;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    text-shadow: 2px 2px 5px black;
}
.sec-lev-sub ~ p{
    padding-top: 10px;
    padding-bottom: 6px;
    border-bottom: 1px solid black;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
.sec-lev-sub ~ p::before{
    content: "✔️ ";
}
.min-head{
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.min-head > h2{
    text-align: center;
}
.method{
    margin-left: 30px;
    margin-right: 30px;
    padding: 20px 20px 20px 20px;
    display: flex;
    justify-content: center;
    gap: 60px;
    background-color: rgb(159, 204, 244);
    border-radius: 30px;
}
.method > p{
    font-weight: 600;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
.method > p::before{
    content: "✔️ ";
}
.method >p:nth-child(1){
    animation: glowingLetters 4s infinite ease-in-out;

}
@keyframes glowingLetters{
    0%{
        color: rgb(0, 0, 134);
        text-shadow: none;
    }
    20%{
        color: gold;
        text-shadow: 2px 2px 4px gold;
    }
    40%{
        color: rgb(0, 0, 134);
        text-shadow: none;
    }
    60%{
        color: rgb(0, 0, 134);
        text-shadow: none;
    }
    80%{
        color: rgb(0, 0, 134);
        text-shadow: none;
    }
    100%{
        color: rgb(0, 0, 134);
        text-shadow: none;
    }
}
.method >p:nth-child(2){
    animation: glowingLetters2 4s infinite ease-in-out;

}
@keyframes glowingLetters2{
    0%{
        color: rgb(0, 0, 134);
        text-shadow: none;
    }
    20%{
        color: rgb(0, 0, 134);
        text-shadow: none;
    }
    40%{
        color: gold;
        text-shadow: 2px 2px 4px gold;
    }
    60%{
        color: rgb(0, 0, 134);
        text-shadow: none;
    }
    80%{
        color: rgb(0, 0, 134);
        text-shadow: none;
    }
    100%{
        color: rgb(0, 0, 134);
        text-shadow: none;
    }
}
.method >p:nth-child(3){
    animation: glowingLetters3 4s infinite ease-in-out;

}
@keyframes glowingLetters3{
    0%{
        color: rgb(0, 0, 134);
        text-shadow: none;
    }
    20%{
        color: rgb(0, 0, 134);
        text-shadow: none;
    }
    40%{
        color: rgb(0, 0, 134);
        text-shadow: none;
    }
    60%{
        color: gold;
        text-shadow: 2px 2px 4px gold;
    }
    80%{
        color: rgb(0, 0, 134);
        text-shadow: none;
    }
    100%{
        color: rgb(0, 0, 134);
        text-shadow: none;
    }
}
.method >p:nth-child(4){
    animation: glowingLetters4 4s infinite ease-in-out;

}
@keyframes glowingLetters4{
    0%{
        color: rgb(0, 0, 134);
        text-shadow: none;
    }
    20%{
        color: rgb(0, 0, 134);
        text-shadow: none;
    }
    40%{
        color: rgb(0, 0, 134);
        text-shadow: none;
    }
    60%{
        color: rgb(0, 0, 134);
        text-shadow: none;
    }
    80%{
        color: gold;
        text-shadow: 2px 2px 4px gold;
    }
    100%{
        color: rgb(0, 0, 134);
        text-shadow: none;
    }
}
.moto{
    text-align: center;
}
.moto > p{
    font-size: 26px;
    font-style: italic;
}
.card-container{
    padding: 230px 20px 100px 20px;
    display: flex;
    gap: 20px;
}
.card{
    height: 500px;
    width: 300px;
    background-color: gold;
    padding: 20px 10px 20px 10px;
    border-radius: 30px;
    box-shadow: 2px 2px 10px black;
    filter: blur(4px);
}
.card >p:nth-child(1){
    color: rgb(4, 75, 136);
    font-weight: 700;
    font-family:'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 25px;
    margin-left: 37px;
}
.card >p:nth-child(2){
    color: rgb(4, 75, 136);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 19px;
}
.card >p:nth-child(3){
    color: rgb(4, 75, 136);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 19px;
}
.card-container .card:hover{
    filter: blur(0);
    transform: translateY(-10px) scale(1.05);
    cursor: pointer;
}
.bookaLesson{
    width: 100%;
    height: 400px;
    padding-top: 30px;
    background-color: #8B5A2B;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.bookaLesson >p{
    font-size: 40px;
    font-weight: 600;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: gold;
    text-shadow: 2px 2px 8px gold;
}
.bookaLesson >P:nth-child(2){
    margin-top: 30px;
    font-size: 20px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: gold;
    text-shadow: none;
    font-weight: 400;
}
.logoSec{
    display: flex;
    gap: 30px;
    padding-top: 10px;
}
.first-logo >p{
    color: gold;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
.second-logo >p{
    color: gold;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
.third-logo >p{
    color: gold;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
.btn-bookNow{
    width: 120px;
    height: 50px;
    margin-top: 50px;
    border: o.25em solid rgb(248, 225, 93); 
    background-color: gold;
    border-radius: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: glow 20s infinite ease-in-out;
    transition: border 9s ease-in-out;
}
@keyframes glow{
    0%{
        box-shadow: none;
        transform: scale(0.89);
    }
    10%{
        box-shadow: 0 0 1em 0.25em rgb(249, 238, 172), 0 0 4em 1em rgba(255, 235, 121, 0.781);
        transform: scale(1);
    }
    20%{
        box-shadow: none;
        transform: scale(0.89);
    }
    30%{
        box-shadow: 0 0 1em 0.25em rgb(249, 238, 172), 0 0 4em 1em rgba(255, 235, 121, 0.781);;
        transform: scale(1);
    }
    40%{
        box-shadow: none;
        transform: scale(0.89);
    }
    50%{
        box-shadow: 0 0 1em 0.25em rgb(249, 238, 172), 0 0 4em 1em rgba(255, 235, 121, 0.781);;
        transform: scale(1);
    }
    60%{
        box-shadow: none;
        transform: scale(0.89);
    }
    70%{
        box-shadow: 0 0 1em 0.25em rgb(249, 238, 172), 0 0 4em 1em rgba(255, 235, 121, 0.781);;
        transform: scale(1);
    }
    80%{
        box-shadow: none;
        transform: scale(0.89);
    }
    90%{
        box-shadow: 0 0 1em 0.25em rgb(249, 238, 172), 0 0 4em 1em rgba(255, 235, 121, 0.781);;
        transform: scale(1);
    }
    100%{
        box-shadow: none;
        transform: scale(0.89);
    }
}
.btn-bookNow > a{
    color: #8B5A2B;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-weight: 500;
    text-decoration: none;
}