/* Reset base */

* {

  margin: 0;

  padding: 0;

  box-sizing: border-box;

}



html{

  -ms-overflow-style: none; /* IE, Edge */

  scrollbar-width: none; /* Firefox */

  overflow-x: hidden;

}





/* Scrollbar: nascosta sui browser principali */

body::-webkit-scrollbar {

  display: none;

}



body {

  -ms-overflow-style: none; /* IE, Edge */

  scrollbar-width: none; /* Firefox */

  overflow-x: hidden;

  font-family: 'Montserrat', sans-serif;

  font-size: 1rem;

  background-color: #ffffff;

  min-height: 100vh;

  height: fit-content;

  width: 100%;

}



/* Canvas di sfondo: posizione fissa fullscreen dietro tutto */

#canvas {

  position: fixed;

  top: 0;

  left: 0;

  width: 100vw;

  height: 100vh;

  z-index: -999; /* dietro a tutto */

  pointer-events: none; /* non blocca input */

}



/* Typography */

.lilita-one-regular {

  font-family: "Lilita One", sans-serif;

  font-weight: 400;

  font-style: normal;

}



/* Logo */

.logo {

  width: 200px;

  height: 100%;

}



/* Navigation */

nav {

  background-color: #ffffff;

  border-bottom: 2px solid black;

}



nav ul {

  width: 100%;

  margin: 0 10px;

  list-style: none;

  display: flex;

  justify-content: flex-end;

  align-items: center;

}



nav li {

  height: 50px;

}



nav a {

  height: 100%;

  padding: 0 30px;

  text-decoration: none;

  display: flex;

  align-items: center;

  color: black;

}



nav a:hover {

  background-color: aquamarine;

  border-left: 2px solid black;

  border-right: 2px solid black;

}



nav a.no-hover:hover {

  background: inherit !important;

  color: inherit !important;

}



nav li:first-child {

  margin-right: auto;

}



/* Sidebar mobile */

.sidebar {

  position: fixed;

  top: 0;

  right: 0;

  height: 100vh;

  width: 250px;

  z-index: 999;

  background-color: #ffffff;

  display: none;

  flex-direction: column;

  align-items: flex-start;

  justify-content: flex-start;

}



.sidebar li {

  width: 100%;

}



.sidebar a {

  width: 100%;

}



/* Menu Icons */

.MenuMedia,

.ChiudiMenu {

  width: 24px;

  height: 24px;

}



/* Responsive menu button */

.menu-button {

  display: none;

}



/* Hero Section */

.hero {

  position: relative; /* fondamentale per il backdrop assoluto */

  height: fit-content;

  max-width: 100%;

  min-height: 100dvh;

  padding: 20px 10px;

  display: flex;

  justify-content: center;

  align-items: center;

  height: auto; /* lascia fluido in base al contenuto */

  /* Non overflow: hidden per evitare taglio */

}



/* Backdrop blur over hero */

.backdrop {

  position: absolute;

  top: 0;

  left: 0;

  width: 100%;

  min-height: 100dvh;

  height: auto;

  backdrop-filter: blur(40px);

  background-color: rgba(255,255,255,0.1);

  z-index: 0;

  pointer-events: none;

}





/* Contenuto eroe sopra blur */

.hero > div:not(.backdrop) {

  position: relative;

  z-index: 1;

  text-align: center;

}



/* Role name container and animation */

.role-name {

  display: flex;

  flex-direction: column;

  justify-content: center;

  width: auto;

  height: auto;

}



.text-changer {

  background-color: transparent;

  z-index: 999;

  height: 60px;

  padding-top: 10vh;

  display: flex;

  width: fit-content;

  color: rgb(0, 0, 0);

  font-weight: 700;

  font-size: 3rem;

  font-family: "Lilita One";

  box-sizing: content-box;

}



.roles-container {

  background-color: transparent;

  overflow: hidden;

  position: relative;

}



.role {

  display: flex;

  justify-content: center;

  height: 100%;

  animation: role-change 9s infinite;

}



@keyframes role-change {

  10% { transform: translateY(-102%); }

  25% { transform: translateY(-100%); }

  35% { transform: translateY(-202%); }

  50% { transform: translateY(-200%); }

  60% { transform: translateY(-302%); }

  75% { transform: translateY(-300%); }

  85% { transform: translateY(-402%); }

  100% { transform: translateY(-400%); }

}



