@import url("https://use.typekit.net/wcn4fbw.css");

html,
body {
  height: 100vh;
  margin: 0;
  font-family: "elza-narrow", sans-serif;
  font-weight: 400;
  font-size: 16px;
  background-color: #ffffff;
}

body {
  height: 100vh;
  background: linear-gradient(90deg,rgba(244, 184, 160, 1) 0%, rgba(255, 255, 255, 1) 15%, rgba(255, 255, 255, 0) 50%, rgba(255, 255, 255, 1) 85%, rgba(190, 232, 231, 1) 100%);
}

#access-event-form{
  display: flex;
  width: 100%;
}

.landing-page-wrapper{
  position: relative;
  display: flex;
  flex-direction: column;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0px;
  width: 100vw;
  width: 100dvw;
  height: calc(100vh - 50px);
  height: calc(100dvh - 50px);
}

.chat-login-header{
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  padding: 0.625rem;
}

.home-btn{
    color: #ffffff;
    text-decoration: none;
    background-image: linear-gradient(to right, #38184c, #68c7c6);
    padding: 4px 16px;
    border-radius: 12px;
    margin: 0;
    font-weight: 900;
    font-size: 30px;
    line-height: 1.4;
    letter-spacing: 1px;
}

.home-btn:hover, .home-btn:focus {
    color: #ffffff;
    text-decoration: none;
}

.login-btn{
    color: #ffffff;
    text-decoration: none;
    background-image: linear-gradient(to right, #38184c, #68c7c6);
    padding: 4px 16px;
    border-radius: 12px;
    margin: 0;
    font-weight: 900;
    font-size: 26px;
    line-height: 1.3;
    letter-spacing: 1px;
}

.login-btn:hover, .login-btn:focus {
    color: #ffffff;
    text-decoration: none;
}

.dropdown-toggle::after {
    display: inline-block;
    margin-left: 0em;
    vertical-align: .35em;
    content: "";
    border-top: .3em solid;
    border-right: .3em solid transparent;
    border-bottom: 0;
    border-left: .3em solid transparent;
    font-size: 1.5rem;
}

.access-code-header {
  display: flex;
  flex-direction: column;
  justify-content: stretch;
  align-items: center;
  padding: 0 0.625rem;
}

.access-code {
  display: flex;
  flex-wrap: nowrap;
  flex-direction: row;
  width: 100%;
}

.access-code input {
  margin: 0;
  padding: 0.75rem 0.625rem;
  border: 1px solid #ea682e;
  border-radius: 0.5rem 0 0 0.5rem;
  font-size: 1.2rem;
  font-weight: 600;
  color: #000000;
  width: 100%;
}

.access-code button {
  border: none;
  outline: none;
  background-color:  #ea682e;
  border: 1px solid #ea682e;
  border-radius: 0 0.5rem 0.5rem 0;
  font-size: 1.2rem;
  font-weight: 600;
  width: 4.5rem;
  color: #ffffff;
  cursor: pointer;
}

.access-code input:focus {
  outline: 0px !important;
}

.profile-button{
  color: #351A4A;
  font-size: 2rem;
  text-decoration: none;
  margin-left: 15px;
  padding-top: 2px;
}

.profile-button:hover, .profile-button:focus {
  color: #351A4A;
  text-decoration: none;
}

.content-grid {
  position: relative;
  flex-grow: 1;
  min-height: 0;
  display: grid;
  gap: 0.625rem;
  grid-gap: 0.625rem;
  padding: 0.625rem;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr 1fr;
}

.grid-item {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 0px;
  border-radius: 0.625rem;
  color: white;
  box-shadow: 0 0.25rem 0.625rem rgba(0, 0, 0, 0.1);
  min-width: 0;
  overflow: hidden;
  overflow-wrap: break-word;
}

.grid-item div {
  padding: 0.625rem;
  height: 100%;
}

.grid-item {
  font-size: 1.2rem;
  position: relative;
}

.grid-item h3 {
  margin: 0;
  font-size: 6vw;
  font-weight: 400;
  line-height: 1;
  align-items: center;
}
.grid-item p {
  margin: 0 0 0.9375rem 0;
  flex-grow: 1;
}
.grid-item .continue-button {
  display: inline-block;
  background-color: rgba(0, 0, 0, 0.25);
  padding: 8px 12px;
  border-radius: 20px;
  text-decoration: none;
  color: white;
  font-weight: bold;
  font-size: 1.3rem;
  text-transform: uppercase;
  align-self: flex-start;
}

.grid-item .item-link{
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0
}

.grid-item .item-bottom{
  display: none;
  flex-direction: column;
  font-size: 1rem;
  line-height: 1;
  font-weight: 700;
}

.grid-item .item-top{
  align-content: center;
  justify-content: center;
}

.grid-item-button{
  display: none;
  justify-content: end;
  padding: 0.75rem !important;
}
.item-0 {
  background-image: linear-gradient(to right, #351A4A, #DA6B85);
}
.item-1 {
  background-image: linear-gradient(to right, #e45c27, #f2668a);
}
.item-2 {
  background-image: linear-gradient(to right, #3b898d, #a0cd60);
}
.item-3 {
  background-image: linear-gradient(to right, #38184c, #68c7c6);
}
.item-4 {
  background-image: linear-gradient(to right, #782e1a, #f2668a);
}
.item-5 {
  background-image: linear-gradient(to right, #e45c27, #494949);
}
.item-6 {
  background-color: transparent;
  align-items: center;
  justify-content: center;
  text-align: center;
  box-shadow: none !important;
}
.logo {
  height: 80%;
  max-height: 18.75rem;
  aspect-ratio: 1;
  width: auto;
  display: block;
}

.bottom-bar {
  position: relative;
  height: 50px;
  padding-top: 5px;
  width: 100%;
  text-align: center;
  align-items: center;
  background-color: rgba(255, 255, 255, 0.4);
  color: #000;
}

.carousel-item h1{
  margin: 0;
  font-size: 2rem;
}

.carousel-item img{
  max-height: 40px;
  max-width: 100%;
}

@media (min-width: 390px) {
  .grid-item .item-bottom{
    display: flex;
    font-size: 1.2rem;
  }
}

@media (max-width: 1154px) {
  .grid-item .continue-button{
    display: none;
  }
}

@media (max-height: 1072px) {
  .grid-item .continue-button{
    display: none;
  }
}

@media (max-width: 1182px) {
  html, body{
    font-size: 14px;
  }
}

@media (max-width: 947px) {
  .grid-item h3 {
    font-size: 2.2rem !important;
  }
}

@media (max-width: 390px) {
  .grid-item h3 {
    font-size: 1.8rem !important;
  }
}

@media (max-width: 340px) {
  .grid-item h3 {
    font-size: 1.5rem !important;
    line-height: 1;
  }
  .logo {
    height: 60%;
    width: auto;
    max-width: 60%;
    display: block;
  }
}


@media (orientation: landscape) and (max-height: 600px) {
  .grid-item h3 {
    font-size: 2.2rem !important;
  }
}



@media (orientation: landscape), (min-width: 769px) {
  .content-grid {
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: 1fr 1fr;
  }

  .grid-item div {
    padding: 1.25rem;
    height: 40%;
  }

  .grid-item h3 {
    font-size: 3.5rem;
  }

  .grid-item .item-bottom{
    font-size: 2.5rem;
  }

  .grid-item-button{
    display: flex;
    justify-content: end;
    margin: 0;
    padding: 0;
  }

}


@media (orientation: landscape) and (max-height: 850px){
  .grid-item .item-bottom{
    display: none;
  }

  .grid-item div{
    height: 100%;
  }
  
}
