*, *::before, *::after { box-sizing: border-box; }
html { 
  height: 100%; 
  scroll-behavior: smooth;
}
body {
  background-color: var(--nerd-black);
  color: white;
  font-family: var(--text-font);
  line-height: 1.5;
  /* line-height: calc(.25rem + 1em); dynamically reduce the line-height as the font-size grows */
  margin: 0 auto;
  min-height: calc(100% + 70px);
  position: relative;
}
h1 {
  color: var(--nerd-yellow);
  font-family: var(--title-font);
  font-size: 8rem;
  /* hyphens: manual; */
  letter-spacing: .06em;
  line-height: .85;
  margin: 0;
}
h2 {
  font-family: var(--title-font);
  font-size: 8rem;
  line-height: 1;
  margin:0;
  word-break: break-word;
}
h3 {
  font-family: var(--title-font);
  font-size: 2rem;
  letter-spacing: .06em;
  line-height: 1;
  margin: 2rem 0 0;
}
hr {
  border-color: var(--nerd-mustard);
  border-style: solid;
}
a { color: var(--nerd-blue);}
ol, ul { padding: 0; }
ul:where([role="list"]) { list-style: none; }
.content-container {
  max-width: 85vw;
  width: min(90vw, 85rem);
  margin-inline: auto;
}
.flex-wrapper {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}
.skip-to-main-content {
  background-color: rgba(0,0,0,.7);
  color: white;
  opacity: 0;
  padding: 1em;
  position: absolute;
  left: -9999px;
  z-index: 999;
}
.skip-to-main-content:focus {
  left: 0;
  opacity: 1;
  text-align: center;
  width: 100%;
}
.back-to-top {
  position: fixed;
  bottom: 1rem;
  right: 1rem;
  z-index: 10;
}
.btn {
  border: 0;
  border-radius: .2rem;
  cursor: pointer;
  font-family: var(--title-font);
  font-size: 1.6rem;
  font-weight: bold;
  letter-spacing: .06em;
  padding: 16px 32px;
  text-transform: uppercase;
  transition: background-position .3s ease-in-out; 
}
a.btn {
  color: var(--nerd-black);
  display: inline-block;
  text-decoration: none;
}
.btn-lightgreen { 
  background-color: var(--nerd-lightgreen); 
  background: linear-gradient(90deg, 
  var(--nerd-red) 0%, 
  var(--nerd-red) 33.33%, 
  var(--nerd-yellow) 33.33%, 
  var(--nerd-yellow) 66.66%, 
  var(--nerd-lightgreen) 66.66%, 
  var(--nerd-lightgreen) 100%);
  background-position: 100% 0;
  background-size: 300%;
}
.btn-green { 
  background-color: var(--nerd-green);
  background: linear-gradient(90deg, 
  var(--nerd-red) 0%, 
  var(--nerd-red) 33.33%, 
  var(--nerd-yellow) 33.33%, 
  var(--nerd-yellow) 66.66%, 
  var(--nerd-green) 66.66%, 
  var(--nerd-green) 100%);
  background-position: 100% 0;
  background-size: 300%;
}
.btn-yellow { 
  background-color: var(--nerd-yellow); 
  background: linear-gradient(90deg, 
    var(--nerd-red) 0%, 
    var(--nerd-red) 33.33%, 
    var(--nerd-green) 33.33%, 
    var(--nerd-green) 66.66%, 
    var(--nerd-yellow) 66.66%, 
    var(--nerd-yellow) 100%);
  background-position: 100% 0;
  background-size: 300%;
}
.btn-red { 
  background-color: var(--nerd-red);  
  background: linear-gradient(90deg, 
    var(--nerd-yellow) 0%, 
    var(--nerd-yellow) 33.33%, 
    var(--nerd-green) 33.33%, 
    var(--nerd-green) 66.66%, 
    var(--nerd-red) 66.66%, 
    var(--nerd-red) 100%);
  background-position: 100% 0;
  background-size: 300%;  
}
.btn-mustard { 
  background-color: var(--nerd-mustard);
  background: linear-gradient(90deg, 
    var(--nerd-red) 0%, 
    var(--nerd-red) 33.33%, 
    var(--nerd-green) 33.33%, 
    var(--nerd-green) 66.66%, 
    var(--nerd-mustard) 66.66%, 
    var(--nerd-mustard) 100%);
  background-position: 100% 0;
  background-size: 300%;
}
.btn.btn-blue { 
  background-color: var(--nerd-blue);
  background: linear-gradient(90deg, 
    var(--nerd-red) 0%, 
    var(--nerd-red) 33.33%, 
    var(--nerd-green) 33.33%, 
    var(--nerd-green) 66.66%, 
    var(--nerd-blue) 66.66%, 
    var(--nerd-blue) 100%);
  background-position: 100% 0;
  background-size: 300%;
}