/* Name container */

.name-container {

  margin-top: 15vh;

  display: flex;

  justify-content: center;

  align-items: center;

  height: 40px;

  box-sizing: content-box;

  width: auto;

}



/* Hero section inner containers */

.herosection {

  display: flex;

  align-items: flex-start;

  width: 100%;

  height: fit-content;

}



.firstpage {

  margin-left: 20px;

  margin-right: 20px;

  width: auto;

  display: flex;

  justify-content: center;

  align-items: flex-start;

  gap: 2vw;

  flex-wrap: wrap;

  height: fit-content;

}



#carouselUnique1 .carousel-item img {

  width: 100%;       /* riempie larghezza del contenitore */

  height: auto;      /* altezza proporzionale */

  max-height: 400px; /* limitare altezza massima se vuoi */

  object-fit: contain; /* scala l'immagine senza tagli, mantenendo proporzioni */

}







.nameandskills {

  display: flex;

  flex-direction: column;

}



/* Skills tab and list */

.skillstab {

  margin-top: 30px;

  background-color: #ffffff;

  padding: 10px;

  display: flex;

  flex-direction: column;

  justify-content: center;

  align-items: center;

  height: fit-content;

  border: 2px solid black;

  border-radius: 5px;

  gap: 2vh;

}



.skills {

  background-color: #ffffff;

  padding: 7px;

  border: 2px solid rgb(0, 0, 0);

  border-radius: 5px;

  color: rgb(34, 71, 59);

  display: flex;

  flex-wrap: wrap;

  list-style: none;

  justify-content: center;

  width: 330px;

  height: fit-content;

}



.skills li {

  flex: 1 1 120px;

}



/* Glow effect for skills */

.glowskill {

  font-family: 'Lilita One';

  font-size: 1rem;

  color: #000000;

  text-shadow: none;

  transition: text-shadow 0.3s ease;

  cursor: default;

}



.nglowskill {

  font-family: 'Lilita One';

  font-size: 1rem;

  color: #000000;

  text-shadow: none;

  transition: text-shadow 0.3s ease;

  cursor: default;

}



.glowskill.glow-on {

  color: black;

  text-shadow:

    0 0 5px #fff,

    0 0 10px #fff,

    0 0 20px aquamarine,

    0 0 30px aquamarine,

    0 0 40px aquamarine,

    0 0 55px aquamarine,

    0 0 75px aquamarine;

}



/* Button glow */

#glow {

  background-color: #ffffff;

  border: 2px solid black;

  z-index: 999;

  pointer-events: auto;

  cursor: pointer;

  width: 150px;

  height: 40px;

  border-radius: 20px;

  font-family: 'Lilita One';

  font-size: 1rem;

  font-weight: 500;

}



#glow:hover {

  background-color: aquamarine;

}



/* First Page Card */

.first-page-card {

  position: relative;

  z-index: 10;

  pointer-events: auto;

  display: flex;

  flex-direction: column;

  justify-content: center;

  background-color: #f0f0f0;

  margin-top: 4vh;

  width: 500px;

  min-width: 300px;

  padding: 25px;

  gap: 1em;

  border: 2px solid black;

  border-radius: 5px;

  height: fit-content;

}



.photo{

  display: flex;

  justify-content: center;

  margin-bottom: 5px;

}







/* Photo inside card */

.photo img {

  width: 100%;

  height: auto;

}



/* About paragraph */

.about1 {

  font-size: 1rem;

  font-family: "Lilita One";

  font-weight: 300;

  margin-top: -20px;

  text-align: justify;

}



/* Social links container */

.social1 {

  list-style-type: none;

  display: flex;

  gap: 15px;

  justify-content: center;

  margin: 0;

  z-index: 999;

}



/* Individual social link */

.social1 li a {

  display: inline-block;

  width: 50px;

  height: 50px;

  cursor: pointer;

  pointer-events: auto;

}



/* Social images */

.social1 li a img {

  width: 100%;

  height: auto;

  display: block;

}



/* Social icon size */

.socials {

  width: 50px;

  height: auto;

}



/* 'Chi sono' link styling */

