*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
 
}
.container{
    max-width: 1100px;
    border: 2px solid white;
}
.head{
    height: 150px;
    width: 100%;
    background-color:white; 
    text-align: center;
    color: white;
    padding: 15px;
    
}
.header{
    height: 100%;
    background-color:rgb(190, 11, 41);
    justify-content: center;
    text-align: center;
    align-items:center;
    font-size: xx-large;
    display: flex;
}

.container-centre{
    height: 450px;
    width: 100%;
    background-color:white;
    padding: 15px;
    flex-direction: row;
     
}

.centre{
    height: 100%;
    background-color: white;
    text-align: center;
    display: flex;
    justify-content: space-evenly;
    gap: 20px;
}
.nav{
    height: 100%;
    width: 25%;
    background-color: rgb(235, 126, 126);
    justify-content: center; 
    color: white;
    display: flex;
    text-align: center;
    align-items: center;
      
}
.main{
    height: 100%;
    width: 50%;
    background-color: rgb(107, 104, 104);
    justify-content: center; 
    color: white;
     display: flex;
    text-align: center;
    align-items: center;
}
.sidebar{
    height: 100%;
    width: 25%;
    background-color:rgb(235, 126, 126);
    justify-content: center;
    color: white;
     display: flex;
    text-align: center;
    align-items: center;
    
} 
.foot{
    height: 150px;
    width: 100%;
    background-color:white; 
    text-align: center;
    color: white;
    padding: 15px;
}
.footer{
    height: 100%;
    background-color:rgb(190, 11, 41);
    display: flex;
    font-size: xx-large;
    align-items: center;
    text-align: center;
    justify-content: center;
}
@media screen and (max-width:800px) {
    .header{
        font-size: large;
    }
    
    .centre{
        flex-direction: column;
    }
    .footer{
        font-size: large;
    }
    .nav{
        width: 100%;
    }
    .main{
        width: 100%;
    }
    .sidebar{
        width: 100%;
    }
} 
@media screen and (max-width:320px){
    .head{
        height: 100px;
    }
    .header{
        height: 80px;
    }
    .footer{
        height: 80px;
    }
    .centre{
        height: 240px;
    }
    .container-centre{
        height: 260px;
    }
}
