:root {
    --font-family: Arial, sans-serif;
    --primary-color: #0056b3;
    --background-gradient: linear-gradient(to bottom, #ffffff, #d8bfff);
    --box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    --border-radius: 15px;
    --transition-duration: 0.3s;
  }
  
  body, html {
    height: 100vh;
    margin: 0;
    font-family: var(--font-family);
    scroll-behavior: smooth;
  }
  
  section {
    min-height: 100vh;
    position: relative;
  
    &::before {
      content: '';
      position: absolute;
      inset: 0;
      background: var(--background-gradient);
      z-index: -2;
    }
  }

  section:nth-child(2)::before {
    background: linear-gradient(to bottom, #d8bfff, #ffffff);
  }
  
  .container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 2rem;
    min-height: 100vh;
    position: relative;
    overflow: auto;
    box-sizing: border-box;
    padding: 20px;
  }
  
  .logo-container {
    margin-bottom: 2rem;
  }
  
  .lettering-container {
    margin-bottom: 2rem;
  }
  
  .social-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
  }
  
  .social-button {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.2);
    transition: transform var(--transition-duration) ease, 
                background-color var(--transition-duration) ease;
    box-shadow: var(--box-shadow);
  }
  
  .social-button:hover {
    transform: scale(1.1);
    background-color: rgba(255, 255, 255, 0.4);
  }
  
  .social-logo {
    width: 30px;
    height: 30px;
  }
  
  @media (max-width: 600px) {
    .container {
      gap: 1.5rem;
    }
  
    .logo-container {
      margin-bottom: 1.5rem;
    }
  
    .lettering-container {
      margin-bottom: 1.5rem;
    }
  
    .social-button {
      width: 50px;
      height: 50px;
    }
  
    .social-logo {
      width: 25px;
      height: 25px;
    }
  }
  
  canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
  }
  
  .content-box {
    padding: 20px;

    text-align: center;
    max-width: 700px;
    width: 100%;
    box-sizing: border-box;
  }
  
  .logo-container {
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    width: clamp(200px, 50vw, 200px);
    height: clamp(200px, 50vw, 200px);
    margin: 30px auto 0;
    overflow: hidden;
    box-sizing: border-box;
  
    .logo {
      width: 80%;
      max-width: 200px;
      height: auto;
      display: block;
    }

  }
  
  .lettering-container {
    text-align: center;
    margin: 10px 0 20px;
  
    .lettering {
      width: clamp(200px, 50vw, 200px);
      height: auto;
      display: inline-block;
    }
  }
  .social-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  max-width: 600px;
  margin: 0 auto;
  padding: 20px;
}

.social-button {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.2);
  transition: transform var(--transition-duration) ease, 
              background-color var(--transition-duration) ease;
  box-shadow: var(--box-shadow);
}

.social-button:hover {
  transform: scale(1.1);
  background-color: rgba(255, 255, 255, 0.4);
}

.social-logo {
  width: 30px;
  height: 30px;
}

@media (max-width: 600px) {
  .social-button {
    width: 50px;
    height: 50px;
  }

  .social-logo {
    width: 25px;
    height: 25px;
  }
}
  
  a {
    color: inherit;
    text-decoration: none;
  }
  
  .email-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    background: rgba(255, 255, 255, 0.1);
    padding: 0px 20px 0px 20px;
    border-radius: 10px;
    box-shadow: var(--box-shadow);
    margin-top: 20px;
    box-sizing: border-box;
    visibility: hidden;
    height: 0;
    overflow: hidden;
    transition: height 0.7s;
  }

  .foot-note {
    font-size: .8rem;
    opacity: 1;
    margin-top: 1rem;
    color: #6b6a6a;

    a {
        color: #b30065;
    }
  }
  
  .email-input, .email-textarea, .email-submit-button {
    width: calc(100% - 20px);
    padding: 10px;
    border-radius: 5px;
    border: 1px solid #ccc;
    font-size: 1em;
  
    &:focus {
      outline: none;
      border-color: var(--primary-color);
      box-shadow: 0 0 5px rgba(0, 86, 179, 0.3);
    }
  }
  
  .email-textarea {
    height: 100px;
    resize: vertical;
  }
  
  .email-submit-button {
    background-color: var(--primary-color);
    color: white;
    cursor: pointer;
    transition: background-color var(--transition-duration) ease;
    border: none;
    margin: 0 auto;
  
    &:hover, &:focus {
      background-color: #003d80;
    }
  
    &.disabled {
      background-color: grey;
      cursor: not-allowed;
    }
  
    &.success {
      background-color: green;
      cursor: default;
    }
  }
  
  .feedback-message {
    font-size: 0.9em;
    text-align: center;
    margin-top: 10px;

    
    &:empty {
      display: none;
    }


    &.success {
      color: green;
    }
  
    &.error {
      color: red;
    }
  }
  
  .form-toggle {
    visibility: hidden;
  
    &:checked + label + .email-form {
      visibility: visible;
      height: auto;
      overflow: visible;
      padding-bottom: 20px;
      padding-top: 20px;
    }
  }
  
  input {
    &:invalid {
      border-color: red;
    }
  
    &:valid {
      border-color: green;
    }
  }
  
  section:nth-of-type(2) {
    h2 {
      text-align: center;
      font-size: 2em;
      margin-top: 0;
      padding-top: 30px;
      color: #6c6b6b;
      text-decoration: underline;
      text-underline-offset: .4rem;
    }
  }
  
  .content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(550px, 100%), 1fr));
    gap: 1rem;
    padding: 1rem;
  
    > .grid-item {
      background: rgba(255, 255, 255, 0.1);
      padding: 1rem;
      border-radius: var(--border-radius);
      box-shadow: var(--box-shadow);
      text-align: center;
      aspect-ratio: 1 / 1;
      overflow: hidden;
  
      > img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: var(--border-radius);
      }
    }
  }
  
  @media (max-width: 600px) {
    .logo-container .logo,
    .lettering-container .lettering {
      width: 80vw;
      max-width: 150px;
    }
  
    .link-item {
      padding: 15px;
  
      h2 {
        font-size: 1.2em;
      }
  
      p {
        font-size: 1em;
      }
    }
  
    .content-box {
      width: 100%;
    }
  }

  


  .arrow-down {
    
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;

    & > a > svg {
        position: relative;
        bottom: 1rem;

        /* width: 40px;
        height: 40px;
        cursor: pointer;
       
        overflow: hidden;
        font-size: 1.5rem; */
        animation: pulse 2s ease-in-out infinite;
        width: 40px;
        height: 40px;
    }

    & > p {
        font-size: .8rem;
        opacity: 0.5;
        animation: fadeIn 2s ease-in-out infinite;

    }
    

  }

    @keyframes fadeIn {
        0% {
        opacity: 0.6;
        }
        50% {
        opacity: 1;
        }
        100% {
        opacity: 0.6;
        }
    }
  
  @keyframes pulse {
    0% {
      transform: translateY(0);
      opacity: 1;
    }
    50% {
      transform: translateY(10px);
      opacity: 0.5;
    }
    100% {
      transform: translateY(0);
      opacity: 1;
    }
  }