/* stylelint-disable no-descending-specificity */
* {
  margin: 0;
  padding: 0;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  width: 100%;
}

body {
  width: 100%;
  min-width: 320px;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

button {
  cursor: pointer;
}

a {
  cursor: pointer;
}

/* Mobile version of the header. */
.above-header {
  display: none;
}

.header-tab {
  display: flex;
  justify-content: start;
  box-shadow: 0 3px 10px 0 #4b4b4b73;
  position: fixed;
  background-color: #f7f7f7;
  width: 100%;
}

.mobile-menu {
  display: none;
  flex-direction: column;
  position: fixed;
  background-image: url("../src/mobile-bg.png");
  list-style-type: none;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.mobile-menu a {
  color: #272a31;
  font-size: 32px;
  font-family: "inter", sans-serif;
  font-style: normal;
  font-weight: 700;
  text-decoration: none;
}

.mobile-menu h4 {
  margin: 0 108px 15px 40px;
}

.mobile-menu hr {
  margin: 0 24px 24px 24px;
  border: none;
  border-top: 2px solid #ec5242;
}

#close-button {
  width: 10%;
  margin: 18px 38px 34px auto;
  float: right;
}

.logo,
.desktop-menu {
  display: none;
}

.menu-button img {
  width: 40px;
  margin: 15px 0 10px 25px;
}

.header {
  display: flex;
  flex-direction: column;
  padding: 100px 15px 80px 15px;
}

.header #hello {
  font-family: "Lato", sans-serif;
  color: #ec5242;
  font-weight: 400;
  font-size: 25px;
  margin: 0;
}

.header h1 {
  font-family: "COCOGOOSE", sans-serif;
  font-size: 30px;
  margin: 0 0 15px 0;
  color: #7A0019 !important;
  -webkit-text-fill-color: #7A0019 !important;
  background: none !important;
  background-image: none !important;
  background-clip: unset !important;
  -webkit-background-clip: unset !important;
}

.header p {
  font-family: "Lato", sans-serif;
  color: #565656;
  font-size: 15px;
  border: 2px solid #fefefe;
  background-color: #f7f7f7;
  padding: 20px;
  font-weight: 600;
}

.header #date {
  font-family: "COCOGOOSE", sans-serif;
  color: #272a31;
  font-size: 25px;
  margin: 15px 0 0 0;
}

.header #location {
  font-family: "Lato", sans-serif;
  color: #565656;
  font-size: 15px;
  margin: 0 0 30px 0;
}

/* Desktop version of the header. */
@media only screen and (min-width: 768px) {
  .menu-button {
    display: none;
  }

  .above-header {
    display: flex;
    justify-content: end;
    align-items: center;
    gap: 20px;
    background-color: #272a31;
    color: #f7f7f7;
    font-family: "Lato", sans-serif;
    padding: 5px 115px 5px 0;
    font-size: 10px;
    font-weight: 400;
  }

  .above-header a:first-of-type > img {
    max-width: 8px;
  }

  .above-header a > img {
    max-width: 16px;
  }

  header {
    position: fixed;
    width: 100%;
  }

  .header-tab {
    display: flex;
    padding: 0 90px 0 90px;
    box-shadow: 0 3px 10px 0 #4b4b4b73;
    background-color: #f7f7f7;
    width: 100%;
  }

  .header-tab a {
    text-decoration: none;
    color: #565656;
    font-family: "Lato", sans-serif;
  }

  .logo {
    display: block;
    flex-grow: 1;
    align-self: center;
  }

  .logo img {
    max-width: 92px;
  }

  .desktop-menu {
    display: flex;
    list-style-type: none;
    align-items: center;
    gap: 24px;
  }

  .desktop-menu h4:hover {
    color: #ec5242;
  }

  .header-section {
    width: 100%;
    background-image: url("../src/atlanta.jpg");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    min-height: 500px;
  }

  .header {
    padding: 100px 0 80px 200px;
    width: 84%;
  }

  .header #hello {
    font-size: 45px;
    margin: 0;
  }

  .header h1 {
    font-size: 60px;
    margin: 0 0 15px 0;
    color: #7A0019 !important;
    -webkit-text-fill-color: #7A0019 !important;
    background: none !important;
    background-image: none !important;
    background-clip: unset !important;
    -webkit-background-clip: unset !important;
  }

  .header p {
    font-size: 15px;
    padding: 20px;
    width: 70%;
  }

  .header #date {
    font-size: 35px;
    margin: 15px 0 0 0;
  }

  .header #location {
    font-size: 25px;
    margin: 0 0 30px 0;
  }
}

/* Mobile version of the events section */
.events {
  display: flex;
  flex-direction: column;
  background-color: #272a31;
  font-family: "Lato", sans-serif;
  align-items: center;
  background-image: url("../src/atlanta2.png");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  padding-top: 70px;
}

.events h2 {
  margin: 30px 0 0 0;
  color: #d3d3d3;
}

.events hr {
  border: none;
  border-top: 1px solid #ec5242;
  width: 30px;
  margin: 10px 0 30px 0;
}