.presentation {

  margin-left: 10px;

  padding: 20px;

  align-items: center;

  font-size: 1rem;

  font-weight: bold;

  display: flex;

  color: #000000;

  background-color: aquamarine;

  border: 2px solid black;

  height: 40px;

  border-radius: 20px;

  width: fit-content;

}



.presentation a {

  text-decoration: none;

  color: rgb(0, 0, 0);

}



.presentation:hover {

  background-color: #ffffff;

}



.carousel {

  box-sizing: border-box; /* importante per includere padding */

  padding: 0 20px; /* padding orizzontale come vuoi */

  margin: 0 auto;

  width: 100%; /* preferibile per mobile, evita larghezze fisse */

  max-width: 400px; /* o la larghezza che vuoi */

  display: flex;

  gap: 40px;

  transition: transform 0.6s ease;

}





.carousel_slide {

  width: 400px;         /* ogni card è larga esattamente 400px */

  height: fit-content;

  display: flex;

  justify-content: center;

  flex-direction: column;

  scroll-snap-align: center;

  background-color: white;

  border-radius: 5px;

  border: 2px solid black;

  padding: 20px;

  pointer-events: auto;

}



.card-selector {

  margin: 40px 0 0 0 ;

  flex-direction: column;

  display: flex;

  justify-content: center; /* centrato nel contenitore */

  align-items: center;

  width: 100%;

}



/* Mantieni gli stili esistenti per jobtag, img, card-title, badge, button... */



.jobtag {

  margin: 0 0 5px 0;

  display: flex;

  flex-direction: column;

  justify-content: center;

  background-color: aquamarine;

  border-radius: 20px;

  border: 2px solid black;

  height: 40px;

  padding: 0 20px;

  width: fit-content;

}



.carousel_slide img {

  width: 350px;

  aspect-ratio: 16/9;

  height: auto;

  border: 2px solid black;

  border-radius: 5px;

}



.card-title {

  margin: 5px 0 0 0;

  display: flex;

  justify-content: center;

  width: 100%;

  height: 30px;

  font-size: 1.5rem;

}



.badge {

  margin: 2px 0;

  display: flex;

  justify-content: center;

  width: 90%;

  border: 0;

  height: fit-content;

}



.card-button {

  margin: 5px 0 0 0;

  height: 40px;

  background-color: white;

  width: fit-content;

  border-radius: 20px;

  border: 2px solid black;

  padding: 0 20px;

  cursor: pointer;

}



.card-button:hover {

  background-color: aquamarine;

}



.navigation-buttons {

  margin-top: 15px;

  display: flex;

  gap: 100px;

  justify-content: center;

  width: 100%;

  pointer-events: auto;

}



ion-icon.button-backwards,

ion-icon.button-forward {

  font-size: 40px;

  cursor: pointer;

  color: black;

  user-select: none;

  background: rgba(255, 255, 255, 0.8);

  height: 40px;

  width: 80px;

  border-radius: 20px;

  border: 2px solid black;

  transition: background-color 0.3s;

}



ion-icon.button-backwards:hover,

ion-icon.button-forward:hover {

  background-color: aquamarine;

}



.carousel-description{

  display: flex;

  justify-content: center;

  width: 100%;

  height: fit-content;

  padding-top: 2vh;

  padding-bottom: 2vh;

}



.text-carousel{

  font-family: Lilita one;

  font-size: 2rem;

  color: #000000;

}





#carouselExampleCaptions{

  background-color: white;

  border-radius: 10px;

  border: 2px solid black;

  margin: 0;

  justify-self: center;

  pointer-events: all;

  display: flex;

  justify-content: center;

  width: 100%;

  min-width: 700px;

  padding: 20px;

  height: fit-content;

}



.carousel-inner{

  width: 100%;

  max-width: 700px;

  height: fit-content;

}



.carousel-inner img{

  align-self: center;

  border-radius: 10px;

  height: auto;

  aspect-ratio: 16/9;

  width: 100%;

}



.carousel-control-prev{

  height: 40px;

  align-self: center;  

}



.carousel-control-next{

  align-self: center;

  height: 40px;

}



.carousel inner p {

  font-family: Lilita one;

  font-size: 0.7rem;

  color: #ffffff;

}



.carousel inner h5 {

  font-family: Lilita one;

  color: #ffffff;

}



