/* FONTS */
@font-face {
  font-family: Orbitron; /* set name */
  src: url(assets/fonts/Orbitron.ttf); /* url of the font */
}

@font-face {
  font-family: Manrope; /* set name */
  src: url(assets/fonts/Manrope.ttf); /* url of the font */
}

/* DESKTOP COMPUTER */

/* Document wide */
body {
    padding: 0;
    margin: 0;
}

.link-buttons {
  background-color: #8fb339;
  border: none;
  color: white;
  padding: 20px;
  width: 10em;
  font-family: Orbitron;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  margin: 4px 2px;
  border-radius: 12px;
  transition: background 0.3s ease-in-out;
}

.link-buttons:hover {
  background-color: #DADDD8;
  color: black;
}

/* Menu and Header */
#header {
    display: block;
    z-index: 100;
    position: fixed;
    background: green;
}

#menu {
    overflow: hidden;
    position: fixed; /* Set the navbar to fixed position */
    top: 0; /* Position the navbar at the top of the page */
    width: 100%; /* Full width */
}

#menu a {
    float: right;
    display: block;
    color: black;
    text-align: center;
    padding: 2em;
    text-decoration: none;
    transition: background 0.3s ease-in-out;
    font-weight: bold;
    font-family: Orbitron;
}

#menu a:hover {
  background: white;
  color: black;
}

.line-break {
  width: 100%;
}

/* Splash */
#splash {
    display: flex;
    flex-wrap: wrap;
    height: 150%;
    align-items: center;
    justify-content: center;
    background-image: url("assets/Bg.webp");
    background-repeat: no-repeat;
    background-size: cover;
}

#splash-graphics {
    display: flex;
    margin: 0;
    align-items: center;
    justify-content: center;
    height: 80vh;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
  from { scale: .95; }
  to { scale: 1; }
}

#splash-logo {
    max-width: 50vw;
    max-height: 50vh;
    animation: fadeIn 1.5s ease-in-out;
    -webkit-filter: drop-shadow(12px 12px 7px rgba(0, 0, 0, 0.5));
         filter: drop-shadow(12px 12px 7px rgba(0, 0, 0, 0.5));
}

/* About */
#about {
    max-width: 50vw;
    margin-top: 5em;
    padding: 4em;
    margin-bottom: 10em; 
    background: white;
    border-radius: 15px;
    -moz-border-radius: 15px;
}

#about h1 {
    min-width: 5vw;
    margin-top: 0;
    padding-top: 0;
    text-decoration: underline dotted; 
    font-family: Orbitron;
    color: #8fb339;
}

#about p {
    font-family: Manrope;
    margin-bottom: 0;
    padding-bottom: 0;
}

/* Work */
#work {
    display: flex;
    padding: 10em;
    padding-top: 5em;
    padding-bottom: 5em; 
    background: #08090A;
}

#work h1 {
    display: flex;
    min-width: 5vw;
    text-decoration: underline dotted; 
    padding-left: 5em;
    padding-right: 5em;
    font-family: Orbitron;
    color: #8fb339;
}

#work h2 {
    color: #DADDD8;
}

#work h3 {
    color: #DADDD8;
}

#work-desc {
    color: white;
}

#work-list {
    flex-direction: column;
}

#work-section {
    padding: 0;
    margin: 0;
    max-width: 60vw;
    padding-bottom: 5em;
    padding-right: 5em;
    font-family: Manrope;
    font-size: large;
}

.cards {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}

.clip-card {
    background: #C7D59F;
    max-width: 17em;
    padding: 1em;
    margin: 1em;
    margin-left: 0;
    position: relative;
    top: 0;
    transition: top ease 0.5s;
    display: flex;
    flex-direction: column;
}

.clip-card:hover {
  top: -10px;
}

.clip-card h4 {
    margin: 0;
    font-family: Orbitron;
}

.card-desc {
    color: green;
    padding: 0;
    margin: 0;
}

audio {
  margin-top: auto;
}

/* Contact */
#contact {
    display: flex;
    padding: 10em; 
    min-width: 5vw;
    background: #DADDD8;
}

#contact h1 {
    display: flex;
    min-width: 5vw;
    text-decoration: underline dotted; 
    padding-left: 5em;
    padding-right: 5em;
    font-family: Orbitron;
    color: #8fb339
}