.events h3 {
  color: #ec5242;
  word-break: break-word;
}

.events p {
  color: #d3d3d3;
  word-break: break-word;
}

.events ul {
  list-style-type: none;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.events li {
  background-color: #5f5f5f50;
  width: 94%;
  display: grid;
  grid-template-columns: 10% 30% 50%;
  gap: 15px;
  padding: 20px 10px 20px 10px;
  border: 1px solid #3c3f46;
  align-items: center;
}

.events li:hover {
  border-color: #d3d3d3;
}

.events img {
  width: 120%;
}

.events button {
  padding: 20px;
  margin: 30px 0 30px 0;
  background-color: #ec5242;
  color: #f7f7f7;
  border: 2px solid #ec5242;
  transition: 300ms ease-in-out;
}

.events button:active {
  background-color: #cc3b2b;
  color: #f7f7f7;
  border-color: #cc3b2b;
}

.events a {
  display: none;
}

/* Mobile version of the events section */
.events1 {
  display: flex;
  flex-direction: column;
  background-color: #272a31;
  font-family: "Lato", sans-serif;
  align-items: center;
  background-image: url("../src/main-bg.png");
  background-repeat: repeat;
  padding-top: 70px;
}

.events1 h2 {
  margin: 30px 0 0 0;
  color: #d3d3d3;
}

.events1 hr {
  border: none;
  border-top: 1px solid #ec5242;
  width: 30px;
  margin: 10px 0 30px 0;
}

.events1 h3 {
  color: #ec5242;
  word-break: break-word;
}

.events1 p {
  color: #d3d3d3;
  word-break: break-word;
}

.events1 ul {
  display: table;
  margin: 0 auto;
  text-align: left;
  color: #d3d3d3;
}

.events1 li {
  display: list-item;
  text-align: -webkit-match-parent;
  color: #d3d3d3;
}

.events1 li:hover {
  border-color: #d3d3d3;
}

.events1 img {
  width: 120%;
}

.events1 button {
  padding: 20px;
  margin: 30px 0 30px 0;
  background-color: #ec5242;
  color: #f7f7f7;
  border: 2px solid #ec5242;
  transition: 300ms ease-in-out;
}

.events1 button:active {
  background-color: #cc3b2b;
  color: #f7f7f7;
  border-color: #cc3b2b;
}

.events1 a {
  color: grey
}

/* Desktop version of the events section */
@media only screen and (min-width: 768px) {
  .events {
    width: 100%;
  }

  .events h3 {
    text-align: center;
  }

  .events p {
    text-align: left;
    width: 90%;
  }

  .events ul {
    flex-direction: row;
    justify-content: center;
    padding: 0 10px 0 10px;
    gap: 5px;
    flex-wrap: wrap;
  }

  .events li {
    width: 13%;
    display: flex;
    flex-direction: column;
    padding: 20px 0 20px 0;
    min-width: 190px;
    min-height: 301px;
  }

  .events img {
    width: 40%;
  }

  .events button {
    display: none;
  }

  .events a {
    display: block;
    color: #d3d3d3;
    font-family: "Lato", sans-serif;
    margin: 40px 0 40px 0;
    text-transform: uppercase;
  }
}

/* Desktop version of the events section */
@media only screen and (min-width: 768px) {
  .events1 {
    /* width: fit-content; */
  }

  .events1 h3 {
    text-align: center;
    color: #ec5242;
    word-break: break-word;
  }

  .events1 p {
    text-align: left;
    width: 90%;
    color: #d3d3d3;
    word-break: break-word;
  }

  .events1 ul {
    display: table;
    margin: 0 auto;
    text-align: left;
    color: #d3d3d3;
  }

  .events1 li {
    display: list-item;
    text-align: -webkit-match-parent;
  }

  .events1 img {
    width: 40%;
  }

  .events1 button {
    display: none;
  }

  .events1a {
    color: grey
  }
}

/* Mobile version of the guests section */
.guests {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-family: "Lato", sans-serif;
  padding: 0 10px 40px 10px;
  padding-top: 70px;
  width: 100%;
}

/* Mobile version of the guests section */
.guests1 {

  display: flex;
  flex-direction: column;
  /* background-color: #ffffff; */
  font-family: "Lato", sans-serif;
  align-items: center;
  /* background-image: url(../src/main-bg.png); */
  background-repeat: repeat;
  padding-top: 70px;
}

.guests1 p {
  text-align: left;
  /* padding-left: 50px; */
  width: 90%;
  /* color: #d3d3d3; */
  word-break: break-word;
}

.guests1 h2 {
  /* margin: 0 50px 0 0; */
  color: #272a31;
  text-align: center;
}
.guests1 hr {
  border: none;
  border-top: 1px solid #ec5242;
  width: 30px;
  margin: 10px 0 30px 0;
  align-self: center;
}
.guests1 h4 {
  text-align: left;
  /* padding-left: 50px; */
  width: 90%;
  color: #272a31;

}
.guests1 h5 {
  text-align: left;
  /* padding-left: 50px; */
  width: 90%;
  color: #272a31;

}
.guests1 ul {
  display: table;
  padding-left: 50px;
  /* margin: 0 auto;
  padding: 0 10px 40px 10px; */
}

/* Mobile version of the guests section - Organization uses simple static list */
.guests2 {
  display: flex;
  flex-direction: column;
  align-items: None;
  font-family: "Lato", sans-serif;
  padding: 0 10px 40px 10px;
  padding-top: 70px;
  width: 100%;
}

/* Simple Organization List Styling - No hover effects */
ul[data-columns="2"] {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  list-style: none;
  padding: 0;
  margin: 0 auto;
  max-width: 1200px;
}

ul[data-columns="2"] li {
  font-family: 'Lato', sans-serif;
  font-size: 16px;
  line-height: 1.5;
  color: #2c3e50;
  padding: 10px 0;
  border-bottom: 1px solid #e8e9ea;
}

ul[data-columns="2"] br {
  display: none;
}

/* Mobile responsive for simple organization list */
@media (max-width: 768px) {
  ul[data-columns="2"] {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  
  ul[data-columns="2"] li {
    font-size: 14px;
    padding: 8px 0;
  }
}

.guests2 h2 {
  margin: 30px 0 0 0;
  color: #272a31;
  text-align: center;
}
.guests2 hr {
  border: none;
  border-top: 1px solid #ec5242;
  width: 30px;
  margin: 10px 0 30px 0;
  align-self: center;
}
.guests2 h4 {
  /* padding-left: 50px; */
  text-align: center;
  color: #272a31;

}
.guests2 h5 {
  /* padding-left: 50px; */
  color: #272a31;

}
/* Default guests2 ul styling is overridden by data-columns attribute styling above */
.guests2 ul {
  -webkit-column-count: 2;
  -moz-column-count: 2;
  column-count: 2;
  margin: 0 auto;
  padding: 0 10px 40px 10px;
}

.guests h2 {
  margin: 30px 0 0 0;
  color: #272a31;
}

.guests h4 {
  margin: 30px 0 0 0;
  color: #272a31;

}

.guests hr {
  border: none;
  border-top: 1px solid #ec5242;
  width: 30px;
  margin: 10px 0 30px 0;
}

.guests ul {
  list-style-type: none;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.guests li {
  display: grid;
  grid-template-columns: 35% 57%;
  gap: 5%;
}


.guests button {
  padding: 20px;
  margin: 30px 0 30px 0;
  width: 100%;
  background-color: #fafafa;
  color: #272a31;
  border: 1px solid #d3d3d3;
  border-radius: 4px;
}

.guests button > img {
  width: 10px;
}

.guest-image {
  /* background-image: url(../src/chess.jpg); */
  background-size: 40% 40%;
  background-repeat: no-repeat;
  background-position-x: 0;
  background-position-y: 0;
}

.guest-image img {
  width: 100%;
  height: 100%;
  object-position: bottom;
  object-fit: cover;
  padding-left: 12%;
  padding-top: 12%;
}

.guest-info {
  padding-top: 8%;
}

.guest-info hr {
  border: none;
  border-top: 1px solid #d3d3d3;
  width: 30px;
  margin: 10px 0 10px 0;
}

.guest-info h3 {
  font-weight: 900;
}

.guest-info h4 {
  font-style: italic;
  color: #ec5242;
  font-size: 12px;
}

.guest-info p {
  font-size: 12px;
}

/* Desktop version of the guests section */
@media only screen and (min-width: 768px) {
  .guests ul {
    display: grid;
    width: 80%;
    grid-template-columns: 1fr 1fr;
    justify-content: space-evenly;
  }

  .guests li {
    min-width: 352px;
  }

  .guests button {
    width: 30%;
  }

  .guest-image {
    /* background-image: url(../src/chess.png); */
    min-width: 132px;
    min-height: 132.61px;
  }
}

/* Sponsors section */
.sponsors {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-family: "Lato", sans-serif;
  margin: 0 0 40px 0;
  padding: 30px 10px 50px 10px;
  background-color: #272a31;
  width: 100%;
  color: #8d8d8d;
}

.sponsors hr {
  border: none;
  border-top: 1px solid #ec5242;
  width: 30px;
  margin: 10px 0 30px 0;
}

.sponsors ul {
  display: flex;
  list-style-type: none;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 40px;
  font-weight: 900;
}

.sponsors a {
  color: grey
}

/* Copyright footer */
.copyright {
  display: flex;
  align-items: center;
  justify-content: center;
  justify-items: center;
  font-family: "Lato", sans-serif;
  font-size: 15px;
  padding: 0 0 30px 30px;
  gap: 30px;
}

.copyright img {
  max-width: 92px;
}

/* Desktop version of the copyright footer */
@media only screen and (min-width: 768px) {
  .copyright {
    background-color: #272a31;
    color: #f7f7f7;
    padding-top: 30px;
  }
}
