:root {
  --clr1: #9C1917;
  --clr2: #FFCC00;
  --clr3: #FDEBBB;
  --clr4: #19233E;
  --clr5: #0E1522;
  --clrletter: #0E1522;
  --clrposition: #19233E;
  
}



@font-face {
  font-family: 'font';
  src: url('https://static.igem.wiki/teams/5036/assets/fonts/titanone.woff') format('woff');
  font-weight: normal;
  font-style: normal;
}

* {
  padding: 0;
  margin: 0;
}

@font-face {
  font-family: 'font2';
  src: url('https://static.igem.wiki/teams/5036/assets/fonts/epilogue-regular.woff') format('woff');
  font-weight: normal;
  font-style: normal;
}

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

html {
  overflow-x: hidden;
  scroll-behavior: smooth;
  width: 100%;
  transition: scroll-behavior 5s ease-in-out;
  zoom: .8;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  padding: 0;
  margin: 0;
  height: 100vh;
  width: 100%;
  flex-direction: column;
  display: flex;
  align-items: center;
  font-family: 'font2';
  background-image: url(https://static.igem.wiki/teams/5036/assets/43bola-fin-2x.png);
  background-size: 100% 100%;
   animation: gradient 167s ease infinite;
   height: 100vh;
   color: var(--clr5);
   background-repeat: repeat;
   background-size: cover;
}

@keyframes gradient {
  0% {
      background-position: 0% 50%;
  }

  50% {
      background-position: 100% 50%;
  }

  100% {
      background-position: 0% 50%;
  }
}

.bg-dark {
  background-color: var(--clr1);
}


.loader {
  background-color: var(--clr5);
  height: 130vh;
  width: 100%;
  position: fixed;
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: opacity 0.5s ease;
}

.loader_gif {
  height: 130vh;
  position: absolute;
  top: 0px;
}

.fade-out {
  opacity: 0;
}

p,
li {
  font-size: 1.45rem;
}

/* width */
::-webkit-scrollbar {
  width: 10px;
}

/* Track */
::-webkit-scrollbar-track {
  background: whitesmoke;
}

/* Handle */
::-webkit-scrollbar-thumb {
  background: var(--clr5);
}

.icon {
  width: 50px;
  fill: currentColor;
  height: auto;
  vertical-align: middle;
  margin-left: 0.2rem;
}

.container {
  display: flex;
  justify-content: center;
  padding: 0;
  margin: 0;
  width: 100%;
  flex-direction: column;
}

.nav_container {
  display: flex;
  justify-content: center;
  padding: 0;
  margin: 0;
  width: 100%;
}

 




.titleh2 {
  position: relative;
  font-size: 3.5rem;
  font-weight: bolder;
  text-align: center;
  padding: 20px 0;
  overflow: visible;
   background-size: 60% 100px;
 background-repeat: no-repeat;
 background-position: 50% 78%;
 margin-bottom: 70px;
}
.titleh2::before {
  content: 'AWESOME TITLE';
  visibility: hidden;
  display: block;
  margin: 4rem;
  height: 0;
}
.titleh3 {
  display: block;
  padding: 1rem;
  font-size: 1.8;
}

.row {
  display: flex;
  flex-direction: row;
  gap: 1rem;
  align-items: center;
  justify-content: center;
}

.description img {
  border-radius: 25px;
}

.column {
  display: flex;
  flex-direction: column;
}

.biblio {
  font-size: smaller;
  font-weight: 999;
  color: var(--clr5);
}

a {
  color: var(--clr5);
  font-weight: bold;
  display: inline;
  cursor: pointer;
}

.bold {
  font-weight: bold;
}

.italicize {
  font-style: italic;
}

.totop {
  position: fixed;
  display: block;
  width: 8rem;
  height: 8rem;
  bottom: 3rem;
  right: 3rem;
  z-index: 9999;
  border: none;
  outline: none;
  cursor: pointer;
  transition: transform 0.3s ease;
 
 
}
.toplogo {
  position: fixed;
  display: block;
  width: 13%;
  top: 1.5rem;
  left: 5%;
  z-index: 9999;
  border: none;
  outline: none;
  cursor: pointer;
}

 

.totop:hover {
  transform: scale(1.1);
}

.paper h3 {
  
  color:var(--clr3);;
  font-size: 2em;;
  line-height:60px;
  font-weight: 900 !important;
  background-image: linear-gradient(to left, var(--clr5) 0%, var(--clr4) 100%);
  box-shadow: 0px 0px 5px #a4c7f580;
  width: fit-content;
  padding:15px 50px 15px 20px;
  margin: 20px 0 20px 0;
  border-radius:20px 20px 20px 20px;
  justify-content: center;
  align-items: center;
}

.paper h4 {
  color:var(--clr3);
  font-size: 1.7em;
  font-weight: 700 !important;
  box-shadow: 0px 0px 2px var(--clr5);
  background: var(--clr1);
  padding:10px 30px 10px 10px;
  width: fit-content;
  border-radius:100px 200px 200px 100px;
  margin: 5px 0;
}
caption{
  font-weight: 400 !important;
      color: var(--clr1) !important;
      font-size: 17px !important;
      width:80% !important;
      left:10% !important;
      position:relative !important;
      text-align: center !important;
      line-height:25px !important;
      margin-top: -5px !important;
      background: transparent !important;box-shadow: none !important;
  }

  .caption {
      font-weight: 400 !important;
          color: var(--clr1) !important;
          font-size: 17px !important;
          width:80% !important;
          left:10% !important;
          position:relative !important;
          text-align: center !important;
          line-height:25px !important;
          margin-top: -5px !important;
          background: transparent !important;box-shadow: none !important;
      }
      
.centered-div {
  text-align: left;
  max-width: 80%;
  padding: 20px;
  box-sizing: border-box;
}

.icon {
  width: 3rem;
  height: 3rem;
  z-index: 999;
  padding: 0;
}

.container {
  align-items: center;
}

.c .row {
  display: flex;
  flex-direction: row;
}

.paper {
  width: 100%;
  display: flex;
  flex-direction: column;
}

.paper_bg {
  box-shadow:  rgba(1, 3, 105, 0.05) 25px 25px;
  background: #FDEBBB;
  border-radius: 20px;
  padding: 3rem;
  width: 90vw;
  margin-top: 3rem;
  margin-bottom: 4rem;
  z-index: 0;
  box-shadow: 0 0 1000px rgba(255, 255, 255, 0.5), 0 0 20px rgba(255, 255, 255, 0.2), 0 0 40px rgba(255, 255, 255, 0.1);
border: solid .31rem var(--clr4);

}

.paper p {
  padding: 1rem;
  text-align: justify;

}
/* styles.css */
.fade-in {
  opacity: 0;
  transition: opacity 2s;
  /* Adjust the duration as needed */
}

.fade-in.visible {
  opacity: 1;
}

.readmore {
  background: var(--clr5);
  width: 50%;
  border-radius: 25px;
  padding: 1rem;
  transition: width 0.5s ease;
}

.readmorebtn {
  width: 100%;
  color: var(--clrletter);
  outline: none;
  border: none;
  padding: 1rem;
  background: var(--clr4);
  border-radius: 25px;
  font-weight: 999;
  font-family: "font";
  font-size: large;
  box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
}

.readmore_content {
  display: none;
  opacity: 0;
  transition: opacity 0.5s ease, max-height 0.5s ease;
  max-height: 0;
  overflow: hidden;
}

.readmore_content p {
  color: white;
}

.readmore_content.show {
  display: block;
  opacity: 1;
  max-height: 1000px;
  /* Arbitrary large value to accommodate content */
}


.btn {
  font-family: 'font';
  outline: none;
  background-color: var(--clr4);
  color: var(--clrletter);
  padding: 0.7rem;
  padding-left: 1rem;
  padding-right: 1rem;
  border-radius: 25px;
  border: none;
  box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
  transition: transform 0.3s ease;
  margin: 0.5rem;
  text-decoration: none;
}

.btn:hover {
  transform: scale(1.1);
}

.img {
max-width:1250px;
  width:auto;
height:auto;
    position: relative;
  top: 50%;
  left: 50%;
  transform: translate( -50%);
padding-bottom:0px;
padding-top:10px;

}

#info {
  width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.toggle {
  position: fixed;
  width: 4rem;
  top: 2rem;
  right: 2rem;
  height: 4rem;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition-duration: 0.5s;
  background-color: var(--clr5);
  border-radius: 50%;
  padding: 0.7rem;
  border: 2px solid var(--clr3);
  z-index: 9999;
  display: flex;
}

.bars {
  width: 80%;
  height: 0.4rem;
  background-color: var(--clr3);
  border-radius: 4px;
  transition-duration: 0.5s;
}

#bar2 {
  transition-duration: 0.8s;
}

