* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  line-height: 1.6;
  background: ivory;
  color: #333;
  font-family: Roboto;
  height: 100%;
  margin: 0;
  padding: 0;
}

.page-wrapper {
  display: grid;
  grid-template-rows: auto 1fr auto;
  min-height: 100vh;
}

nav {
  width: 100%;
  background: #2B2D42;
  padding: 1.5rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #cccccc97;
  color: ivory;
  font-weight: 500;
  transition: background 0.3s;
}

nav.sticky-active{
  background: black;
  color: ivory;
}

a, a:hover, a:visited, a:active {
  color: inherit;
  text-decoration: none;
}

.menu-bar {
  display: flex;
  flex: 1.2;
  justify-content: center;
  align-items: center;
  gap: 15%;
}

.menu-option {
  font-family: Roboto, sans-serif;
  font-weight: 600;
  opacity: 0%;

}

.menu-option:hover {
  cursor: pointer;
}

.hero {
  height: 50vh;
  width: 100%;
  position: relative;
  background: url('https://source.unsplash.com/1600x900/?technology') center/cover no-repeat;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
}

.overlay {
  position: relative;
  z-index: 2;
  background: #2B2D42;
  padding: 2rem;
  border-radius: 10px;
  color: white;
  text-align: center;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  padding: 2rem;
  height: 20vh;
}

.card {
  background: #FFBF00;
  padding: 1.5rem;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
  text-align: center;
}

a.card.fade-in.visible:hover{
  transform: translateY(-0.3rem);
  cursor: pointer;
  background: #ffd044;
  box-shadow: 0 1rem 1rem rgba(0,0,0,0.1);
}

.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
  color: black;
}

#updates-banner {
  position: fixed;
  left: 0;
  width: 100%;
  font-family: Roboto;
  background: rgb(254, 214, 119);
  border-bottom: 1px solid #d6d6d687;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.2rem 1rem;
}

#updates-banner button {
  font-size: larger;
  cursor: pointer;
  border: none;
  background: transparent;
}

.sticky-wrapper {
  position: sticky;
  top: 0;
  z-index: 1000;
}

.contacts {
  position: relative;
  background-color: #E6E6E6;
  min-height: 50vh;
}

.highlights {
  position: relative;
  background-image: url('1987776_1.jpg');
  margin-top: 6%;
  /*height: 83vh;*/
}

.email-form {
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
  background-color: ivory;
  border: solid;
  border-radius: 8%;
  border-width: 1rem;
  border-color: #2B2D42;
}

.email-texthead {
  text-align: center;
  color: black;
  font-size: 2.5rem;
  font-family: 'Style Script','Franklin Gothic Medium', Arial, sans-serif;
  line-height: 4rem;
}

.email-form input, textarea {
  width: 90%;
  margin-bottom: 0.5rem;
}

.email-form button {
  width: 50%;
  font-weight: bold;
  color: black;
  background-color: #FFBF00;
  border-radius: 0.2rem;
  transition: 0.3s;
  border: none;
  padding: 0.3rem;
  margin-top: 0.5rem;
  margin-bottom: 1rem;
  font-family: 'Lugrasimo', 'Arial';
}

.email-form button:hover {
  background-color: #2B2D42;
  color: ivory;
  cursor: pointer;
}

.socials-container {
  display: grid; 
  height: 65%; 
  width:100%; 
  grid-template-rows: 1fr 1fr 1fr; 
  padding-right: 6rem;
}

.social-media {
  padding-top: 1.5rem;
  display: grid;
  grid-template-rows: 1fr 5fr;
  height: 100%;
  justify-content: center;
}

.social-media h1 {
  position: relative;
  text-align: center;
  font-size: 1.6rem; 
  font-family: Roboto; 
  align-items: center;
  right: 3rem;
}

.social-media img {
  align-items: center;
}

.social-media p {
  padding-left: 0.8rem;
  padding-right: 1rem;
  font-weight: 5  00;
  background-color: ivory; 
  border-top-right-radius: 1rem; 
  border-bottom-right-radius: 1rem;
  transition: 0.3s;
}

.social-button {
  display: grid; 
  grid-template-columns: 3rem 1fr; 
  align-items: center;
}

.social-button:hover p{
  background-color: #2B2D42;
  color: ivory;
}