@import "elsie.css";
@import "carlito.css";
@import "gentiumplus.css";

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

html, body {
  height: 100vh;
  width: 100vw;
  margin: 0px;
  overflow-x: hidden;
  font-family: 'carlito regular', sans-serif;
  font-weight: normal;
  font-size: clamp(16px, 4vmin, 24px)
}

.groundzero {
  height: 100vh;
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: auto auto;
  grid-template-areas:
    'main'
    'footer';
}

:root {
  --darkblue: #311B92;
}

.groundzero > main {
  grid-area: main;
}

.groundzero > footer {
  grid-area: footer;
  background-color: var(--darkblue);
}

.bonn {
  width: 100svw;
  display: grid;
  grid-template-columns: 5vw 1fr 1fr 1fr 5vw;
  grid-template-rows: repeat(auto);
  column-gap: 3vh;
  row-gap: 0vh;
  position: relative;
  align-items: center;
  height: 100%;
}

.bn4e {
  grid-template-areas: 
  ".      .             togglenav     dropdown       ."
  ".      hero-txt1     hero-txt1     hero-txt1      ."
  ".      hero-txt2     hero-txt2     .              ."
  ".      mid-img1      mid-txt1      mid-txt1       ."
  ".      mid-img1      .             mid-img2       ."
  ".      mid-txt2      mid-txt2      mid-img2       ."
  ".      mid-img3      mid-txt3      mid-txt3       ."
  ".      mid-img3      .             mid-img4       ."
  ".      mid-txt4      mid-txt4      mid-img4       ."
  ".      pres-nav      pres-nav      pres-nav       .";
}
.bn5e {
  grid-template-areas: 
  ".      .               togglenav      dropdown       ."
  ".      hero-txt1       hero-txt1      .              ."
  ".      hero-txt2       hero-txt2      .              ."
  ".      mid-txtr1       mid-txtr1      mid-imgr1      ."
  ".      mid-txtr2       mid-txtr2      mid-imgr2      ."
  ".      mid-txtr3       mid-txtr3      mid-imgr3      ."
  ".      mid-txtr4       mid-txtr4      mid-imgr4      ."
  ".      .              .              .               ."
  ".      .              .              .               ."
  ".      pres-nav        pres-nav       pres-nav       .";
}

* h1 { 
  font-size: 250%;
}

* h2 {
  font-size: 175%;
}

* h3 {
  font-size: 125%;
}

* p, ul {
  font-size: 100%;
}

* ul li {
  list-style-position: inside;
  text-indent: -1em;
  margin-left: 1em;
} 

.more, #hero p {
  font-size: 90%;
}

* h1, h2, h3, p, ul {
  padding-bottom: 0.5rem;
}  

.hero {
  grid-column-start: 1;
  grid-column-end: 6;
  grid-row-start: 1;
  grid-row-end: 4;
  box-shadow: 0 1vw 1vw 0 rgba(0, 0, 0, 0.2), 0 1vw 1vw 0 rgba(0, 0, 0, 0.19);
}

.grad0 {
}

.gradLl45 {
  background: linear-gradient(to left, rgba(0,0,0,0) 40%, rgba(0,0,0,0.25) 100%);
}

.gradLl85 {
  background: linear-gradient(to left, rgba(0,0,0,0) 40%, rgba(0,0,0,0.85) 100%);
}

.gradLb55-t55 {
  background: linear-gradient(to top, rgba(0,0,0,55) 0%, rgba(0,0,0,0) 50%, rgba(0,0,0,0) 55%, rgba(0,0,0,0.55) 75%);
}

.midi img {
  border-radius: 2vw;
  box-shadow: 0 1vw 1vw 0 rgba(0, 0, 0, 0.2), 0 1vw 1vw 0 rgba(0, 0, 0, 0.19);
}

.midt, .midi {
  margin-top: 3vw;
  padding-bottom: 3vh;
  z-index: 0;
  font-family: GentiumPlusW;
}

.hero img {
  display: block;
  width: 100svw;
  max-height: 100svh;
  object-fit: cover;
  position: relative;
  z-index: -1;
}

.hero-txt1 {
  grid-area: hero-txt1;
  position: absolute;
  text-align: left;
  top: 0;
  left: 0vw;
  color: white;
  font-family: 'elsieregular', serif;
  font-weight: normal;
}