#bar1,
#bar3 {
  width: 70%;
}

.toggle.active .bars {
  position: absolute;
}

.toggle.active #bar2 {
  transform: scaleX(0);
  transition-duration: .4s;

}

.toggle.active #bar1 {
  transform: rotate(45deg);
  background-color: var(--clr1);
}

.toggle.active #bar3 {
  transform: rotate(-45deg);
  background-color: var(--clr1);
}

.toggle.active {
  transform: rotate(180deg);
  border: 2px solid var(--clr1);
}

.menu {
  position: fixed;
  bottom: -350%;
  left: 0;
  width: 100%;
  background-color: var(--clr5);
  transition: bottom 0.5s ease-in-out;
  z-index: 999;
  display: flex;
  flex-direction: column;
  border-radius: 25px 25px 0 0;
  padding: 1rem;
  height: 100%;
  gap: .5rem;
}

.menu.active {
  bottom: 0;

}

.dropdownmenu {
  display: none;
  justify-content: center;
  align-self: center;
  text-align: center;
  width: 80%;
  z-index: 1;
  gap: 1rem;
  flex-direction: column;
}

.dropdownmenushow {
  display: flex;

}

.menuicon {
  height: 3rem;
  width: 3rem;
  padding: 0.5rem;
}

.menu-item {
  align-items: center;
  display: flex;
  height: 30px;

  min-height: 1rem;
  justify-content: center;
  color: var(--clrletter);
  font-size: 1.7rem;
  padding: 0.1rem;
  text-decoration: none;
  background-color: var(--clr3);
  border-radius: 25px;
  width: 100%;
  font-weight: bold;
}

