    /* Reset & Font*/
* {
    margin: 0px;
    padding: 0px;
    box-sizing: border-box;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 
                 Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

    /* Header */   
header {
    padding: 20px;
    grid-area: header;
    text-align: center;
}
.logo img {
    /* object-fit: cover; */
    border-radius: 50%;
    width: 150px;
    height: 150px;
    margin-left: 60px;
    margin-top: 20px;
    position: fixed;
}
h2 {
    text-align: center;
}

    /* Navbar */
.navbar {
    padding: 20px;
    grid-area: nav;
    text-align: center;
    line-height: 50px;
    font-size: 16px;
    position: fixed;
    top: 180px;
    bottom: 0;
    overflow-y: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}
.navbar::-webkit-scrollbar {
  display: none;
}
nav ul {
    list-style: none;
    margin-left: 50px;
}
nav ul li a {
    text-decoration: none;
    color: var(--text-color);
}
nav ul li :hover {
    color: gray;
    text-decoration: underline;
}

/* Dark Mode Toggle Button */
:root{
  --base-color: white;
  --base-variant: #e8e9ed;
  --text-color: #111528;
  --secondary-text: #232738;
  --primary-color: #3a435d;
  --accent-color: #0071ff;
}
.darkmode{
  --base-color: #070b1d;
  --base-variant: #101425;
  --text-color: #ffffff;
  --secondary-text: #a4a5b8;
  --primary-color: yellow;
  --accent-color: #0071ff;
}
button{
  border: none;
  padding: .8em 2em;
  background-color: var(--primary-color);
  color: white;
  border-radius: 4px;
  font: inherit;
  text-transform: uppercase;
  font-weight: 500;
  cursor: pointer;
}
.cta-button{
  background-color: var(--accent-color);
}
#theme-switch{
  height: 40px;
  width: 40px;
  padding: 0;
  border-radius: 50%;
  background-color: var(--base-variant);
  display: flex;
  justify-content: center;
  align-items: center;
  position: fixed;
  top: 20px;
}
#theme-switch svg{
  fill: var(--primary-color);
}
#theme-switch svg:last-child{
  display: none;
}
.darkmode #theme-switch svg:first-child{
  display: none;
}
.darkmode #theme-switch svg:last-child{
  display: block;
}

    /* Body */
body {
    height: 100vh;
    margin-inline: 5%;
    display: grid;
    grid-template-areas: 
        'logo header header'
        'nav content content'
        'nav footer footer';
    grid-template-columns: 0.7fr 3fr;
    grid-template-rows: 110px 1fr;
    
    background-color: var(--base-color);
    color: var(--text-color);
}

hr {
    width: 80%;
    margin: auto;
}

    /* Main */
main {
    padding: 20px;
    grid-area: content;
    text-align: left;
    line-height: 28px;
    margin-right: 10%;
    margin-left: 10%;
}
a {
    color: var(--text-color);
}
.center {
    text-align: center;
}
.grid-container {
    display: grid;
}

    /*Footer  */
footer {
    padding: 20px;
    grid-area: footer;
    text-align: center;
    font-size: 12px;
}