@import url("https://fonts.googleapis.com/css2?family=Macondo&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Averia+Serif+Libre&display=swap");
@import url("https://fonts.googleapis.com/css?family=Source+Sans+Pro&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Roboto:wght@500&display=swap");
body {
  font-family: Source Sans Pro;
  background-color: #f5f5f5;
}

.navbar {
  min-height: 60px;
  max-height: 95vh;
  transition: all 0.3s;
  background-color: transparent;
  box-shadow: 0 2px 3px #0000;
  overflow-y: auto;
}

.navbar-bg {
  background-image: linear-gradient(
    to right,
    #d23852,
    #d63853,
    #da3954,
    #df3955,
    #e33956,
    #e33956,
    #e33956,
    #e33956,
    #df3955,
    #da3954,
    #d63853,
    #d23852
  );
  box-shadow: 0 2px 3px #000c;
}

.nav-link {
  text-align: center;
  transition: all 0.3s;
  font-weight: 500;
  margin-inline: 0.2rem;
  margin-block: 0.2rem;
  font-family: Macondo;
}

.navbar-light .nav-link {
  color: #000 !important;
}

.navbar-dark .nav-link {
  color: #fff !important;
}

.navbar-light .nav-link:hover,
.navbar-light .active {
  color: #d23852 !important;
}

.navbar-dark .nav-link:hover,
.navbar-dark .active {
  color: rgb(255, 247, 103) !important;
}

#committee li {
  list-style: none;
  margin-bottom: 0.7rem;
}

section {
  padding-block: 6rem;
  padding-inline: 1rem;
}

section:nth-child(even) {
  background-color: #fff;
}

section div:first-child {
  margin-inline: auto;
  max-width: 888px;
}
section a:not(.btn) {
  color: #d23852;
  transition: all 0.2s;
  text-decoration: none;
}
section a:not(.btn):hover {
  color: rgb(94, 143, 247);
  text-decoration: underline 0.1rem;
  text-underline-offset: 0.2rem;
}
section a:not(.btn) {
  color: #d23852;
  transition: all 0.2s;
  text-decoration: none;
}
section a:not(.btn):hover {
  color: rgb(94, 143, 247);
}

header {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 5rem;
  flex-direction: column;
  position: relative;
  padding-inline: 0.5rem;
  padding-block: 100px;
}

.call-to-action {
  position: absolute;
  height: 3.5rem;
  bottom: -2rem;
  font-size: 1.2rem;
}

.filter-layer {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  right: 0;
  overflow: hidden;
  width: 100%;
  height: 100%;
  z-index: -20;
}
.filter-layer .inner-layer {
  filter: blur(5px);
  background-image: linear-gradient(to right, #fff6, #fff6), url(../img/banner.webp);
  background-attachment: fixed;
  background-position: 50% 40%;
  background-size: cover;
  transition: transform 12s linear;
}
.title:not(.presentation-table .title, .ptable .title, .otable .title) {
  font-size: 3rem;
  line-height: 1;
  font-family: "Roboto";
}

header h1 {
  font-size: 2.3rem;
  line-height: 2.5rem;
  font-weight: bold;
}

.importantDates {
  font-size: 1.1rem;
}

.importantDates b {
  font-size: 1rem;
  display: block;
  font-weight: 800;
  color: #d23852;
}

.go-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  font-size: 2rem;
  color: #d23852;
  background-color: #fffc;
  border-radius: 50%;
  opacity: 0;
  cursor: pointer;
  transition: all 1s;
}

.go-to-top:hover {
  color: #d23852cc;
}

section h2 {
  margin-bottom: 2rem;
  color: #fffb;
  box-shadow: 0 2px 4px #0008;
  font-family: Macondo;
  padding-inline: 1rem;
  padding-block: 4px 2px;
  border-radius: 12px;
  font-size: 2rem;
  text-align: center;
  background-image: linear-gradient(
    to right,
    #d23852,
    #d63853,
    #da3954,
    #df3955,
    #e33956,
    #e33956,
    #e33956,
    #e33956,
    #df3955,
    #da3954,
    #d63853,
    #d23852
  );
}

section h4,
.loading-screen h4 {
  color: #d23852;
  font-weight: 700;
  font-size: 2rem;
  margin-top: 4rem;
}
section h4:not(#keynote h4),
.loading-screen h4 {
  font-family: Macondo;
}
#cfp .card {
  border-radius: 20px;
  padding: 1rem;
  transition: all 0.2s;
  box-shadow: 0 0 2px #0008;
}
#cfp .card li {
  margin-bottom: 0.2rem;
  line-height: 1.2;
}
#cfp h4 {
  text-align: center;
  border-bottom: 1px solid;
  margin-block: 0 2rem;
  border-radius: 20px;
  cursor: default;
  padding-block: 0.5rem;
}

#cfp .card:hover {
  box-shadow: 0 0 8px #0008;
}
#cfp .card:hover h4 {
  background-image: linear-gradient(
    to right,
    #d23852,
    #d63853,
    #da3954,
    #df3955,
    #e33956,
    #e33956,
    #e33956,
    #e33956,
    #df3955,
    #da3954,
    #d63853,
    #d23852
  );
  color: #fff;
}

.keynote-img {
  height: 150px;
  margin-bottom: 1rem;
  border-radius: 50%;
  box-shadow: 0 2px 8px #000c;
  transition: all 0.3s;
  border: 2px solid #fff;
}

.keynote-img:hover {
  transform: translateY(-4px);
  box-shadow: 0 5px 12px #000;
}

table:not(.presentation-table, .ptable, .otable) {
  box-shadow: 0 0 8px #000c;
  cursor: default;
  margin-left: 1rem;
}

table:not(.presentation-table, .ptable, .otable) td {
  padding: 0.5rem 1.3rem;
  border: 1px solid #0008;
  font-size: 1.1rem;
}

table:not(.presentation-table, .ptable, .otable) td:nth-child(odd) {
  background-image: linear-gradient(
    to right,
    #d23852,
    #d63853,
    #da3954,
    #df3955,
    #e33956,
    #e33956,
    #e33956,
    #e33956,
    #df3955,
    #da3954,
    #d63853,
    #d23852
  );
  color: #fff;
}

.alert {
  box-shadow: 0 2px 8px #0007;
  border-radius: 12px;
}

#registration ol {
  font-weight: bold;
}

footer {
  min-height: 100px;
  margin-top: 5rem;
  background-color: #333;
  color: #fff7;
  font-size: 0.8rem;
}

footer a {
  color: #fff7;
  text-decoration: none;
  transition: all 0.2s;
  margin-inline: 1rem;
}
footer a:hover {
  color: #fffc;
}

::selection {
  background-color: #efeb0b;
  color: #000;
}

.loading-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: #f5f5f5;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 99999;
}

.loading-screen h4 {
  margin-top: 0;
}