.menu-item:hover {
  align-items: center;
  display: flex;
  min-height: 1.2rem;
  justify-content: center;
  color: var(--clr3);
  font-size: 2rem;
  padding: 0.5rem;
  text-decoration: none;
  background-color: var(--clr1);
  border-radius: 25px;
  width: 100%;
  font-weight: bold;
  box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
}

/* Responsive Design for smaller screens */
@media only screen and (max-width: 600px) {
  nav.side-nav {
      display: none;
  }
nav.navbar{
  display: none;
}
  .circle {
      transform: scale(0.5);
  }

  /* Reduce font sizes for smaller screens */
  .hometitle,
  .teamtitle {
      font-size: 5rem;
  }

  .title,
  .titleh1,
  .titleh2,
  .titleh3,
  p,
  li {
      font-size: 1.3rem;
      padding: 0.3rem;
  }

  .name,
  .position,
  .pronouns {
      font-size: 0.9rem;
  }

  /* Adjust card and image sizes */
  .image_container {
      width: 50vw;
  }

  .teamcard {
      padding: 0.3rem;
      width: 80vw;
  }

  .pfp {
      border-radius: 20px;
  }

  /* Make sure the footer fits well */
  footer {
      padding: 0.5rem;
      text-align: center;
  }

  .footerbg {
      flex-direction: column;
  }

  .connection_icons {
      position: relative;
      flex-direction: row;
      padding: 0.3rem;
  }

  .totop {
      width: 4rem;
      height: 4rem;
      bottom: 1.5rem;
      border-radius: 0;
      right: 1.5rem;
  }

  /* Handle text alignment and overflow issues */
  .centered-div,
  .centered-div-row {
      padding: 1rem;
      max-width: 100%;
  }

  .nav_container {
      display: none;
  }

  .totop {
      display: none;
  }

  .toggle {
      display: flex;
  }




  img {
      padding: 1rem;
      height: auto;
      width: 12rem;
  }

  .imgtree {
      height: auto;
      width: 12rem;
  }

  .imgdisk1 {
      height: auto;
      width: 12rem;
  }

  .imgdisk4 {
      height: auto;
      width: 12rem;
  }

  .leaf {
      display: none;
  }
}

.title-container {
  position: relative;
  font-size: 5rem;
  font-weight: bolder;
  text-align: center;
  padding: 20px 0;
  overflow: visible;
}
.title-container2 {
  position: relative;
  font-size: 3.5rem;
  font-weight: bolder;
  text-align: center;
  padding: 20px 0;
  overflow: visible;
}

.layer-1 {
  color: var(--clr5);
}



h1,
h2,
h3,
h4,
h5 {
  font-family: 'font2';
}

.section_container {
  height: 100vh;
  width: 100vw;
  box-sizing: border-box;
  overflow-y: hidden;
}

.section {
  width: 100%;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: Arial, sans-serif;
  font-size: 2em;
  color: white;
}


