*{
    margin: 0;
    padding: 0;
}
html{
    height: 100%;
}
:root {
    --color-1: #71C9CE;
    --color-101: #a6e3e987;
    --color-3: #CBF1F5;
    --color-4: #d8f8f8;
}
body{
    background-image: url(images/bgg1.png);
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
    min-height: 100vh;
    display: grid;
    grid-template-areas: 
    "header"
    "nav"
    "main"
    "footer";
    grid-template-rows: auto auto 1fr auto;
    background-color: var(--color-4);
}
header{
    background-color: var(--color-1);
    grid-area: header;
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 999;
    border-bottom: var(--color-1) 2px solid;
    border-top: var(--color-1) 3px solid;

}
#logo {
    color: black;
    text-decoration: none;
    font-family: "Science Gothic", sans-serif;
    font-size: 8vmin;
    margin-right: 3vmin;
    margin-left: 2vmin;
}
.navigationbuttons{
    margin-right: 2vmin;
    text-decoration: none;
    color: black;
    font-family: "Outfit", sans-serif;
    font-size: 5vmin;
}
.navigationbuttons2{
    margin-left: 2vmin;
    text-decoration: none;
    color: black;
    font-family: "Outfit", sans-serif;
    font-size: 5vmin;
}
nav{
    display: none;
    background-color: var(--color-1);
}
#logo:active{
    transition: 0.1s;
    color: rgba(14, 191, 29, 0.371);
    text-shadow: rgb(14, 191, 29) 0px 0px 10px;
}
.navigationbuttons:active{
    transition: 0.1s;
    color: rgba(14, 191, 29, 0.371);
    text-shadow: rgb(14, 191, 29) 0px 0px 10px;
}
.navigationbuttons2:active{
    transition: 0.1s;
    color: rgba(14, 191, 29, 0.371);
    text-shadow: rgb(14, 191, 29) 0px 0px 10px;
}
#welcometextcontainer{
    background-color: rgba(255, 255, 255, 0.008);
    backdrop-filter: blur(5px);
}
@media(max-width: 540px){
    body{
        grid-template-rows: auto auto 1fr auto;
    }
    nav{
        display:block;
        font-size: 6.5vmin;        
    }
    .navigationbuttons{
        display: none;
    }
}

#welcomemessage{
    font-family: "Cinzel", serif;
    font-weight: normal;
    color: #006600;
    font-size: 13vmin;
    padding-top: 7vmin;
    margin-bottom: 0;
    line-height: 0.95;
    margin-left: 3vmin;

}
#welcomemessagetwo{
    font-family: "Outfit", sans-serif;
    font-weight: lighter;
    color: #009900;
    font-size: 7vmin;
    margin-top: 0;
    line-height: 0.95;
    margin-left: 3vmin;
    padding-bottom: 8vmin;
}
#topicscontainer{
    grid-area: topics;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    align-content: center;
    gap: 2vmin;
    padding: 0 2vmin;
}
#aritharith{
    max-width: 90vw;
    width: 48vmin;
    height: auto;
    aspect-ratio: 1 / 1.25;
    border-radius: 10px;
}
#topicscontainer a:active img,
#topicscontainer a:focus-visible img,
#topicscontainer a:active image,
#topicscontainer a:focus-visible image{
    transform: scale(0.98);
    filter: brightness(0.96);
}

  .search-container {
            display: flex;
            align-items: center;
            max-width: 500px;
            margin: 20px 0;
        }
        
        .search-input {
            flex: 1;
            padding: 10px 15px;
            font-size: 16px;
            border: 2px solid #ddd;
            border-radius: 25px 0 0 25px;
            outline: none;
            transition: border-color 0.3s;
        }
        
        .search-input:focus {
            border-color: #4CAF50;
        }
        
        .search-button {
            padding: 10px 20px;
            font-size: 16px;
            background-color: #4CAF50;
            color: white;
            border: none;
            border-radius: 0 25px 25px 0;
            cursor: pointer;
            transition: background-color 0.3s;
        }
        
        .search-button:hover {
            background-color: #45a049;
        }
#title111{
    font-family: 'outfit', sans-serif;
    font-weight: 300;
    font-size: 10vmin;
    text-shadow: black 0px 0px 3px;
    color: aquamarine;
    background-color: beige;
    backdrop-filter: blur(5px);
    padding-left: 2vmin;
    border-radius: 10px;
    border-style: solid;
    margin: 2vmin;
    text-align: center;
}
.simpletext{
    font-family: 'outfit', sans-serif;
    font-weight: 300;
    font-size: 5vmin;
    color: #00ff6a ;
    text-shadow: rgba(38, 3, 3, 0.768) 0px 1px 10px;
    margin: 1vmin;
    margin-left: 2vw
}
#description{
    font-size: 3vmin;
    font-family: 'outfit', sans-serif;
    background-color: #71c9ce;
    border: #2ecc71;
    color: white;
    text-shadow: black 0px 0px 5px;
    backdrop-filter: blur(5px);
    border-radius: 10px;
    margin: 2vmin;
    border-style: solid;
    padding-left: 1vw;
    padding-right: 1vw;
    padding-top: 1vh;
    padding-bottom: 1vh;
}
.videosformatone{
    width: 90vw;
    height: 50.62vw;    
    border-radius: 10px;
    border: white 3px solid;

    display: flex;
    justify-content: center;
}
.lessonsimages{
    width: 80vw;
}
.imagecontainer{
    display: flex;
    justify-content: center;
    margin: 5px;
}
.backbutton{
    text-align: center;
    align-content: center;
    width: 8vmin;
    height: 8vmin;
    border: solid rgba(128, 128, 128, 0.56) 1vmin;
    background-color: #2d9eca;
    box-shadow: 0px 1.3vmin 1px #18607c ;
    border-radius: 10%;
    color: rgba(255, 255, 255, 0.872);
    text-decoration: none;
    font-size: 6vmin !important;
    cursor: pointer;
    margin-left: 2vw;
    margin-right: 2vw;
}
.backbuttonactive:active{
    box-shadow: 0px 0vmin 0px #0d404e ;
    position: relative;
    top: 1.5vmin;
}
#backcontainer{
    display: flex;
    justify-content: start;

}