.btn:hover { background-position: 0 0; }

.btn.btn-small {
  font-size: 1.6rem;
  padding: .4rem 1.2rem;
  letter-spacing: 0.03em;
}
.btn-green.active { background-color: var(--nerd-mustard);}
.btn.btn-outline {
  background-color: transparent;
  border: 1px solid white;
  color: white;
}
.cinta {
  min-height: 30px;
  object-fit: cover;
  object-position: left center;
  position: absolute;
  right: 0;
  bottom: -2rem;
  left: 20px;
  width: calc(100% - 20px);
  z-index: 2;
}
.btn-wrapper {
  margin-block: 2rem;
  text-align: center;
  width: 100%;
}

/** sponsors **/
.sponsors {
  background: var(--nerd-dark-blue) url(../img/containers-house.svg) no-repeat -500px bottom;
  background-size: 90%;
  padding: 2rem;
  position: relative;
}

.contact::after {
  top: -30px;
  height: 120%;;
}
.sponsors-inner {
  background: url(../img/containers-house.svg) no-repeat -500px bottom;
  background-size: 90%;
  padding: 2rem;  
}
.sponsors-inner .sponsors-wrapper .btn-yellow { display: none;}
.sponsors h2 {
  align-items: flex-end;
  color: var(--nerd-yellow);
  display: flex;
  font-size: 4.2rem;
  justify-content: center;
  line-height: .8;
  margin: 0;
  position: relative;
  -webkit-text-stroke: .1rem var(--nerd-black);
  z-index: 1;
}
.sponsors-thanks {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  margin-block-end: 2rem;
  position: relative;
  width: 100%;
}
.sponsors-thanks img {
  flex: 1 0 30%;
  margin-block-end: 1rem;
  margin-inline-end: 3rem;
  max-width: 300px;
  width: 100%;
}
.title-wrapper {
  flex: 1 0 60%;
}
.sponsors-thanks h1 {
  color: var(--nerd-green);
  font-size: 5rem;
}
.sponsors-thanks h1 span {
  color: var(--nerd-mustard);
}
.sponsors-thanks h2 {
  color: white;
  font-size: 2.4rem;
  line-height: 1.2;
  max-width: 60ch;
  margin: 1rem 0 0;
  word-break: break-word;
  -webkit-text-stroke: 0;
}
.sponsors-thanks h2 span {
  color: var(--nerd-mustard);
}
.speakers-inner .speakers-col-left { display: none; }
.speakers-inner .speakers-col-right {
  justify-content: center;
  max-width: 100%;
}

.sysarmy-container {
  display: flex;
  justify-content: center;
  padding: 10rem 2rem 2rem;
}
.sysarmy-container img {
  min-width: 300px;
  height: auto;
}
@media screen and (max-width: 56.24em) {
  main:not(#main) { margin-block-start: 7rem; }
  .sponsors-thanks h1 {
    font-size: 3.8rem;
  }
}

@media screen and (max-width: 40em) /* 640 */{
  h1 {
    font-size: 5rem;
    word-break: break-word;
  }
  h2 {
    font-size: 5rem;
  }
  .sponsors-thanks h1 {
    font-size: 2.8rem;
  }
  .sponsors-thanks h2 {
    font-size: 2rem;
    margin: 2rem 0;
  }
  .sponsors-thanks img {
    max-width: 180px;
  }
  .btn {
    font-size: 1.5rem;
    letter-spacing: .02em;
    padding: .6rem 1rem;
  }
}

.floating-button {
  position: fixed;
  bottom: 50px;
  right: 1rem;
  z-index: 9; /* Make sure it stays on top */
}
