/*DON'T EDIT HERE (unless you want to change the navbar)*/

:root {
  --speed: 0.85;
  --primary: #1c345b; /* Changed to your specified color */
  --size: 30;
  --ease: cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.menu {
  position: fixed;
}
.menu__toggle {
  opacity: 0;
  position: absolute;
}
.menu__toggle:checked ~ .menu__content .menu__item {
  --active-x: var(--x);
  --active-y: var(--y);
  --scale: 1;
}
.menu__toggle:checked ~ .menu__toggle-label:not(.menu__toggle-label--closer) {
  --clip: circle(1000% at 0% 0%);
  height: 100vh;
  width: 100vw;
  backdrop-filter: blur(10px);
}
.menu__toggle:checked ~ .menu__toggle-label .menu__icon:nth-of-type(1) {
  --scale: 0;
}
.menu__toggle:checked ~ .menu__toggle-label .menu__icon:nth-of-type(2) {
  --scale: 1;
}
.menu__toggle-label {
  cursor: pointer;
  height: calc(var(--size, 20) * 0.5vmin);
  width: calc(var(--size, 20) * 0.5vmin);
  display: block;
  --clip: circle(100% at 0% 0%);
  -webkit-clip-path: var(--clip);
  clip-path: var(--clip);
  position: absolute;
  top: 0;
  left: 0;
  transition: backdrop-filter calc(var(--speed, 1) * 1s) var(--ease), clip-path 0s, -webkit-clip-path 0s;
}
.menu__toggle-label--closer {
  z-index: 3;
  --scale: 0;
}
.menu__icon {
  --scale: 1;
  height: calc(var(--size, 20) * 0.25vmin);
  width: calc(var(--size, 20) * 0.25vmin);
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-70%, -70%) scale(var(--scale, 1));
  fill: #fff; /* Changed to white */
  transition: all calc(var(--speed, 1) * 1s) var(--ease);
}
.menu__icon:nth-of-type(2) {
  --scale: 0;
}
.menu__content {
  background: #1c345b; /* Changed to your specified color */
  margin: 0;
  display: block;
  list-style-type: none;
  z-index: -1;
  filter: url("#goo");
  position: absolute;
  top: 0;
  height: 0;
  width: 0;
  left: 0;
  z-index: 2;
}
.menu__content:after {
  background: #1c345b; /* Changed to your specified color */
  content: '';
  border-radius: 50%;
  transform: translate(-50%, -50%);
  position: absolute;
  height: calc(var(--size, 20) * 1vmin);
  width: calc(var(--size, 20) * 1vmin);
  top: 0;
  left: 0;
}
.menu__item {
  background: #1c345b; /* Changed to your specified color */
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  list-style-type: none;
  font-size: 3em; /* Responsive font size based on viewport width */
  height: calc(var(--size, 20) * 1vmin);
  left: calc(var(--active-x, 0) * 1vw);
  overflow: hidden;
  place-items: center;
  position: absolute;
  text-align: center;
  top: calc(var(--active-y, 0) * 1vh);
  transform: translate(-50%, -50%) scale(var(--scale, 0.75));
  transition: all calc(var(--speed, 1) * 1s) calc(var(--delay, 0) * 1s) var(--ease);
  width: calc(var(--size, 20) * 1vmin);
  padding: 0 10px; /* Add padding if necessary */
  box-sizing: border-box; /* Ensure padding is included in the width/height */
}
@media (min-width: 768px) {
  .menu__item {
    font-size: 2.2em; /* Adjust as needed for larger screens */
  }
}
.menu__item:nth-of-type(1) {
  --delay: 0.1;
  --x: 20; /* Adjusted for top left corner */
  --y: 20; /* Adjusted for top left corner */
}
.menu__item:nth-of-type(2) {
  --delay: 0.2;
  --x: 80; /* Adjusted for top right corner */
  --y: 20; /* Adjusted for top right corner */
}
.menu__item:nth-of-type(3) {
  --delay: 0.3;
  --x: 20; /* Adjusted for bottom left corner */
  --y: 80; /* Adjusted for bottom left corner */
}
.menu__item:nth-of-type(4) {
  --delay: 0.4;
  --x: 80; /* Adjusted for bottom right corner */
  --y: 80; /* Adjusted for bottom right corner */
}
.menu__link {
  align-items: center;
  color: #fff; /* Text color */
  cursor: pointer;
  text-decoration: none;
  font-weight: bold;
  text-align: center;
  display: flex;
  justify-content: center;
  height: 100%;
  width: 100%;
}
.menu__link:hover {
  font-weight: 900;
}

.navigationfont {
  box-sizing: border-box;
  font-family: 'Montserrat', sans-serif;
  overflow-x: hidden;
  padding: 0;
}