.hero-txt2 {
  grid-area: hero-txt2;
  position: absolute;
  text-align: left;
  left: 0vw;
  color: white;
  font-family: 'elsieregular', serif;
  font-weight: normal;
}
/*
.hero-txt2 img {
  max-width: 5vw;
}
*/
.hero-txt1 h1 {
  color: white;
  text-align: left;
}

.hero-txt1 p {
  color: white;
  max-width: 35vw;
  text-align: left;
}

.hero-txt2 p {
  color: white;
  max-width: 50vw;
  text-align: left;
}

.more {
  background-color: transparent;
  border: 1px solid white;
  border-style: solid;
  border-radius: 15px;
  color: white;
  padding: 8px 16px;
  text-align: center;
  text-decoration: none;
  font-family: 'elsieregular', serif;
  font-weight: normal;
  display: inline-block;
  margin: 4px 2px;
  cursor: pointer;
}

@media (hover: hover) {
  .more:hover {
    background-color: white;
    color: #311B92;
  }
}

.hero-txt1 p, .hero-txt2 p {
  animation: fadeIn 6s;
}

.hero-txt2 p {
  animation-delay: fadeIn 4s;
}

@-webkit-keyframes fadeIn {
  from {opacity: 0;} 
  to {opacity: 1;}
}

@keyframes fadeIn {
  from {opacity: 0;}
  to {opacity:1 ;}
}

@keyframes fade {
  0% {
    opacity: 1;
  }
  25% {
    opacity: 1;
  }
  75% {
    opacity: 0;
  }
  100% {
    opacity: 0;
  }
}

.midt.txtr1 {
  grid-area: mid-txtr1 ;
  padding-left: 0%;
  padding-right: 0%;
  position: relative;
}

.midi.imgr1 {
  grid-area: mid-imgr1;
  padding-left: 0%;
  padding-right: 0%;
  position: relative;
}

.midt.txtr2 {
  grid-area: mid-txtr2;
  padding-left: 0%;
  padding-right: 0%;
  position: relative;
}

.midi.imgr2 {
  grid-area: mid-imgr2;
  padding-left: 0%;
  padding-right: 0%;
  position: relative;
}

.midt.txtr3 {
  grid-area: mid-txtr3;
  padding-left: 0%;
  padding-right: 0%;
  position: relative;
}

.midi.imgr3 {
  grid-area: mid-imgr3;
  padding-left: 0%;
  padding-right: 0%;
  position: relative;
}

.midt.txtr4 {
  grid-area: mid-txtr4;
  padding-left: 0%;
  padding-right: 0%;
  position: relative;
}

.midi.imgr4 {
  grid-area: mid-imgr4;
  padding-left: 0%;
  padding-right: 0%;
  position: relative;
}

.midt.txt1 {
  grid-area: mid-txt1;
  align-self: start;
  justify-self: center;
  max-width: 75ch;
}

.midt.txt2 {
  grid-area: mid-txt2;
  align-self: start;
  justify-self: center;
  max-width: 75ch;
}


.midt.txt3 {
  grid-area: mid-txt3;
  align-self: start;
  justify-self: center;
  max-width: 75ch;
}


.midt.txt4 {
  grid-area: mid-txt4;
  align-self: start;
}

* h2, h3 {
  font-family: 'elsieregular', serif;
  font-weight: bold;
}

.midt.txt2, .midt.txt3, .midt.txt4 {
  justify-self: center;
}
  
.midt.txt1, .midt.txt2, .label p {
  font-weight: normal;
}

.midi.img {
  grid-area: mid-img;
  padding-left: 0%;
  padding-right: 0%;
  align-self: start;
  position: relative;
}

.midi.img img {
  display: block;
  margin-left: auto;
  margin-right: auto;
  max-width: 100%;
  max-height: 100%;
}

.midi.img1 {
  grid-area: mid-img1;
  padding-left: 0%;
  padding-right: 0%;
  align-self: start;
  position: relative;
}

.midi.img1 img {
  display: block;
  margin-left: auto;
  margin-right: auto;
  max-width: 100%;
  max-height: 100%;
}

