:root{
    --headerbg:  hsl(194, 89%, 43%);
    --fontclr1: white;
    --fontclr2: wheat;
}

*{
    left: 0;
    right: 0;
}

body {
    font-family: Arial, sans-serif;
    margin: 0;
    box-sizing: border-box;
}
.main{
    margin: 0; 
}
.footer{ 
    display: flex; 
    gap: 10px;
    margin: 0;
    padding: 10px;
    background-color: var(--headerbg);
    color: var(--fontclr1);
    a{
        color: var(--fontclr1);
        text-decoration: none;
    }
}
.header{  
    margin: 0; 
    background-color:  var(--headerbg);
    color: var(--fontclr1);
    align-content: center;  
    width: 100%;
    height: 100px;
    position: sticky;   /* Make the header sticky */
    top: 0;             /* Stick it to the top of the page */
    z-index: 1000;      /* Ensure it's on top of other elements */
    box-shadow: 0 4px 2px -2px gray;  /* Add a shadow for effect */
} 

.header h1{
    display:  block;
    text-align: center; 

    margin: 10px;
    padding: 0;
}

.header p{
    text-align: center;
}
.personprofile{
    display:  block;  
}
.content{ 
    margin: 20px;
    margin-bottom: 100px;
}
h3 {
    text-align: center; 
}
.question {
    margin-bottom: 20px;
    background-color: rgb(174, 174, 177);
    border-radius: 5px;
    padding: 20px;
}
.question h2 {
    font-size: 18px;
    margin-bottom: 10px;
    color: rgb(9, 73, 23);
}
.answers {
    margin-left: 20px;
}
.answers label {
    display: block;
    margin-bottom: 5px;
}

.answer{
    visibility: hidden;
    padding: 5px;
}

.endoftext{
    text-align: center; 
}
.endoftext::before{
    content: "***"; 
    margin-bottom: 0;
}
.endoftext::after{
    content: "***";
}

a{
    text-decoration: none;
}
 

    #timer {
        position: sticky;
        font-size: 24px;
        color: red; 
        font-weight: bold; /* Make the font bold */
        text-align: start; /* Center align the timer */
        
    width: 100%; 
    position: sticky;   /* Make the header sticky */
    top: 0;             /* Stick it to the top of the page */
    z-index: 1000;      /* Ensure it's on top of other elements */
    box-shadow: 0 4px 2px -2px gray;  /* Add a shadow for effect */
    }

    .xbtn{ 
        background-color: hsl(194, 71%, 20%);
        color: var(--fontclr2);
        padding: 5px;
        border-radius: 5px;
        cursor: pointer;
    }
    .xbtn:hover{
        width: 150px;
        background-color: hsl(194, 80%, 10%);
        margin-block-end: 5px;
        margin-inline-end: 5px; 
        transition: .2s;
    }
    .submitbtn{
        position: sticky;
        bottom: 0;
        float: inline-end;  
        background-color: hsl(194, 71%, 20%);
        color: var(--fontclr2);
        padding: 5px;
        border-radius: 5px;
        cursor: pointer;
    } 


 
    .header ul{
        display: block;
        top: 0; 
        text-align: center;
    }
    .header ul li{
        display: inline; 
    }
    .header ul li a{
        display: inline-block;  
        color: var(--fontclr1);
        padding: 10px;
    }
 




    .main{
        margin: 50px;
    }
    .Question{
        padding-left: 20px;
        margin-bottom: 20px;
    }
    .ulQuestion{
        margin: 10px;
    }