.hover-text {
  position: relative;
  display: inline-block;
  cursor: pointer;
  color: var(--clr4);
  font-weight: 999;
}
.tooltip {
  position: relative;
  font-family: helvetica;
  text-decoration: underline;
  cursor: pointer;
}
.tooltip:hover {
  text-decoration: none;
}
.tooltip.on-right::before, .tooltip.on-left::before {
  content: attr(data-tool-tip);
  position: absolute;
  color: #fff;
  text-transform: capitalize;
  background-color: #171616;
  padding: 10px 9px;
  border-radius: 4px;
  font-size: 12px;
  white-space: nowrap;
  display: none;
}
.tooltip.on-top::after, .tooltip.on-bottom::after {
  content: attr(data-tool-tip);
  position: absolute;
  color: #fff;
  text-transform: capitalize;
  background-color: #171616;
  padding: 10px 9px;
  border-radius: 4px;
  font-size: 12px;
  white-space: nowrap;
  display: none;
}
.tooltip.on-top::after {
  top: -44px;
  left: 50%;
  transform: translateX(-50%);
}
.tooltip.on-top::before {
  content: "";
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 8px solid #171616;
  height: 0;
  width: 0;
  margin: auto;
  position: absolute;
  top: -6px;
  right: 50%;
  transform: translate(50%, -50%);
  display: none;
}
.tooltip.on-right::before {
  top: 50%;
  left: 100%;
  margin-left: 11px;
  transform: translateY(-50%);
}
.tooltip.on-right::after {
  content: "";
  border-top: 5px solid transparent;
  border-right: 8px solid #171616;
  border-bottom: 5px solid transparent;
  height: 0;
  width: 0;
  margin: auto;
  position: absolute;
  top: 50%;
  right: -12px;
  transform: translateY(-50%);
  display: none;
}
.tooltip.on-bottom::after {
  bottom: -45px;
  left: 50%;
  transform: translateX(-50%);
}
.tooltip.on-bottom::before {
  content: "";
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-bottom: 8px solid #171616;
  height: 0;
  width: 0;
  margin: auto;
  position: absolute;
  bottom: -11px;
  right: 50%;
  transform: translate(50%, 0%);
  display: none;
}
.tooltip.on-left::before {
  top: 50%;
  right: 100%;
  margin-right: 11px;
  transform: translateY(-50%);
}
.tooltip.on-left::after {
  content: "";
  border-bottom: 5px solid transparent;
  border-top: 5px solid transparent;
  border-left: 8px solid #171616;
  height: 0;
  width: 0;
  margin: auto;
  position: absolute;
  top: 50%;
  left: -12px;
  transform: translateY(-50%);
  display: none;
}
.tooltip.on-top:hover::before, .tooltip.on-right:hover::before, .tooltip.on-bottom:hover::before, .tooltip.on-left:hover::before {
  display: inline-block;
  z-index: 1;
}
.tooltip.on-top:hover::after, .tooltip.on-right:hover::after, .tooltip.on-bottom:hover::after, .tooltip.on-left:hover::after {
  display: inline-block;
  z-index: 1;
}
.icon-container {
position:sticky;
width:90%;
left:5%;
display: flex;
flex-wrap: nowrap;
justify-content:space-evenly;
}
.icon-container > div {
 width:130px;
}
.icon-container p {
margin-top: 20px;
text-align: center;
color:#2f86f8;
font-weight:600;
line-height:20px;
font-size: 17px;
transition:0.5s;
}
.icon-container > div:hover p {
color:#54428E;
transform:translateY(-5px);
}
.icon-container img {
width:130px;
transition: 0.5s;
}
.icon-container > div:hover img{
transform:scale(1.1);
}


table {
border-collapse: collapse;
width: 100%;
border: solid 2px var(--clr1);
border-radius: 10%;
font-size: 1.3em ;
}

th {
padding: 8px;
text-align: left;
border-bottom: 2px solid var(--clr1);
color: var(--clr5);

}

td {
padding: 8px;
text-align: left;
border-bottom: 2px dashed var(--clr1);
color: var(--clr5);

}

tr:hover {background-color: var(--clr2);}
.inner {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}
@import url("https://fonts.googleapis.com/css2?family=Comfortaa:wght@700&family=Nunito:wght@300;600&display=swap");


.section {
display: grid;
grid-template-columns: 55% 45%;
place-items: center;
gap: 30px;
min-height: 100vh;
padding: 20px 60px;
width: 95%;
}

/* CONTENT */



.content h1 {
font-family: "Comfortaa", sans-serif;
font-size: clamp(2rem, 4vw, 3.5rem);
font-weight: 700;
line-height: 1.2;
letter-spacing: 1px;
margin-bottom: 36px;
color: var(--clr5);
}

.content p {
font-size: clamp(0.9rem, 3vw, 1.25rem);
font-weight: 300;
line-height: 1.5;
margin-bottom: 30px;
color: var(--clr5);
}

.content button {
background: var(--clr1);
color: var(--clr3);
font-size: clamp(0.9rem, 4vw, 1rem);
font-weight: 600;
border: 0;
outline: 0;
padding: 8px 14px;
border-radius: 7px;
transform: scale(1);
transition: all 0.1s ease-in;
cursor: pointer;
}

.content button:is(:hover, :focus) {
transform: scale(0.98);
background-color: var(--clr3);
border-color: var(--clr1);
border: solid 3px;
color: var(--clr1);
}

/* SLIDER */

.swiper {
position: relative;
width: 400px;
height: 400px;
}

.swiper-slide {
position: relative;
border: 1px solid rgba(255, 255, 255, 0.3);
user-select: none;
border-radius: 20px;
}

.cost {
position: absolute;
top: 8px;
right: 6px;
background: rgba(255, 255, 255, 0.3);
backdrop-filter: blur(6px);
-webkit-backdrop-filter: blur(6px);
box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
border-radius: 30px;
padding: 6px 10px;
color: #fff;
font-size: clamp(0.8rem, 4vw, 0.9rem);
font-weight: 600;
}

