

.layout{
    display: grid;
    grid-template-rows: auto auto auto ; /* You need to match the row template with amount of rows*/
    grid-template-columns: auto auto;

    width: 100%; /* Full view width*/
    height: 100%;/* Full view width*/
    grid-template-areas:    
    "header header"
    "main main"
    "footer footer";
}
.header{
    grid-area: header;
    border: 3px solid black;
    text-align: center;
    font-family: Arial;
    text-align: center;
    background-color: white;
    height: 150px;

}
.cert-section{
    grid-area: cert-section;
    border: 3px solid black;
    font-family: Arial;
    text-align: center;
    background-color: white;
    height: 500px;
}

.main{
    grid-area: main;
    border: 3px solid black;
    font-family: Arial;
    text-align: center;
    background-color: white;
    height: 500px;

}
.image-grid{
    grid-area: image-grid;
    border: 3px solid black;
    font-family: Arial;
    text-align: center;
    background-color: white;
    height: 500px;
}
.footer{
    text-align: center;
    grid-area: footer;
    border: 3px solid black;
    font-family: Arial;
    text-align: center;
    background-color: white;

}

img{
    max-width: 60%;
    max-height: 60%;
    display: block;
    object-fit: contain;
    margin-left: auto;
    margin-right: auto;
}

ul{
    list-style: none;
}

body.darkmode {
    background-color: #121212;
    color: #f0f0f0;
  }
  
  body.darkmode .layout,
  body.darkmode .header,
  body.darkmode .cert-section,
  body.darkmode .main,
  body.darkmode .image-grid,
  body.darkmode .footer {
    background-color: #1e1e1e;
    color: #f0f0f0;
    border-color: #333;
  }
  
  #darkModeToggle {
    position: absolute;
    top: 20px;
    right: 20px;
    padding: 8px 12px;
    background-color: #333;
    color: #fff;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.3s ease;
  }
  
  #darkModeToggle:hover {
    background-color: #555;
  }

