* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Satoshi", sans-serif;
  scroll-behavior: smooth;
}
body {
  background: rgb(255, 248, 240);
  background: -moz-linear-gradient(
    338deg,
    rgba(255, 248, 240, 1) 0%,
    rgba(200, 245, 255, 1) 47%,
    rgba(255, 200, 170, 1) 100%
  );
  background: -webkit-linear-gradient(
    338deg,
    rgba(255, 248, 240, 1) 0%,
    rgba(200, 245, 255, 1) 47%,
    rgba(255, 200, 170, 1) 100%
  );
  background: linear-gradient(
    338deg,
    rgba(255, 248, 240, 1) 0%,
    rgba(200, 245, 255, 1) 47%,
    rgba(255, 200, 170, 1) 100%
  );
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  min-height: 100vh;
}

html,
body,
section,
footer {
  overflow-x: hidden;
}
nav {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  margin: 2rem;
}
.homeButton {
  border: 1px solid black;
  padding: 0.6rem 1.1rem;
  border-radius: 21px;
  color: black;
  text-decoration: none;
  transition: 0.2s ease;
  margin: 0.5rem;
}
.links {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: row;
  margin: 2rem;
}
.homeButton:hover {
  background: black;
  color: white;
}
main h1 {
  margin: 2rem;
  font-size: 2.5rem;
}
.document {
  max-width: 700px;
  min-width: 300px;
  width: 100%;
  background: white;
  border: 1px solid #ececec;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 100px;
  border-radius: 25px;
  padding: 1rem;
  margin-bottom: 1rem;
}
.documentTexts {
  margin-left: 2rem;
}
.documents {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;	
  margin-top: 3rem;
  padding: 0 4vw;
  margin-bottom: 2rem;
}

.documentButtons {
	display:flex;
	gap: 1rem;
}

.documentButtons a {
  display: inline-block;
  padding: 0.6rem 1.2rem;
  font-size: 1rem;
  border-radius: 21px;
  text-decoration: none;
  transition: all 0.2s ease;
  border: 1px solid #ccc;
  cursor: pointer;
  color: black;
}

.documentButtons a:hover {
  background: #ffe55e;
}

.documentTitle {
  font-size: 1.3rem;
  font-weight: 600;
}
.documentSubtitle {
  opacity: 0.8;
}

.flex {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.custom-dropdown {
  position: relative;
  display: inline-block;
}
.dropdown-btn {
  background: #f9f9f9;
  border: 1px solid #ccc;
  padding: 8px 24px;
  border-radius: 21px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 1.15rem;
}
.arrow {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-right: 2px solid #333;
  border-bottom: 2px solid #333;
  transform: rotate(45deg);
  margin-left: auto;
  transition: transform 0.2s;
}

.arrow.open {
  transform: rotate(-135deg); 
}

.dropdown-list {
  position: absolute;
  background: white;
  border: 1px solid #ccc;
  margin-top: 4px;
  list-style: none;
  padding: 5px;
  width: 100%;
  border-radius: 21px;
  overflow: hidden;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.dropdown-list li {
  padding: 8px 12px;
  cursor: pointer;
  font-size: 0.95rem;
}
.dropdown-list li:hover {
  background: #eee;
}
.dropdown-list li.active {
  font-weight: bold;
}
.hidden {
  display: none;
}

@media (max-width: 768px) {
  .documentButtons a:hover {
	background: white;
  }
}	

@media (max-width: 750px) {
  .homeButton {
    display: block;
	margin: 0;
  }
	
  .other {
    display: none;
  }
	
  .documentButtons {
	gap: 0.5rem;
	
  }
	
  .documentButtons a{
	font-size: 0.9rem;
	padding: 0.5rem 1rem;
  }

}

@media (max-width: 600px) {
  .document {
	 flex-direction: column;
	 gap: 1rem;
  }
  
  .documentTexts {
	  text-align: center;
	  margin-left:0;
	}
}

@media (max-width: 500px) {
  main h1 {
    font-size: 2.5rem;
  }
  .logo img {
    width: 200px;
  }
  .links {
	 margin-left: auto;
  }
  .flex {
    margin-left: 0rem;
  }
}
@media (max-width: 390px) {
  .documentTitle {
    font-size: 1.1rem;
    font-weight: 600;
  }
  .documentSubtitle {
    opacity: 0.8;
    font-size: 0.8rem;
  }
  .logo img {
    width: 150px;
  }
  .homeButton {
    transform: scale(0.9)
  }
	
  .documentButtons a{
	font-size: 0.8rem;
	padding: 0.4rem 0.8rem;
  }
}