.dark-text {
color: #202134;
}

.swiper-slide img {
width: 100%;
height: 100%;
border-radius: 20px;
}

.overlay {
position: absolute;
display: flex;
flex-direction: column;
justify-content: center;
left: 0;
bottom: 0;
width: 100%;
height: 150px;
padding: 10px 20px;
background: rgba(93, 95, 145, 0.2);
backdrop-filter: blur(20px);
-webkit-backdrop-filter: blur(20px);
border-top: 1px solid rgba(255, 255, 255, 0.3);
color: #fff;
border-radius: 0 0 20px 20px;
}

.overlay h1 {
font-size: clamp(1.2rem, 4vw, 1.5rem);
font-weight: 600;
}

.overlay p {
font-size: clamp(0.8rem, 4vw, 0.9rem);
font-weight: 300;
line-height: 1.3;
}


@media (max-width: 890px) {
.logo {
right: -10px;
bottom: -20px;
}

.logo img {
width: 80px;
}
}

@media (max-width: 1050px) {
.swiper {
  width: 350px;
  height: 350px;
}
}

@media (max-width: 930px) {
.section {
  grid-template-columns: 100%;
  grid-template-rows: 55% 40%;
  grid-template-areas:
    "slider"
    "content";
  place-items: center;
  gap: 64px;
  padding: 60px;
}

.swiper {
  grid-area: slider;
}

.content {
  grid-area: content;
  text-align: center;
}

.content h1 {
  margin-bottom: 20px;
}
}

@media (max-width: 470px) {
section {
  padding: 40px 40px 60px;
}

.swiper {
  width: 300px;
  height: 400px;
}
}

#enter{
  color:#0E1522;
}

