* {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    margin: 0%;
    padding: 0%;
    box-sizing: border-box;
    /* background-color: antiquewhite; */
}

body {
    background-color: rgb(227, 235, 243);
}
.class{
   font-size: 1.5rem;
}
header {
    background: rgb(49, 143, 143);
    height: 100px;
    width: 100%;
    border-radius: 0.5rem;
}
.logo{
    border-bottom: solid rgb(255, 251, 251);
    color: antiquewhite;
}

.header-child {
    color: rgb(14, 105, 185);
    margin: 0%;
    display: flex;
    /* align-content: center; */
    /* flex-direction: row-reverse; */
    /* align-items: stretch; */
    justify-content: space-between;
}
.header-child h1 {
    margin-left: 2rem;
}

.ul {
    margin-top: 2rem;
    /* width: 100%; */
    /* background-color: antiquewhite; */
}

.header-child .ul li {
    display: inline;
    margin: 1.5rem;

    list-style: none;
}

.header-child .ul li a {
    color: rgb(247, 247, 247);
    text-decoration: none;
    font-size: 1.5rem;
    margin-top: 1rem;
    transition: all 0.8s;
}

.header-child .ul li a:hover {
    color: yellow;
    font: bold;
    border-bottom: solid yellow 1px;
    transition: all 0.8s;
}

.container {
    /* text-align: center; */
    width: 100%;
    height: 450px;
    border-radius: 2rem;
    margin-top: 0.5rem;
    border: solid gray;
    background: url("https://png.pngtree.com/background/20210711/original/pngtree-school-courseware-student-blackboard-banner-picture-image_1076028.jpg");
    background-color: white;
}

h1 {
    color: rgb(228, 215, 215);
    margin-top: 2.2rem;
    margin-left: 2rem;
    text-align: center;
}

section h2 {
    color: rgb(237, 228, 228);
    margin-top: 3rem;
    text-align: center;
    margin-left: 1.5rem;

}

.qutions {

    height: 418px;
    width: 100%;
    align-items: center;
}
h1{
    color:black;
}
.q1 {
    display: contents;
    height: 423px;
    border: solid 1px;
   font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    margin-top: 0.5rem;
    border-radius: 10px;
    color: #000;
    width: 500px;
    background-color: rgb(49, 143, 143);
}

.q1:hover {
    border: solid rgb(247, 241, 241);
}
.button-btn{
    background-color: rgba(0, 0, 0, 0.077);
    width: 586px;
    border-radius: 1.5rem;
    height: 15rem;
    margin-top: 1.5rem;
    /* display: grid;
    grid-template-columns: repeat(auto-fit,minmax(250px,1fr)); */
}
.qutions button {
    padding: 8px;
    width: 162px;
    font-size: 12px;
    height: 68px;
    align-items: center;
    cursor: pointer;
    border-radius: 1rem;
    outline: none;
    border: solid red 2px;

    margin: 1.1rem;
}

.qutions button:hover {
    border: solid wheat;
}

.button-btn {
    /* margin-top: 150px; */
    /* display: grid;
    grid-template-columns: repeat(auto-fit,minmax(550px,1fr)); */
    display: block;
    align-items: stretch;
    justify-content: space-between;
    align-content: center;
    justify-items: center;

}

footer {
    background-color: green;
    color: white;
    font-size: 1rem;
    width: 100%;
    text-align: center;
    justify-content: center;
    display: flex;
}
footer #res.ult {
    font-size: 2.2rem;
}

.open,
.close{
   display: none;
}
@media only screen and (max-width: 800px) {
    body {
        background-color: rgb(182, 204, 212);
    }

    .button-btn {
        /* margin-top: 150px; */
        /* display: grid;
    grid-template-columns: repeat(auto-fit,minmax(550px,1fr)); */
        display: block;
        align-items: stretch;
        justify-content: space-between;
        align-content: center;
        justify-items: center;
    }
    .logo{
       
        border-bottom: solid black;
    }
.menubar{
    margin-left: 55px;
}
    .q1 {
        color: #000;
        font-size: 13px;
        height: 423px;
        width: 100%;
    }
    .class{
        font-size: 1rem;
        padding-right: 20px;
     }
     .button-btn{
        background-color: rgba(0, 0, 0, 0.077);
        width: 100%;
        /* display: grid;
        grid-template-columns: repeat(auto-fit,minmax(250px,1fr)); */
    }
    /* .button-btn{
    padding: 19px;
    width: 162px;
    font-size: 29px;
    height: 68px;
    border-radius: 1rem;
    outline: none;
    border: solid red 1px;
    margin: 0.1rem;
} */
header{
    position: relative;
    
    
}
.open,
.close{
    display: block;
    position: absolute;
    color: rgb(233, 219, 219);
    font-size: 2.5rem;
    gap: 2rem;
    top: 2rem;
    left: 80%;border: solid;
    border-radius: 0.5rem;
    margin: auto;
}

.close-active{
    opacity: 0;
display: none;
}
.open-active{
    display: none;
    opacity: 0;
}
.ul {
    border: solid rgb(229, 225, 218)2px;
    position: absolute;
    top: 5.5rem;
   transition: all 0.5s;
    left: -50rem;
    background-color: rgb(13, 77, 156);
    width: 100%;
    align-items: center;
    height: 50vh;
    display: flex;
    flex-direction: column-reverse;
    /* width: 100%; */
    /* background-color: antiquewhite; */
}
.active-ul {
    position: absolute;
    top: 5.5rem;
    left: 0rem;
    background-color:rgb(49, 143, 143);
    width: 100%;
    align-items: center;
    height: 50vh;
    display: flex;
    flex-direction: column-reverse;
    /* width: 100%; */
    /* background-color: antiquewhite; */
}
    h1 {
        color: rgb(19, 4, 4);
        margin-top: 2.2rem;
        /* margin-left: 2rem; */
        text-align: center;
    }

    .qutions button {
        padding: 10px;
        width: 161px;
        font-size: 10px;
        height: 68px;
        border-radius: 1rem;
        outline: none;
        border: solid red 1px;

    }

    @media only screen and (max-width: 406px) {
        .qutions button {
            padding: 10px;
            width: 100px;
            font-size: 10px;
            height: 68px;
            border-radius: 1rem;
            outline: none;
            border: solid red 1px;

        }
    }

    .qutions {

        height: 467px;
        width: 100%;
        border-radius: 10px;
        align-items: center;
    }
}