.midi.img2 {
  grid-area: mid-img2;
  padding-left: 0%;
  padding-right: 0%;
  position: relative;
}

.midi.img2 img {
  display: block;
  margin-left: auto;
  margin-right: auto;
  max-width: 100%;
  max-height: 100%;
}

.midi.img3 {
  grid-area: mid-img3;
  padding-left: 0%;
  padding-right: 0%;
  align-self: start;
  position: relative;
}

.midi.img3 img {
  display: block;
  margin-left: auto;
  margin-right: auto;
  max-width: 100%;
  max-height: 100%;
}

.midi.img4 {
  grid-area: mid-img4;
  padding-left: 0%;
  padding-right: 0%;
  position: relative;
}

.midi.img4 img {
  display: block;
  margin-left: auto;
  margin-right: auto;
  max-width: 100%;
  max-height: 100%;
}

.midi.imgr1 {
  grid-area: mid-imgr1;
  padding-left: 0%;
  padding-right: 0%;
  align-self: start;
  position: relative;
}

.midi.imgr1 img {
  display: block;
  margin-left: auto;
  margin-right: auto;
  max-width: 100%;
  max-height: 100%;
}

.midi.imgr2 {
  grid-area: mid-imgr2;
  padding-left: 0%;
  padding-right: 0%;
  align-self: start;
  position: relative;
}

.midi.imgr2 img {
  display: block;
  margin-left: auto;
  margin-right: auto;
  max-width: 100%;
  max-height: 100%;
}

.midi.imgr3 {
  grid-area: mid-imgr3;
  padding-left: 0%;
  padding-right: 0%;
  align-self: start;
  position: relative;
}

.midi.imgr3 img {
  display: block;
  margin-left: auto;
  margin-right: auto;
  max-width: 100%;
  max-height: 100%;
}

.midi.imgr4 {
  grid-area: mid-imgr4;
  padding-left: 0%;
  padding-right: 0%;
  align-self: start;
  position: relative;
}

.midi.imgr4 img {
  display: block;
  margin-left: auto;
  margin-right: auto;
  max-width: 100%;
  max-height: 100%;
}

#pres-nav {
  grid-area: pres-nav;
  justify-self: center;
  text-align: center;
  margin-top: 3vh;
  margin-bottom: 3vh;
  background-color: white;
  z-index: 1;
}

.presbut {
  display: inline-block;
  text-align: center;
  width: 12em;
  background-color: #311B92;
  color: white;
  border: 1px solid #311B92;
  border-style: solid;
  border-radius: 15px;
  padding: 1vh 16px;
  text-decoration: none;
  margin: 4px 2px;
  cursor: pointer;
}

@media (hover: hover) {
  .presbut:hover {
    background-color: white;
    color: #311B92;
    border: 2px solid #311B92;
  }
}

  #puOne {
  left: 0;
  }

  #puTwo {
    left: 0;
    transform: translate(-10ch, 0);
  }

  #puThree {
    right: 0;
  }

}

@media (hover: none) {
  .popup {
    position: relative;
    display: inline-block;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
  }

  .popup .popuptext {
    visibility: hidden;
    width: 25ch;
    background-color: white;
    border: 2px solid #311B92;
    text-align: left;
    border-radius: 6px;
    padding: 5px 5px;
    position: absolute;
    z-index: 1;
    bottom: 125%;
    right: 0;
  }

  .popup .show {
    visibility: visible;
    -webkit-animation: fadeIn 1s;
    animation: fadeIn 1s;
  }

  #puOne {
    left: 0;
  }

  #puTwo {
    left: 0;
    transform: translate(-10ch, 0);
  }

  #puThree {
    right: 0;
  }

  @-webkit-keyframes fadeIn {
    from {opacity: 0;} 
    to {opacity: 1;}
  }

  @keyframes fadeIn {
    from {opacity: 0;}
    to {opacity:1 ;}
  }

}

/* navigation */

.togglenav {
  grid-area: togglenav;
  align-self: start;
  justify-self: right;
  z-index: 1;
  color: white;
}