div.hidden-content {
overflow-y:hidden;
height:65px;
max-height:65px;
background-image: linear-gradient(to bottom, #2e227280 0%, #2e227200 100%);
background-clip: text;
-webkit-background-clip: text;
transition:1s max-height;
}
div.hidden-content p {
color:transparent;
}

.see-more-button {
position:relative;
width:fit-content;
left: 40%;
bottom: 25px;
transition:1s all;
}
.see-less-button {
position:relative;
width:fit-content;
left: 45%;
bottom: 10px;
transition:1s all;
}
.see-more-arrow {
transition:0.5s;
}
.see-less-arrow {
transition:0.5s;
transform:rotate(180deg);
}
.see-more-text {
color: #2f86f8;
font-size: 20PX;
font-weight: 700;
text-align: center;
position:relative;
bottom:-3px;
text-decoration:underline 3px;
transition:0.5s;
}
.see-less-text {
color: #54428E;
font-size: 20PX;
font-weight: 700;
text-align: center;
position:relative;
bottom:-3px;
text-decoration:underline 3px;
transition:0.5s;
}
.see-more-button:hover {
cursor:pointer;
}
.see-more-button:hover .see-more-arrow {
transform:rotate(180deg)
}
.see-less-button:hover .see-less-arrow {
transform:rotate(0deg)
}
.see-less-button:hover {
cursor:pointer;
}
.see-more-button:hover .see-more-text {
color: #54428E;
text-decoration:none;
}
.see-less-button:hover .see-less-text {
color: #2f86f8;
text-decoration:none;
}
/* view more*/
.view-more-horizontal-button {
background: linear-gradient(to bottom, #2f86f8 0%, #1D61B7 50%, #54428E 100%);
background-clip: text;
-webkit-background-clip: text;
color:transparent;
width:fit-content;
position:relative;
left:40%;
text-decoration:underline 3px !important;
}
.view-more-horizontal-button a {
text-align: center;
color:transparent;
font-size: 20PX;
font-weight: 700;
text-decoration:underline 3px !important;
}
.view-more-horizontal-button:hover a {
text-align: center;
color:transparent;
font-size: 20PX;
font-weight: 700;
text-decoration:underline 3px!important;
}
.view-more-horizontal-arrow {
transform:translateX(0) rotate(-90deg);
transition:1s;
}
.view-more-horizontal-button:hover .view-more-horizontal-arrow {
transform:translateX(140px) rotate(-90deg);
}

div.hidden-content.unfold {
max-height:2000px;
transition:1s max-height;
height:auto;
}
div.hidden-content.unfold p {
color:#2e227280;
}
div.see-more-button.unfold {
display:none;
}



.glyphicon-menu-up:before{content:"\e260"}
*{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}
:after,:before
{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}
abbr[data-original-title],


blockquote
{padding:10px 20px;margin:0 0 20px;font-size:1.5rem;}

.col-sm-6
{width:50%}


{.carousel-control .carousel-indicators{bottom:20px}}
.rowt:after,
.rowt:before
{display:table;content:" "}

.rowt:after
{clear:both}

.clearfix:after,
.clearfix:before
{display:table;content:" "}

.clearfix:after,
.contt-fluid:after
{clear:both}
  
.grad-over:hover:after {
left: -100%;
}
#timeline-wrapper .timeline-top {
text-align: center;
}
#timeline-wrapper .timeline-top .top-year {
display: inline-block;
width: auto;
height: auto;
border-radius: 40px;
background-color: var(--clr4);
color: var(--clr3);
text-align: center;
z-index: 9999;
font-size: 2.8rem;
padding: 10px;
}
#timeline-wrapper .timeline-top .top-year > span {
font-size: 3rem;
}
#timeline-wrapper .timeline-block {
width: 100%;
height: auto;
position: relative;
}
#timeline-wrapper .timeline-block:after {
content: "";
position: absolute;
width: 4px;
height: 100%;
background-color: var(--clr1);
left: 50%;
top: 0;
margin-left: -2px;
z-index: -1;
}
#timeline-wrapper .timeline-block .timeline-events .l-event {
float: left;
position: relative;
}
#timeline-wrapper .timeline-block .timeline-events .l-event .thumb {
right: 0;
transform: translate(50%, -50%);
}
#timeline-wrapper .timeline-block .timeline-events .l-event:before, #timeline-wrapper .timeline-block .timeline-events .l-event:after {
position: absolute;
content: "";
color: #333;
width: 40px;
height: 40px;
background: #fff;
transform: translate(50%, -50%);
border-radius: 20px;
z-index: 4;
top: 50%;
right: 0;
}
#timeline-wrapper .timeline-block .timeline-events .l-event:after {
width: 60px;
height: 60px;
z-index: 3;
border-radius: 30px;
background: var(--clr4);
}
#timeline-wrapper .timeline-block .timeline-events .l-event:after:hover {
border-radius: 30px;
background: var(--clr1);
  scale: 1.2;
}
#timeline-wrapper .timeline-block .timeline-events .l-event .event-body:before {
position: absolute;
content: "";
color: #333;
width: 16px;
height: 16px;
background: var(--clr1);
border-top: 1px solid #eee;
border-right: 1px solid #eee;
transform: rotate(45deg) translate(-50%, -50%);
border-radius: 3px;
top: 50%;
right: -8px;
}
#timeline-wrapper .timeline-block .timeline-events .r-event {
float: right;
position: relative;
}
#timeline-wrapper .timeline-block .timeline-events .r-event .thumb {
left: 0;
transform: translate(-50%, -50%);
}
#timeline-wrapper .timeline-block .timeline-events .r-event:before, #timeline-wrapper .timeline-block .timeline-events .r-event:after {
position: absolute;
content: "";
color: #333;
width: 40px;
height: 40px;
background: #fff;
color: #333;
transform: translate(-50%, -50%);
border-radius: 20px;
top: 50%;
left: 0px;
z-index: 4;
}
#timeline-wrapper .timeline-block .timeline-events .r-event:after {
width: 60px;
height: 60px;
z-index: 3;
border-radius: 30px;
background: var(--clr4);
}
#timeline-wrapper .timeline-block .timeline-events .r-event .event-body {
float: right;
transform: perspective(1000px) rotateY(-4deg);
}
#timeline-wrapper .timeline-block .timeline-events .r-event .event-body:before {
position: absolute;
content: "";
color: #333;
width: 16px;
height: 16px;
background: var(--clr1);
border-bottom: 1px solid var(--clr1);
border-left: 1px solid var(--clr1);
transform: rotate(45deg) translate(-50%, -50%);
border-radius: 3px;
top: 50%;
left: -8px;
}
#timeline-wrapper .timeline-block .event {
min-height: 100px;
background: none;
position: relative;

margin-top: 20px;
}
#timeline-wrapper .timeline-block .event .thumb {
font-size: 30px;
position: absolute;
top: 50%;
color: var(--clr4);
z-index: 5;
}
#timeline-wrapper .timeline-block .event .event-body {
background-color: var(--clr3);
min-height: 100px;
border-radius: 5px;
padding: 5px 10px;
width: 90%;
position: relative;
border: 1px solid var(--clr1);
}
#timeline-wrapper .timeline-block .event .event-body .person-image {
display: inline-block;
text-align: left;
width: 20%;
height: 100%;
margin-right: 10px;
padding-right: 10px;
border-right: 1px dashed var(--clr1);
}
#timeline-wrapper .timeline-block .event .event-body .person-image img {
width: 100%;
height: 100%;
border-radius: 50% 50%;
}
.textbio{
  font-size: 2rem;

}
.textbio1{
  font-size: 1.5rem;
  
}
@media (max-width: 1268px) {
  .textbio{
    font-size: 1.2rem;
  
  }
  
  .textbio1{
    font-size: 1.2rem;
  }
}
@media (max-width: 768px) {
#timeline-wrapper .timeline-top {
  text-align: right;
  padding-right: 20%;
}