footer{

  width: 100%;

  height: fit-content;

  padding: 20px;

  margin-top: 2vh;

  border-top: 2px solid black;

  background-color: white;

  display: flex;

  justify-content: center;

  flex-direction: row;

  padding: 2vh;

}



.left{

  align-self: flex-start;

  display: flex;

  flex-direction: column;

  justify-content: center;

  width: 40%;

  height: fit-content;

  gap: 2vh;

}



.comp{

  height: fit-content;

  padding: 10px;

  width: 100%;

  display: flex;

  align-items: center;

  flex-direction: column;

  justify-content: center;

}



.buttoncomp{

  display: flex;

  flex-direction: row;

  align-items: center;

  justify-items: center;

  padding-left: 10px;

  padding-right: 10px;

  height: 40px;

  width: fit-content;

  background-color: #f0f0f0;

  border: 2px solid black;

  color: #f0f0f0;

  pointer-events: all;

  border-radius: 20px;

}



.buttoncomp:hover{

  background-color: aquamarine;

  color: #000000;

}



.buttoncomp a{

  text-decoration: none;

  color: #000000;

}



.right{

  pointer-events: all;

  align-self: flex-end;

  display: flex;

  flex-direction: column ;

  justify-content: center;

  align-items: center;

  width: 60%;

  max-width: 600px;

  height: fit-content;

}





.socials-foot{

  display: flex;

  flex-direction: row;

  justify-content: flex-start;

  align-items: center;

  width: 100%;

  height: fit-content;

  padding: 10px;

  gap: 5px;

}



.socials-foot img{

  width: 40px;

  height: 40px;

}



.disclaimer{

  display: flex;

  align-self: center;

  justify-self: center;

  color: #7a7a7a;

  font-size: 10px;

  font-family: 'lilita one';

  height: fit-content;

  width: fit-content;

  padding: 3px;

  margin: 0px;

}



.disclaimer-box{

  width: 100%;

  height: fit-content;

  display: flex;

  flex-direction: row;

  justify-content: center;

  align-items: flex-start;

}



.information{

  justify-content: center;

  align-self: flex-start;

  align-items: flex-start;

  gap: 1vh;

  display: flex;

  flex-direction: column;



}



.subject{

  display: flex;

  flex-direction: row;

  justify-content: center;

  align-items: center;

  width: fit-content;

  height: fit-content;

  padding: 0px;

  margin: 0px;

  gap: 5px;

}



.index-foot, .space-f, .info-index{

  height: fit-content;

  padding: 0;

  margin: 0;

  align-self: baseline;

  justify-content: center;

}



.videocomp{

  display: none;

}



/* Headings colors & fonts */

h1 {

  color: rgb(0, 0, 0);

  font-size: 2rem;

  font-family: "Lilita One";

}



h2 {

  color: rgb(0, 0, 0);

  font-size: 1.5rem;

  font-family: "Lilita One";

}



h3, h4, h5, h6 {

  color: rgb(0, 0, 0);

}

h3 { font-size: 1.17rem; }

h4 { font-size: 1rem; }

h5 { font-size: 0.83rem; }

h6 { font-size: 0.67rem; }



/* Responsive adjustments */

@media (max-width: 800px) {

  .hideOnMobile {

    display: none;

  }

  .menu-button {

    display: block;

  }

  .hero {

    min-height: 40vh;

    padding: 20px 10px;

  }

}



@media (max-width: 768px) {

  #carouselExampleCaptions{

  margin: 0;

  justify-self: center;

  pointer-events: all;

  display: flex;

  justify-content: center;

  width: 100%;

  min-width: 400px;

  padding: 20px;

  height: fit-content;

  }



  body::-webkit-scrollbar {

    display: none;

  }

  body {

    scrollbar-width: none;

    -ms-overflow-style: none;

  }

  .hero {

    min-height: 70dvh;

    padding-bottom: 24px;

    background-attachment: scroll !important;

  }

}



@media (max-width: 400px) {

  .sidebar {

    width: 100%;

  }

}





/* Responsive */

@media (max-width: 600px) {

  ion-icon.button-backwards,

  ion-icon.button-forward {

    font-size: 30px;

    padding: 3px;

  }

  .navigation-buttons {

    gap: 20px;

  }

}

