body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  background-color: rgb(219, 234, 241);
  background-size: cover;
  background-attachment: fixed;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0.8;
  overflow-y: auto;
  padding-top: 5%;
  padding-bottom: 5%;
}

@media (max-width: 600px) {
  body {
    padding-top: 15%;
    padding-bottom: 25%;
  }

  input, button {
    font-size: 14px;
  }
}

h1 {
  color: #000000;
  text-align: center;
  margin-top: 20px;
  margin-bottom: 15px;
}

.container {
  width: 100%;
  max-width: 600px;
  padding: 15px 20px 15px 20px;
  background-color: #fff;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

form {
  display: flex;
  flex-direction: column;
  width: 100%;
}

label {
  font-size: 16px;
  margin-bottom: 15px;
}

input, select {
  padding: 10px;
  margin-bottom: 15px;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 16px;
  width: 100%;
  box-sizing: border-box;
}

button {
  padding: 12px;
  background-color: rgb(88, 196, 243);
  color: white;
  border: none;
  border-radius: 5px;
  font-size: 16px;
  cursor: pointer;
  margin-bottom: 15px;
}

button:hover {
  background-color: rgb(37, 158, 210);
}

.result {
  display: none;
  text-align: center;
}

.result h3 {
  color: #28a745;
  font-size: 24px;
  margin-top: 15px;
}

.result p {
  color: black;
  font-size: 16px;
  margin-top: 10px;
}

.column-input {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin-bottom: 10px;
  gap: 10px;
}

.column-input select, .column-input input {
  width: 48%;
}

.column-input button {
  background-color: #dc3545;
  padding: 8px 12px;
  font-size: 14px;
  border-radius: 5px;
  height: 38px;
  align-self: center;
}

.column-input button:hover {
  background-color: #c82333;
}

.slider-container select {
  width: 100%;
  padding: 10px;
  font-size: 15px;
}

.toggle-text-btn {
  position: absolute;
  top: 15px;
  right: 15px;
  border: none;
  padding: 8px 12px;
  border-radius: 5px;
  cursor: pointer;
  background: url('info.png') no-repeat center center;
  background-size: 30px 30px;
  width: 30px;
  height: 30px;
}

.toggle-text-btn:hover {
  background-color: white;
}

.extra-text {
  background-color: white;
  padding: 10px;
  margin-top: 5px;
  border-radius: 5px;
  text-align: left;
  font-size: 14px;
}

.extra-text p {
  margin-top: 5px;
}

.flags {
  top: 15px;
  right: 15px;
  display: flex;
  gap: 10px;
  justify-content: right;
}

.flag {
  width: 30px;
  cursor: pointer;
}

.logo {
  position: absolute;
  width: 35px;
  top: 15px;
  left: 13px;
}

.contact-info {
  display: flex;
  align-items: center;
  gap: 30px; 
  font-size: 12px; 
}

#instagramLink a {
  text-decoration: none; 
  color: inherit; 
  font-size: 12px; 
}

#instagramLink img {
  width: 15px;
  height: 15px;
  vertical-align: middle;
  margin-right: 5px;
}

#closeHelpButton {
  background-color: #ffe3e3;
  color: black;
  width: 15%;
  margin: 20px auto;  
  display: block;  
  padding: 10px;
}

#closeHelpButton:hover {
  background-color: #ffbdbd;
}

.highlight {
  color: rgb(37, 158, 210);
}

#infoText {
  text-align: center;
  background-color: rgb(238, 246, 249);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); 
  border-radius: 8px; 
  padding-right: 20px;
  padding-left: 20px;
  margin-bottom: 20px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#infoText:hover {
  transform: scale(1.05); 
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

/* ── NAVBAR  ── */

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 24px;
  box-sizing: border-box;
  z-index: 1000;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: #000;
  font-weight: bold;
  font-size: 16px;
}

.nav-logo img {
  width: 28px;
  height: 28px;
}

.nav-links {
  display: flex;
  gap: 8px;
}

.nav-link {
  text-decoration: none;
  color: #444;
  font-size: 15px;
  padding: 7px 16px;
  border-radius: 5px;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.nav-link:hover {
  background-color: rgb(219, 234, 241);
  color: #000;
}

.nav-link.active {
  background-color: rgb(88, 196, 243);
  color: #fff;
  font-weight: bold;
}

@media (max-width: 600px) {
  .navbar {
    padding: 8px 14px;
  }
  .nav-logo span, .nav-logo {
    font-size: 14px;
  }
  .nav-link {
    font-size: 13px;
    padding: 6px 10px;
  }
}