.timeline-block {
  width: 100%;
  height: 100vh;
  position: relative;
}
.timeline-block:after {
  content: "";
  position: absolute;
  height: 100%;
  background-color: #333;
  left: 5%;
  top: 0;
  margin-left: -3px;
  display: none;
}
.timeline-block .r-event .event-body:after {
  content: "";
  position: absolute;
  top: 0;
  width: 6px;
  height: 100%;
  background-color: var(--clr4);
  left: -30%;
  border-radius: 3px;
  box-shadow: 1px 1px 1px #fff;
}
.timeline-block .l-event .event-body:after {
  content: "";
  position: absolute;
  top: 0;
  width: 6px;
  height: 100%;
  background-color: var(--clr4);
  right: -30%;
  border-radius: 3px;
  box-shadow: -1px 1px 1px #fff;
}
}

.popt{
  cursor: pointer;
  transition: transform .5s; /* Animation */
}
.popt:hover{
  cursor: pointer;
  transform: scale(1.02); /* (150% zoom - Note: if the zoom is too large, it will go outside of the viewport) */
}
.tclick:hover {
cursor: pointer;
scale: 1.1;
}

.icobutt {

  opacity: 50%;
  scale:.9;
  transform: 2ms;
  }
  .icobutt:hover {
  scale: 1.1;
  opacity: 100%;
  transform: 2ms;
  
  }

  .timelinebutt {

      transform: scale(1) ;
      }
      .timelinebutt:hover {
  
      transform: scale(1.02) ;
      cursor: pointer;
      }

ol,
li {
margin-left: 1.3rem;
} 


.accordion {
  width: 95%;
  margin-left: 1rem;
}
.accordion-item {
  background-color: var(--clr1);
  color: var(--clr3);
  margin: 1rem 0;
  border-radius: 0.5rem;
  box-shadow: 0 2px 20px 0 #ffffff9b;
}
.accordion-item-header {
  padding: 0.5rem 3rem 0.5rem 1rem;
  min-height: 3.5rem;
  line-height: auto;
  font-weight: bold;
  display: flex;
  align-items: center;
  position: relative;
  cursor: pointer;
  font-size: 1.7rem;
}
.accordion-item-header:hover {
  scale: 1.02;
}
.accordion-item-header::after {
  content: "\002B";
  font-size: 2rem;
  position: absolute;
  right: 1rem;
}
.accordion-item-header.active::after {
  content: "\2212";
}
.accordion-item-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.2s ease-out;
}
.accordion-item-body-content {
  padding: 1rem;
  font-size: 1.45rem;
  line-height: 1.7rem;
  background-color: var(--clr3);
  color: var(--clr5);
  border-top: 5px solid;
  border-image: linear-gradient(to right, transparent, #19233E , transparent) 1;
border-radius: 0rem 0rem .5rem .5rem;
border: solid 3px  var(--clr1);
}




.accordion .ref {
  width: 95%;
  margin-left: 1rem;
}
.accordion-item .ref {
  background-color: #fff;
  color: var(--clr5);
  margin: 1rem 0;
  border-radius: 0.5rem;
  box-shadow: 0 2px 20px 0 #ffffff9b;
}
.accordion-item-header  .ref{
  padding: 0.5rem 3rem 0.5rem 1rem;
  min-height: 3.5rem;
  line-height: auto;
  font-weight: bold;
  display: flex;
  align-items: center;
  position: relative;
  cursor: pointer;
  font-size: 1.7rem;
}
.accordion-item-header .ref:hover {
  scale: 1.02;
}
.accordion-item-header .ref::after {
  content: "\002B";
  font-size: 2rem;
  position: absolute;
  right: 1rem;
}
.accordion-item-header.active .ref::after {
  content: "\2212";
}
.accordion-item-body .ref {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.2s ease-out;
}
.accordion-item-body-content .ref{
  padding: 1rem;
  font-size: 1.45rem;
  line-height: 1.7rem;
  background-color: #fff;
  color: var(--clr5);
  border-top: 5px solid;
  border-image: linear-gradient(to right, transparent, #19233E , transparent) 1;
border-radius: 0rem 0rem .5rem .5rem;
}




@import url(https://fonts.googleapis.com/css?family=Dosis:600,200|Great+Vibes);



.sidetab 
{
margin:0;
padding:0;
border: 0 none;
  background: var(--clr3);
  width: 95%;
  min-width: 390px;
  height: 24rem;
  margin: 2rem auto;
  padding-right: 5rem;
  box-shadow: 0 0 3px rgba(0,0,0,.4);
  border: solid 5px var(--clr1);
  border-radius: 25px;
}

.sidetabart {
  height: 100%; 
  position: absolute;
  padding: 22px;
  right: 5rem;
  overflow: auto;
  transition: .7s;
  transform: scale(0);
  transform-origin: 0% 0%;
  transition-delay: .1s;
}
.sidetabart:before {
  color: rgba(255,255,255,.45);
  font-size: 4rem;
  font-weight: 100;
  position: absolute;
  top: 1rem;
  left: 1rem;
}

.sidetabnav {
  background: var(--clr1);
  width: 5rem !important;
  position: absolute !important;
  right: 0 !important;
  top: 0 !important;
  bottom: 0 !important; 
  border-radius: 0 20px 20px 0px;

}
.sidetabnav:after {
  content:'';
  width: 5rem !important;
  height: 5.4rem !important;
  background: var(--clr3) !important;
  position: absolute !important;
  left: 0 !important;
  border-top: 1px solid transparent !important;
  border-bottom: 1px solid transparent !important;
  transition: .5s !important;    border-radius: 0 20px 20px 0px;

}
input {
  display: none !important;
}
label {
  display: block;
  width: 100%;
  height: 6rem;
  color: var(--clr3);
  text-align: center;
  cursor: pointer;
  transition: .5s;
  z-index: 2;
}
label:hover {color: rgba(0,0,0,.5);font-weight:600;}
label:before {
  display: block;
  font-size: 3rem;
  padding-top: .8rem;
  z-index: 2;
}
#profile:checked ~ .sidetabnav [for='profile'],
#settings:checked ~ .sidetabnav [for='settings'],
#posts:checked ~ .sidetabnav [for='posts'],
#books:checked ~ .sidetabnav [for='books']
{
  color: var(--clr1);
  font-weight: 800;
}
#settings:checked ~ .sidetabnav [for='settings'] {}
#profile:checked ~ .sidetabnav [for='profile'] {}

#profile:checked ~ .sidetabnav:after {
  top: 18rem;
  border-top: 1px solid #15BFCC;
  border-bottom: 0 none;
}
#settings:checked ~ .sidetabnav:after {
  top:0rem;
  border-top: 0 none;
  border-bottom: 1px solid #004050;
}
#posts:checked ~ .sidetabnav:after {
  top: 6rem;
  border-top: 1px solid #15BFCC;
  border-bottom: 1px solid #004050;
}
#books:checked ~ .sidetabnav:after {
  top: 12rem;
  border-top: 1px solid #15BFCC;
  border-bottom: 1px solid #004050;
}

