body {
  font-family: "Verdana", sans-serif;
  background-color: #f9ffdb;
}

header a {
  text-decoration: none;
  color: #000;
}

.text {
  color: #000;
  font-family: "Genos", sans-serif;
  font-optical-sizing: auto;
  font-size: 40pt;
  font-style: normal;
  z-index: 2;
}

.square {
  height: 30px;
  width: 30px;
  /*   background-color: #84ee00; */
  background-color: #76d105;
  border-radius: 5px;
}

header {
  padding-bottom: 10px;
  padding-left: 10px;
  padding-right: 10px;
}

.square-container {
  margin-left: auto;
  mask-image: linear-gradient(135deg, #000, transparent);
  display: grid;
  grid-template-columns: repeat(7, 1fr); /* 6 columns */
  grid-template-rows: repeat(2, auto); /* 3 rows */
  gap: 10px; /* space between boxes */
  width: fit-content; /* optional, or use fixed width */
}

.banner {
  display: flex;
  padding-bottom: 10px;
  border-bottom: 1px #cee64a solid;
}

.link {
  font-family: "Genos", sans-serif;
  font-size: 16pt;
  width: 120px;
  height: 40px;
  background-color: #fefe54;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  border: 3px solid #cee64a;
}

.link:hover {
  background-color: #cee64a;
  border: 3px solid #fefe54;
}

h1 {
  color: #76d105;
  font-family: "Genos", sans-serif;
  font-size: 40pt;
  margin-block-start: 0px;
  margin-block-end: 0px;
  text-align: center;
  line-height: 0.8em;
}

h2 {
  font-family: "Genos", sans-serif;
  width: 300px;
  background-color: #76d105;
  color: #f9ffdb;
  padding: 3px;
  padding-left: 9px;
  font-size: 1.5em;
  border-top-right-radius: 30px;
  border-bottom-right-radius: 30px;
}

pre {
  width: 600px;
  overflow: scroll;
  padding: 10px;
  border-radius: 10px;
  background-color: #ffebfe;
  border: 1px dashed #a300ff;
}

figure {
  text-align: center;
}
.big-image {
  max-width: 40%;
}



.content a {
  color: #c224e3;
  border-bottom: 1px solid #c224e3;
  /*   padding-bottom: .em; */
  text-decoration: none;
}

.content a:hover {
  color: #de50fc;
background-image: url("data:image/svg+xml;charset=utf8,%3Csvg id='squiggle-link' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' xmlns:ev='http://www.w3.org/2001/xml-events' viewBox='0 0 20 4'%3E %3Cpath fill='none' stroke='%23de50fc' stroke-width='2' class='squiggle' d='M0,3.5 c 5,0,5,-3,10,-3 s 5,3,10,3 c 5,0,5,-3,10,-3 s 5,3,10,3'/%3E%3C/svg%3E");
  background-position: bottom;
  background-repeat: repeat-x;
  mask-image: linear-gradient(135deg, #c224e3, #c224e3);
  background-size: 13px;
  border-bottom: 0;
  padding-bottom: 0.1em;
  text-decoration: none;
}

.content {
  padding-left: 30px;
  padding-right: 30px;
  line-height: 1.4em;
}

ul.intra-page {
    background-color: #bded81;
    width: 300px;
    padding: 10px;
    border-radius: 10px;
    list-style-type: none;
}

ul.intra-page li {
  padding-left: 10px;
}

/* 
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
BIG screen 
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
*/
@media (min-width: 900px) {
  #side-menu {
    display: none;
  }
  .container {
    flex-grow: 1;
    min-height: 100vh;
    padding: 10px;
    margin-top: 20px;
    display: grid;
    grid-template-columns: 200px 3fr; /* Two equal columns */
    gap: 20px; /* Space between columns */
  }

  /* Reference: https://www.w3schools.com/howto/howto_css_dropdown.asp */
  .dropdown-content {
    min-width: 153px;
    z-index: 1;
    padding-top: 5px;
  }

  .dropdown-content a {
    display: block;
    color: #000;
    font-family: "Genos", sans-serif;
    font-size: 13pt;
    background-color: #d4ed6d;
    padding: 8px;
    text-decoration: none;
    border-top: 1px #fff solid;
    border-radius: 10px;
    transition: transform 0.2s ease;
  }
  .dropdown-content a:hover {
    background-color: #ceff04;
    left: 30px;
    transform: translateX(10px);
  }

  nav {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }
}

/* 
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Mid screen 
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
*/
@media (max-width: 900px) and (min-width: 600px) {
  #side-menu {
    display: none;
  }
  .container {
    flex-grow: 1;
    min-height: 100vh;
    padding: 10px;
    margin-top: 20px;
  }

  .dropdown:hover .dropdown-content {
    display: flex;
    flex-direction: column;
    gap: 3px;
  }

  .dropdown {
    position: relative;
    display: inline-block;
  }

  /* Reference: https://www.w3schools.com/howto/howto_css_dropdown.asp */
  .dropdown-content {
    display: none;
    position: absolute;
    min-width: 153px;
    z-index: 1;
    padding-top: 5px;
    background-color: #fff;
  }

  .dropdown-content a {
    display: block;
    color: #000;
    font-family: "Genos", sans-serif;
    font-size: 13pt;
    background-color: #d4ed6d;
    padding: 8px;
    text-decoration: none;
    border-top: 1px #fff solid;
    border-radius: 10px;
  }
  .dropdown-content a:hover {
    background-color: #ceff04;
    left: 30px;
  }

  nav {
    display: flex;
    justify-content: center;
    flex-direction: row;
    gap: 10px;
  }
}