.togglebut {
  display: inline-block;
  text-align: center;
  width: 10em;
  background-color: transparent;
  font-family: 'carlito regular', sans-serif;
  font-weight: normal;
  font-size: clamp(16px, 4vmin, 24px);
  color: white;
  border: 1px solid white;
  border-style: solid;
  border-radius: 15px;
  padding: 1vh 16px;
  text-decoration: none;
  margin: 4px 12px;
  cursor: pointer;
}

@media (hover: hover) {
.togglebut:hover, .legbut:hover {
    background-color: rgba(255,0,0,0);
    color: white;
    border: 1px solid white;
  }
}

#perdubut, #perdubut2 {
  display: none;
}  

#persiebut, #persiebut2 {
  display: inline-block;
}  


.dropdown {
  grid-area: dropdown;
  position: absolute;
  object-fit: contain;
  align-self: start;
  justify-self: left;
  margin-right: 3vw;
}

.ddhr {
  height: 3px;
  background: white;
  color: white;
}

.dropbtn {
  display: inline-block;
  text-align: center;
  width: 12em;
  font-family: 'carlito regular', sans-serif;
  font-weight: normal;
  font-size: clamp(16px, 4vmin, 24px);
  color: white;
  border: 1px solid white;
  border-style: solid;
  border-radius: 15px;
  padding: 1vh 16px;
  text-decoration: none;
  margin: 4px 2px;
  cursor: pointer;
}



.dropdown-content {
  display: none;
  position: absolute;
  background-color: transparent;
  font-family: 'carlito regular', sans-serif;
  font-weight: normal;
  font-size: clamp(16px, 4vmin, 24px);
  color: white;
  text-decoration: none;
  z-index: 1;
}

.dropdown-content a {
  color: white;
  padding: 1.2vh 16px;
  margin: 2.2vh 2px;
  text-decoration: none;
  display: block;
}

.nav-item {
  text-align: center;
  width: 12em;
  font-family: 'carlito regular', sans-serif;
  font-weight: normal;
  font-size: clamp(16px, 4vmin, 24px);
  color: white;
  border: 1px solid white;
  border-style: solid;
  border-radius: 15px;
  padding: 8px 16px;
  text-decoration: none;
  margin: 4px 2px;
  cursor: pointer;
}

@media (hover: hover) {
  .dropdown-content a:hover {
    background-color: white;
    color: #311B92;
  }
}

.nav-item, .dropbtn, .togglebut {
  background-color: rgba(0,0,0,0.6);
}

.hideme {
  display: none;
}

.invisible {
  visibility: hidden;
}

@media (hover: hover) {
  .hamburger:hover {
    text-decoration: none;
  }

  .hamburger:hover img:first-child {
    display:none;
  }

  .hamburger:hover img:last-child {
    display:inline-block;
  }

  .globe:hover {
    text-decoration: none;
  }

  .globe:hover img:first-child {
    display:none;
  }

  .globe:hover img:last-child {
    display:inline-block;
  }

  .roof:hover {
    text-decoration: none;
  }

  .roof:hover img:first-child {
    display:none;
  }

  .roof:hover img:last-child {
    display:inline-block;
  }

  .nav-item:hover, .dropbtn:hover, .togglebut:hover {
    background-color: white;
    color: #311B92;
    }

  .dropdown:hover .dropdown-content {
    display: block;
  }
}

.show {
  display:block;
}


/* footer bnf */

.bnf {
  grid-template-columns: 50svw 50svw;
  grid-template-rows: auto(repeat);
  grid-template-areas:
  "footer-txt     footer-links";
  top: 5vh;
}

.myfoot {
  display: grid;
  left: 0;
  bottom: 0;
  width: 100vw;
  font-size: 80%;
  color: white;
  background-color: var(--darkterracotta);
  text-align: center;
  padding-top: 0vh;
}

.footer-txt {
  grid-area: footer-txt;
  justify-self: end;
  align-self: center;
  padding-top: 1vh;
}

.footer-links, .footer-txt p {
  color: white;
  font-weight: normal;
  text-align: center;
}

.footer-links {
  grid-area: footer-links;
  justify-self: start;
  align-self: center;
  text-align: center;
  padding-bottom: 1vh;
  padding-left: 5vw;
}

.footer-links a {
  padding-left: 1vw;
  padding-right: 1vw;
  color: white;
  text-decoration: none;
}