#profile:checked ~ .uno,
#settings:checked ~ .dos,
#posts:checked ~ .tres,
#books:checked ~ .cuatro {
  transform: scale(1);
  transition-delay: .4s; 
}

.topsdg{
  height: 5px;
  width: 45%;
  top: 1px ;
  margin-top: 2px;
}


.topsdg{
  height: 100px;
  width: 45%;
  top: -21px ;
  margin-top: 2px;
}
 
.content p ,li ,ol {
  color: var(--clr5);
} 

.float{
animation: float 2s ease-in-out infinite;
	transition:0.5s all;
}
@keyframes float {
	0% {
		transform: translatey(0px);
	}
	50% {
		transform: translatey(-20px);
	}
	100% {
		transform: translatey(0px);
	}
}

.sswipe{
	z-index:1;
	font-size: 2em;
	text-align:center;
	left: 0; 
	right: 0; 
	margin-left: 10%;  
	margin-right: auto; 
  margin-top: 25%;
	width:97.9vw;
color: var(--clr1);
	overflow: hidden;
	-webkit-text-stroke: solid 1px var(--clr4);
	-webkit-text-stroke-width: 1.5px;
	-webkit-text-stroke-color: var(--clr4);

	animation: floatx 3s ease-in-out infinite;
	transition:0.5s all;
}
@keyframes floatx {
	0% {
		transform: translatex(0px);
	}
	30% {
		transform: translatex(-20px);
	}
  60% {
		transform: translatex(20px);}
	100% {
		transform: translatex(0px);
	}
}

.flip-card {
  background-color: transparent;
  width: 300px;
  height: 200px;
  border: 1px solid #f1f1f1;
  perspective: 1000px; /* Remove this if you don't want the 3D effect */
}

/* This container is needed to position the front and back side */
.flip-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  text-align: center;
  transition: transform 0.8s;
  transform-style: preserve-3d;
}

/* Do an horizontal flip when you move the mouse over the flip box container */
.flip-card:hover .flip-card-inner {
  transform: rotateY(180deg);
}

/* Position the front and back side */
.flip-card-front, .flip-card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  -webkit-backface-visibility: hidden; /* Safari */
  backface-visibility: hidden;
}

/* Style the front side (fallback if image is missing) */
.flip-card-front {
  background-color: #bbb;
  color: black;
}

/* Style the back side */
.flip-card-back {
  background-color: var(--clr1);
  color: white;
  transform: rotateY(180deg);
}