.title-container{
    justify-self: center;
    background: rgba(255, 255, 255, 0.29);
    border-radius: 16px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(8.2px);
    -webkit-backdrop-filter: blur(8.2px);
    border: 1px solid rgba(255, 255, 255, 0.47);
    width: fit-content;
    margin: 0px;
    padding-left: 2vw;
    padding-right: 2vw;
    padding-top: 10px;
    padding-bottom: 10px;
    height: fit-content;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.roadmap-background{
    background-image: url("./media-chisono/background.svg");
    background-position: center; /* Center the image */
    background-repeat: no-repeat; /* Do not repeat the image */
    background-size: cover;
    padding-top: 3vh;
}

.roadmap-container{
    z-index: 9999;
    position: relative;
    background-image: url("./media-chisono/road1.svg");
    background-position: center; /* Center the image */
    background-repeat: no-repeat; /* Do not repeat the image */
    background-size: contain;
    justify-self: center;
    align-self: center;
    background-color: rgba(167, 30, 30, 0);
    padding: 20px;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    width: 95%;
    height: 150vh;
}

.one{
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    margin-left: 55vw;
    width: 100%;
    height: fit-content;
}

.two{
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    margin-left: 50vw;
    width: 100%;
    height: fit-content;
}

.three{
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    margin-left: 38vw;
    width: 100%;
    height: fit-content;
}

.four{
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    margin-left: 52vw;
    width: 100%;
    height: fit-content;
}

.five{
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    margin-left: 35vw;
    width: 100%;
    height: fit-content;
}

.six{
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    margin-left: 27vw;
    width: 100%;
    height: fit-content;
}

.seven{
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    margin-left: 57vw;
    width: 100%;
    height: fit-content;
}


input {
    width: 150px;
    height: auto;
}

#overlay{
    border-radius: 10px;
    border: 2px solid blue;
    z-index: 9999;
    top: 5vh;
    left: 25vw;
    position: absolute;
    display: flex;
    background-color: rgb(255, 255, 255);
    padding: 20px;
    height: fit-content;
    width: fit-content;
    max-width: 25vw;
}

#overlay.fullsize {
    position: fixed;
    width: 99%;
    max-width: 99%;
    top: 10px;
    left: 10px;
    right: 10px;
    bottom: 10px;
}

#overlay2{
    border-radius: 10px;
    border: 2px solid orange;
    z-index: 9999;
    top: 25vh;
    left: 65vw;
    position: absolute;
    display: flex;
    background-color: rgb(255, 255, 255);
    padding: 20px;
    height: fit-content;
    width: fit-content;
    max-width: 25vw;
}

#overlay2.fullsize {
    position: fixed;
    width: 99%;
    max-width: 99%;
    top: 10px;
    left: 10px;
    right: 10px;
    bottom: 10px;
}

#overlay3{
    border-radius: 10px;
    border: 2px solid green;
    z-index: 9999;
    top: 50vh;
    left: 10vw;
    position: absolute;
    display: flex;
    background-color: rgb(255, 255, 255);
    padding: 20px;
    height: fit-content;
    width: fit-content;
    max-width: 25vw;
}

#overlay3.fullsize {
    position: fixed;
    width: 99%;
    max-width: 99%;
    top: 10px;
    left: 10px;
    right: 10px;
    bottom: 10px;
}

#overlay4{
    border-radius: 10px;
    border: 2px solid red;
    z-index: 9999;
    top: 70vh;
    left: 70vw;
    position: absolute;
    display: flex;
    background-color: rgb(255, 255, 255);
    padding: 20px;
    height: fit-content;
    width: fit-content;
    max-width: 25vw;
}

#overlay4.fullsize {
    position: fixed;
    width: 99%;
    max-width: 99%;
    top: 10px;
    left: 10px;
    right: 10px;
    bottom: 10px;
}

#overlay5{
    border-radius: 10px;
    border: 2px solid black;
    z-index: 9999;
    top: 90vh;
    left: 4vw;
    position: absolute;
    display: flex;
    background-color: rgb(255, 255, 255);
    padding: 20px;
    height: fit-content;
    width: fit-content;
    max-width: 25vw;
    min-width: 400px;
}

#overlay5.fullsize {
    position: fixed;
    width: 99%;
    max-width: 99%;
    top: 10px;
    left: 10px;
    right: 10px;
    bottom: 10px;
}

