/* Dropdown icon */
.dropdown-icon {
  display: inline-block;
  width: 1vw; /* Relative width */
  height: 1vw; /* Relative height */
  border: solid #f2d746;
  border-width: 0 0.25vw 0.25vw 0; /* Relative border width */
  transform: rotate(45deg);
  transition: transform 0.3s ease;
  vertical-align: middle;
  margin-left: 0.5vw; /* Relative margin */
  margin-bottom: 0.2vw; /* Relative margin */
}

/* Dropdown icon animation for hover */
.dropdown:hover .dropdown-icon {
  transform: rotate(225deg);
}

/* Navbar */
.navbar {
  background-color: #404040;
  overflow: hidden;
}

.navbar a {
  font-size: 2vw; /* Relative font size */
  display: block;
  color: #f2d746;
  text-align: center;
  padding: 3.5vw 4vw; /* Relative padding */
  text-decoration: none;
}

.navbar ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
  display: flex;
}

.navbar li {
  flex: 1;
}

/* Dropdown content */
.dropdown-content {
  display: none;
  position: absolute;
  background-color: #8f8d8d;
  width: 18%; /* Percentage width */
  box-shadow: 0px 0.8vw 1.6vw 0px rgba(0, 0, 0, 0.2); /* Relative box shadow */
  z-index: 1;
}

.dropdown:hover .dropdown-content {
  display: block;
}

.dropdown-content a {
  color: #f2d746;
  padding: 1.4vw 1.6vw; /* Relative padding */
  text-decoration: none;
  display: block;
  width: 100%;
}

.dropdown-content a:hover {
  background-color: #8f8d8d;
}

/* Hover state of tabs */
.navbar li:hover a {
  background-color: #717171;
  color: #f2d746;
}

/* Hover state of dropdown tabs */
.dropdown:hover .dropdown-content a:hover {
  background-color: #8f8d8d;
  color: #f2d746;
}

/* Purchase alert */
.alert {
  padding: 20px;
  background-color: #717171;
  color: #f2d746;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  text-align: center;
}

.closebtn {
  margin-left: 15px;
  color: #f2d746;
  font-weight: bold;
  float: right;
  font-size: 30px;
  line-height: 60px;
  cursor: pointer;
  transition: 0.3s;
}

.closebtn:hover {
  color: black;
}

/* Gallery */
div.gallery {
  border: 5px solid #ccc;
}

div.gallery:hover {
  border: 2px solid #717171;
}

div.gallery img {
  width: 100%;
  height: auto;
}

div.desc {
  padding: 5px;
  text-align: center;
}

* {
  box-sizing: border-box;
}

.responsive {
  padding: 0 6px;
  float: left;
  width: 100%;
}

@media only screen and (max-width: 700px) {
  .responsive {
    width: 49.99999%;
    margin: 6px 0;
  }
}

@media only screen and (max-width: 500px) {
  .responsive {
    width: 100%;
  }
}

.clearfix:after {
  content: "";
  display: table;
  clear: both;
}

/* Slideshow */
.slideshow-container {
  max-width: 600px;
  position: relative;
  margin: auto;
}

/* Slideshow captions */
.text {
  color: #020202;
  font-size: 15px;
  padding: 8px 6px;
  position: absolute;
  bottom: 1px;
  width: 100%;
  text-align: right;
}

/* Slideshow number text (1/7) */
.numbertext {
  color: #020202;
  font-size: 12px;
  padding: 8px 12px;
  position: absolute;
  top: 0;
}

/* Slideshow dots/bullets/indicators */
.dot {
  height: 15px;
  width: 15px;
  margin: 0 2px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease;
}

.active {
  background-color: #ededed;
}

@keyframes fade {
  from {
    opacity: 0.4;
  }
  to {
    opacity: 1;
  }
}

/* On smaller screens, decrease slideshow text size */
@media only screen and (max-width: 300px) {
  .text {
    font-size: 11px;
  }
}

/* Form styles */
.my-paragraph {
  margin: 15px;
  font-family: Arial, sans-serif;
}

form {
  padding: 20px;
}

label {
  display: block;
  margin-bottom: 10px;
}

input[type="text"],
input[type="password"] {
  width: 100%;
  padding: 10px;
  margin-bottom: 20px;
  border-radius: 5px;
  border: 1px solid #ccc;
}

input[type="submit"] {
  background-color: #4caf50;
  color: white;
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

input[type="submit"]:hover {
  background-color: #45a049;
}

/* Footer styles */
footer {
  background-color: #404040;
  padding: 20px;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  color: #f2d746;
}

.footer-left {
  flex: 1;
}

.footer-left h3 {
  font-size: 1.5rem;
  margin-bottom: 10px;
}

.footer-left p {
  margin: 5px 0;
}

.footer-right {
  flex: 1;
  display: flex;
  justify-content: flex-end;
  align-items: flex-start;
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-links li {
  margin-bottom: 5px;
}

.footer-links a {
  text-decoration: none;
  color: #f2d746;
}

.footer-links a:hover {
  text-decoration: underline;
}

.footer-bottom {
  margin-top: 20px;
  text-align: center;
  color: #888888;
  font-size: 0.8rem;
}
