/* Wilist - The CSS Framework for masters! */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.container {
  width: 90%;
  min-height: 100vh;
  margin: 0 auto;
  background-color: rgba(255, 255, 255, 0.6);
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  justify-content: center;
  align-items: center;
  padding: 2%;
  max-width: 1400px;
}

nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}

navWithCorners {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  margin-left: 20%;
  margin-right: 20%;
}

body {
  font-family: 'Roboto', sans-serif;
  background-image: url('./1369307.avif');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

a {
  text-decoration: none;
  color: white;
}

h1, h2, h3, h4, h5, h6 {
  text-align: center;
  color: white;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  margin-bottom: 10px;
  font-weight: 600;
}

h1 {
  /* font-size: clamp(2em, 4vw, 3.5em); */
  font-size: clamp(2em, 4vw, 2.0em);
}

h2 {
  font-size: clamp(2em, 3vw, 3em);
}

input, textarea, select, button {
  background-color: rgba(255, 255, 255, 0.9);
  border: none;
  padding: 15px 20px;
  color: #333;
  font-size: clamp(18px, 1.2vw, 22px);
  max-width: 60%;
  margin: 5px auto;
  display: block;
  border-radius: 10px;
  transition: box-shadow 0.3s ease;
  box-shadow: 0 0 10px rgba(60, 179, 113, 0.3);
}

input:hover, textarea:hover, select:hover, button:hover {
  box-shadow: 0 0 20px rgba(0, 123, 255, 0.5);
}

input:focus, textarea:focus, select:focus, button:focus {
  box-shadow: 0 0 40px rgba(0, 123, 255, 0.7);
  outline: none;
}

textarea {
  width: 100%;
  max-width: 60%;
  min-width: 200px;
  min-height: 200px;
}

button {
  color: white !important;
  font-size: clamp(24px, 1.5vw, 28px);
  padding: clamp(15px, 2vw, 25px) clamp(70px, 5vw, 100px);
  background-image: linear-gradient(to right, rgba(16, 170, 177,0.9), rgba(60, 179, 113, 0.8));
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  justify-content: center;
  /* max-width: clamp(200px, 30vw, 400px); */
}

.buttonrev {
  color: white !important;
  font-size: clamp(20px, 1.2vw, 24px);
  padding: clamp(15px, 2vw, 25px) clamp(70px, 5vw, 100px);
  background-image: linear-gradient(to right, rgba(0, 123, 255, 0.9), rgba(60, 179, 113, 0.8));
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  justify-content: center;
  /* max-width: clamp(200px, 30vw, 400px); */
}

button:hover {
  background-color: rgba(0, 123, 255, 0.8);
  box-shadow: 0 0 10px rgba(0, 123, 255, 0.5);
}

button[hidden] {
  display: none !important;
}

.text-center {
  text-align: center;
}

img {
  width: 70vw;
  height: auto;
}

table {
  width: 80%;
  max-width: 1000px;
  background-color: rgba(255, 255, 255, 0.85);
  border-collapse: collapse;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.15);
  border-radius: 10px;
  overflow: hidden;
  margin: 0 auto;
  margin-bottom: 4%;
  margin-top: 4%;
}

th {
  background-color: rgba(0, 123, 255, 0.7);
  color: white;
  padding: 15px;
  font-size: 20px;
  font-weight: bold;
  text-align: center;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

td {
  padding: 15px;
  font-size: 18px;
  color: #333;
  text-align: center;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

tr:nth-child(even) {
  background-color: rgba(240, 240, 240, 0.8);
}

tr:hover {
  background-color: rgba(0, 123, 255, 0.1);
}

td:hover {
  color: rgba(0, 123, 255, 0.8);
}

ul, ol {
  list-style-position: inside;
  padding: 0;
  margin: 0 auto;
  max-width: 80%;
  text-align: center;
}

ul li, ol li {
  padding: 10px 0;
  color: #333;
  font-size: 18px;
}

p {
  color: white;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5), 0 0 10px rgba(0, 123, 255, 0.8);
  font-size: clamp(2rem, 2.2vw, 2.2rem);
  line-height: 1.4;
  margin: 15px auto;
  max-width: 90%;
}

p.highlight {
  background-color: rgba(255, 255, 153, 0.7);
  padding: 10px;
  border-radius: 5px;
  font-weight: bold;
  text-align: center;
}

code {
  margin: 0 auto;
  overflow-x: auto;
  max-width: 80%;
  color: white;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5), 0 0 10px rgba(0, 123, 255, 0.8);
  font-size: clamp(1.2rem, 1.5vw, 1.8rem);
  text-align: justify;
  display: block;
  background-color: rgba(0, 0, 0, 0.2);
  border-radius: 5px;
  margin-bottom: 4%;
  margin-top: 4%;
}

@media (min-width: 2560px) {
  .container {
    max-width: 1800px;
  }
  
  img {
    max-width: 1600px;
    width: auto;
    height: auto;
  }

  p {
    font-size: clamp(1rem, 2.5vw, 1.25rem);
  }
  
  code {
    max-width: 1400px;
  }

  button, .buttonrev {
    font-size: clamp(28px, 2vw, 32px);
    padding: clamp(20px, 2.5vw, 30px) clamp(80px, 6vw, 120px);
  }
}

@media (min-width: 1920px) {
  textarea {
    max-width: 50%;
    font-size: 20px;
  }
  
  p {
    max-width: 1200px;
    margin: 20px auto;
  }
  
  code {
    max-width: 1200px;
    padding: 2rem;
  }

  table {
    max-width: 1400px;
  }

  th {
    font-size: clamp(20px, 1.5vw, 24px);
    padding: 20px;
  }

  td {
    font-size: clamp(18px, 1.2vw, 22px);
    padding: 20px;
  }

  button, .buttonrev {
    font-size: clamp(26px, 1.8vw, 30px);
    padding: clamp(18px, 2.2vw, 28px) clamp(75px, 5.5vw, 110px);
  }
}

@media (max-width: 768px) {
  textarea {
    max-width: 90%;
  }
  
  p {
    max-width: 90%;
  }
  
  code {
    max-width: 90%;
  }
  
  table {
    width: 80%;
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  
  th, td {
    padding: 10px;
    font-size: 16px;
  }
}

@media (max-width: 480px) {
  textarea {
    max-width: 95%;
  }
  
  p {
    max-width: 95%;
  }
  
  code {
    max-width: 95%;
  }
}