#overlay6{
    border-radius: 10px;
    border: 2px solid black;
    z-index: 9999;
    top: 110vh;
    left: 40vw;
    position: absolute;
    display: flex;
    background-color: rgb(255, 255, 255);
    padding: 20px;
    height: fit-content;
    width: fit-content;
    max-width: 25vw;
}

#overlay6.fullsize {
    position: fixed;
    width: 99%;
    max-width: 99%;
    top: 10px;
    left: 10px;
    right: 10px;
    bottom: 10px;
}

#overlay7{
    border-radius: 10px;
    border: 2px solid black;
    z-index: 9999;
    top: 85vh;
    left: 70vw;
    position: absolute;
    display: flex;
    background-color: rgb(255, 255, 255);
    padding: 20px;
    height: fit-content;
    width: fit-content;
    max-width: 25vw;
}

#overlay7.fullsize {
    position: fixed;
    width: 99%;
    max-width: 99%;
    top: 10px;
    left: 10px;
    right: 10px;
    bottom: 10px;
}

.overlay-p{
    text-align: justify;
    color: black;
    font-size: 1.2rem;
}

#overlay h2{
    border-bottom: 2px solid black;
    margin-top: 1vh;
    padding-bottom: 5px;
    margin-bottom: 1vh;
    font-size: 2rem;
}
#overlay2 h2{
    border-bottom: 2px solid black;
    margin-top: 1vh;
    padding-bottom: 5px;
    margin-bottom: 1vh;
    font-size: 2rem;
}
#overlay3 h2{
    border-bottom: 2px solid black;
    margin-top: 1vh;
    padding-bottom: 5px;
    margin-bottom: 1vh;
    font-size: 2rem;
}
#overlay4 h2{
    border-bottom: 2px solid black;
    margin-top: 1vh;
    padding-bottom: 5px;
    margin-bottom: 1vh;
    font-size: 2rem;
}
#overlay5 h2{
    border-bottom: 2px solid black;
    margin-top: 1vh;
    padding-bottom: 5px;
    margin-bottom: 1vh;
    font-size: 2rem;
}
#overlay6 h2{
    border-bottom: 2px solid black;
    margin-top: 1vh;
    padding-bottom: 5px;
    margin-bottom: 1vh;
    font-size: 2rem;
}
#overlay7 h2{
    border-bottom: 2px solid black;
    margin-top: 1vh;
    padding-bottom: 5px;
    margin-bottom: 1vh;
    font-size: 2rem;
}

#overlay input{
    width: 40px;
    height: 40px;
}
#overlay2 input{
    width: 40px;
    height: 40px;
}
#overlay3 input{
    width: 40px;
    height: 40px;
}
#overlay4 input{
    width: 40px;
    height: 40px;
}
#overlay5 input{
    width: 40px;
    height: 40px;
}
#overlay6 input{
    width: 40px;
    height: 40px;
}
#overlay7 input{
    width: 40px;
    height: 40px;
}

h1{
    margin: 0px;
    color: white;
    font-size: 3rem;
}

h2, h3{
    color: black;
}

@media (max-width:770px){
    #overlay{
    border-radius: 10px;
    border: 2px solid blue;
    z-index: 9999;
    top: 5vh;
    left: 5vw;
    position: absolute;
    display: flex;
    background-color: rgb(255, 255, 255);
    padding: 20px;
    height: fit-content;
    width: fit-content;
    max-width: 40vw;
}

#overlay.fullsize {
    position: fixed;
    width: 90%;
    max-width: 95%;
    top: 10px;
    left: 10px;
    right: 10px;
    bottom: 10px;
}

#overlay2{
    border-radius: 10px;
    border: 2px solid orange;
    z-index: 9999;
    top: 25vh;
    left: 7vw;
    position: absolute;
    display: flex;
    background-color: rgb(255, 255, 255);
    padding: 20px;
    height: fit-content;
    width: fit-content;
    max-width: 40vw;
}

#overlay2.fullsize {
    position: fixed;
    width: 90%;
    max-width: 95%;
    top: 10px;
    left: 10px;
    right: 10px;
    bottom: 10px;
}