/* 
------------------------------------------------------------------------------------------------------------------------------------------
Smallest screen 
------------------------------------------------------------------------------------------------------------------------------------------
*/
@media (max-width: 600px) {
  .content {
  padding-left: 10px;
  padding-right: 10px;
}
  .hamb-line {
    background: #76d105;
    display: block;
    height: 2px;
    position: absolute;
    width: 24px;
    top: 40px;
    right: 15px;
  }

  input:hover {
    cursor: pointer;
  }

  .hamb-line::before,
  .hamb-line::after {
    background: #76d105;
    content: "";
    display: block;
    height: 100%;
    position: absolute;
    transition: all 0.2s ease-out;
    width: 100%;
  }
  .hamb-line::before {
    top: 5px;
  }
  .hamb-line::after {
    top: -5px;
  }

  nav {
    display: none;
    flex-direction: column;
    gap: 10px;
    justify-content: left;
  }
  
  .side-menu {
    position: fixed;
    height: 50px;
    width: 40px;
    top: 0px;
    right: 0px;
    opacity: 0;
    -webkit-tap-highlight-color: transparent;
  }

  .link {
    width: 100%;
  }

  .side-menu:checked ~ nav {
    display: flex;
  }
  .container {
    flex-grow: 1;
    min-height: 100vh;
    padding: 10px;
    margin-top: 20px;
  }

  .square-container {
    display: none;
  }
  
/* Reference: https://www.w3schools.com/howto/howto_css_dropdown.asp */
  .dropdown:hover .dropdown-content {
    display: flex;
    flex-direction: column;
  }

  .dropdown {
    position: relative;
    display: inline-block;
  }

  .dropdown-content {
    min-width: 153px;
    z-index: 1;
    padding-top: 5px;
    background-color: #fff;
  }

  .dropdown-content a {
    display: block;
    color: #000;
    font-family: "Genos", sans-serif;
    font-size: 13pt;
    background-color: #d4ed6d;
    padding: 8px;
    text-decoration: none;
    border-top: 1px #fff solid;
    border-radius: 10px;
  }
  .dropdown-content a:hover {
    background-color: #ceff04;
  }
}