#contact p {
    font-family: Manrope;
    font-size: large;
    padding: 0;
    margin: 0;
}

/* Footer */
#footer {
    padding: 2em;
    background: #575A5E;
    color: white;
}

#footer-content {
    display: flex;
    align-items: center;
    justify-content: center;
}

#footer-content p {
    font-family: Manrope;
}

#footer-content a {
    color: white;
}

.footer-item {
    margin-left: 1em;
    margin-right: 1em;
}

#social-icons a {
    display: inline-block;
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    background: #333;
    color: white;
    border-radius: 50%;
    margin: 0 5px;
    transition: all 0.3s ease;
}

#social-icons a:hover {
    transform: scale(1.1);
}

/* CONTACT FORM */
.contact-section {
  width: 100%;
  max-width: 40rem;
  margin-left: auto;
  margin-right: auto;
  padding: 3rem 1rem;
  font-family: Manrope;
}

.contact-intro > * + * {
  margin-top: 1rem;
}

.contact-title {
  font-size: 1.875rem;
  line-height: 2.25rem;
  font-weight: 700;
}

.contact-description {
  color: rgb(107 114 128);
}

.form-group-container {
  display: grid;
  gap: 1rem;
  margin-top: 2rem;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-label {
  margin-bottom: 0.5rem;
}

.form-input,
.form-textarea {
  padding: 0.5rem;
  border: 1px solid #e5e7eb;
  display: flex;
  height: 2.5rem;
  width: 100%;
  border-radius: 0.375rem;
  line-height: 1.25rem;
}

.form-input::placeholder,
.form-textarea:focus-visible {
  color: #6b7280;
}

.form-input:focus-visible,
.form-textarea:focus-visible {
  outline: 2px solid #8fb339;
  outline-offset: 2px;
}

.form-textarea {
  min-height: 120px;
}

.form-submit {
  width: 100%;
  margin-top: 1.2rem;
  background-color: #8fb339;
  color: #fff;
  padding: 13px 5px;
  border-radius: 0.375rem;
}


/* Mobile Version */

@media only screen and (max-width: 1530px) {
  #work {
     max-width: 100vw; 
  }

  #work h1 {
    padding-left: 0;
  }

  #contact h1 {
    padding-left: 0;
  }

  #about {
    max-width: 75vw;
  }
}

@media only screen and (max-width: 1340px) {
  body {
    background: black;
  }

  #about {
    max-width: 100vw;
    margin-top: 5em;
    margin-bottom: 0; 
    border-radius: 0;
    -moz-border-radius: 0;
  }

  #work {
    display: inline;
    background: none;
  }

  #work h1 {
    padding-left: 4rem;
  }

  #work-section {
    padding-left: 4em;
    max-width: 90vw;
  }

  #contact {
    display: block;
    width: 82vw;
    padding: 9vw;
    margin: 0;
  }

  #contact h1 {
    display: inline-block;
    padding-left: 0;
    margin-left: 0;
  }
  
  .contact-section {
    margin-left: 0;
    padding: 0;
  }
}

@media only screen and (max-width: 1030px) {
  #splash {
    background-size: cover;
  }

  #about {
    display: inline-block;
  }

  #work h1 {
    padding-top: 5rem;
  }

  .clip-card {
    max-width: 100vw;
  }

  audio {
    height: 5rem;
  }

  fieldset {
    border: 0;
  }

  h1 {
    font-size: 4.25vw;
  }

  h2 {
    font-size: 3.5vw;
  }

  h3 {
    font-size: 3vw;
  }

  h4 {
    font-size: 3vw;
  }

  p {
    font-size: 3vw;
  }

  button {
    font-size: 3vw;
  }

  label {
    font-size: 3vw;
  }

  input {
    font-size: 3vw;
  }

  legend {
    font-size: 3vw;
  }
}

@media only screen and (max-width: 800px) {
  h1 {
    font-size: 4.25vw;
  }

  h2 {
    font-size: 3.5vw;
  }

  h3 {
    font-size: 3vw;
  }

  h4 {
    font-size: 3vw;
  }

  p {
    font-size: 3vw;
  }

  button {
    font-size: 3vw;
  }

  label {
    font-size: 3vw;
  }

  input {
    font-size: 3vw;
  }

  legend {
    font-size: 3vw;
  }
}