#overlay3{
    border-radius: 10px;
    border: 2px solid green;
    z-index: 9999;
    top: 50vh;
    left: 10vw;
    position: absolute;
    display: flex;
    background-color: rgb(255, 255, 255);
    padding: 20px;
    height: fit-content;
    width: fit-content;
    max-width: 40vw;
}

#overlay3.fullsize {
    position: fixed;
    width: 90%;
    max-width: 95%;
    top: 10px;
    left: 10px;
    right: 10px;
    bottom: 10px;
}

#overlay4{
    border-radius: 10px;
    border: 2px solid red;
    z-index: 9999;
    top: 55vh;
    left: 8vw;
    position: absolute;
    display: flex;
    background-color: rgb(255, 255, 255);
    padding: 20px;
    height: fit-content;
    width: fit-content;
    max-width: 40vw;
}

#overlay4.fullsize {
    position: fixed;
    width: 90%;
    max-width: 95%;
    top: 10px;
    left: 10px;
    right: 10px;
    bottom: 10px;
}

#overlay5{
    border-radius: 10px;
    border: 2px solid black;
    z-index: 9999;
    top: 34vh;
    left: 2vw;
    position: absolute;
    display: flex;
    background-color: rgb(255, 255, 255);
    padding: 20px;
    height: fit-content;
    width: fit-content;
    max-width: 350px;
}

#overlay5.fullsize {
    position: fixed;
    width: 90%;
    max-width: 95%;
    top: 10px;
    left: 10px;
    right: 10px;
    bottom: 10px;
}

#overlay6{
    border-radius: 10px;
    border: 2px solid black;
    z-index: 9999;
    top: 95vh;
    left: 50vw;
    position: absolute;
    display: flex;
    background-color: rgb(255, 255, 255);
    padding: 20px;
    height: fit-content;
    width: fit-content;
    max-width: 40vw;
}

#overlay6.fullsize {
    position: fixed;
    width: 90%;
    max-width: 95%;
    top: 10px;
    left: 10px;
    right: 10px;
    bottom: 10px;
}

#overlay7{
    border-radius: 10px;
    border: 2px solid black;
    z-index: 9999;
    top: 62vh;
    left: 48vw;
    position: absolute;
    display: flex;
    background-color: rgb(255, 255, 255);
    padding: 20px;
    height: fit-content;
    width: fit-content;
    max-width: 40vw;
}

#overlay7.fullsize {
    position: fixed;
    width: 90%;
    max-width: 95%;
    top: 10px;
    left: 10px;
    right: 10px;
    bottom: 10px;
}
 }

@media (max-width:670px){
    .roadmap-container{
        background-size: cover;
    }
}

@media (max-width:480px){
    h1{
        font-size: 2rem;
    }
    .roadmap-container{
        background-size: cover;
    }
    input[type="image"][onclick^="fullsize"] {
    display: none;}
    .one{
    margin-left: 70vw;
    }
    .two{
    margin-left: 50vw;
    }
    .three{
    margin-left: 20vw;
    }
    .four{
    margin-left: 57vw;
    }
    .five{
    margin-left: 21vw;
    }
    .six{
    margin-left: 5vw;
    }
    .seven{
    margin-left: 67vw;
    }
    #overlay{
    top: 10px;
    bottom: 10px;
    left: 10px;
    right: 10px;
    position: fixed;
    max-width: 90%;
    }
    #overlay2{
    top: 10px;
    bottom: 10px;
    left: 10px;
    right: 10px;
    position: fixed;
    max-width: 90%;
    }
    #overlay3{
    top: 10px;
    bottom: 10px;
    left: 10px;
    right: 10px;
    position: fixed;
    max-width: 90%;
    }
    #overlay4{
    top: 10px;
    bottom: 10px;
    left: 10px;
    right: 10px;
    position: fixed;
    max-width: 90%;
    }
    #overlay5{
    top: 10px;
    bottom: 10px;
    left: 10px;
    right: 10px;
    position: fixed;
    max-width: 90%;
    }
    #overlay6{
    top: 10px;
    bottom: 10px;
    left: 10px;
    right: 10px;
    position: fixed;
    max-width: 90%;
    }
    #overlay7{
    top: 10px;
    bottom: 10px;
    left: 10px;
    right: 10px;
    position: fixed;
    max-width: 90%;
    }
}