@import url("epilogue.css");

html,
body {
  margin: 0;
  padding: 0px;
  overflow-x: hidden;
  box-sizing: border-box;
}

h1,
p {
  margin: 0;
}

header {
  display: flex;
  justify-content: space-between;
  align-items: center;

  background-color: rgba(255, 255, 255, 0.7);
  border-bottom-left-radius: 60px;
  border-bottom-right-radius: 60px;
  backdrop-filter: blur(20px);

  position: fixed;
  width: 100vw;

  padding: 25px 10%;
  box-sizing: border-box;

  overflow: hidden;

  z-index: 20;
}

#logo {
  width: 10vw;
  min-width: 150px;
}

.nav__links li a {
    transition: all 0.3s ease 0s;
    font-size: calc(17px + 0.5vh);
    font-family: "Epilogue-Regular", "sans-serif";
    font-weight: 600;
    color: black;
  }

/* temporary */
@media (max-width: 300px) {
    #logo {
        width: 10vw;
        min-width: 115px;
      }

      .nav__links li a {
        font-size: calc(12px + 0.5vh);
      }
      
}

li,
a {
  text-decoration: none;
}

.nav__links {
  list-style: none;
  padding: 0;
}

.nav__links li {
  display: inline-block;
  padding: 0px 20px;
}

.nav__links li a:hover {
  color: rgba(0, 158, 226, 1);
}

/*TODO hamburger mobile*/

.curved {
  background: white;
  color: white;
  text-align: center;

  width: 100%;
}

.curved svg {
  display: block;
}

#section-curve-path {
  background-color: aquamarine;
}

#main-section {
  height: 100vh;
  width: 100vw;

  /*background: linear-gradient(to top, rgba(245, 252, 255, 1), white);*/

  display: flex;
  align-items: center;
  overflow-x: hidden;

  z-index: 10;
}

.filigrana-test{
    position: absolute;
    width: 100%;
    height: 100%;
    background: url('../img/filigrana.webP') content-box center center;
    background-size: cover;

    z-index: 10;
}

/*
#filigrana {
  position: absolute;
  width: 100%;
  transform: scale(1.5);
  z-index: 1;
}
*/

#top-left-svg {
  position: absolute;
}

#people-svg {
  opacity: 0.8;
}

@media (min-width: 1900px) {
  .wrap-people-svg {
    width: 1000px;
    height: 821.69px;
    position: absolute;
    bottom: 0;
    right: 0;

    margin: 0;
    z-index: 5;
  }
}

@media (min-width: 850px) and (max-width: 1900px) {
  .wrap-people-svg {
    width: 800px;
    height: 657.35px;
    position: absolute;
    bottom: 0;
    right: 0;

    margin: 0;
    z-index: 1;
  }
}

.wrap-background-people {
  width: 100%;
  position: absolute;
  bottom: -5px;
  z-index: 0;
}

.hero-phrase {
  display: flex;
  flex-direction: column;
  max-width: 270px;
  min-width: 670px;
  position: relative;
  left: 10%;

  gap: 40px;
  z-index: 10;
}

.hero-phrase h1 {
  font-size: calc(2px + 5vh);
  font-family: "Epilogue-Bold", "sans-serif";
  font-weight: 600;
}

.hero-phrase p {
  font-size: calc(20px + 1vh);
  font-family: "Epilogue-Regular", "sans-serif";
}

.hero-buttons-wrap {
  display: flex;
  flex-direction: row;
  gap: 10%;
}

.hero-buttons-wrap button {
  height: 50px;
  width: 250px;
  border-radius: 20px;
  border: none;
  text-decoration: none;
}

.hero-buttons-wrap button:hover {
  cursor: pointer;
}

.hero-buttons-wrap button {
  display: flex;
  justify-content: center;
  text-align: center;
  align-items: center;
  gap: 10px;
}

#read-more {
  border: 3px solid rgba(0, 0, 0, 0.7);
  background-color: white;
}

#read-more p {
  font-family: "Epilogue-SemiBold";
  font-weight: 600;
  font-size: 25px;
}

#contact-us {
  background-color: rgba(0, 158, 226, 1);
}

#contact-us p {
  font-family: "Epilogue-SemiBold";
  font-weight: 600;
  font-size: 25px;
  color: white;
}

#technology-overview {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
  z-index: 5;
  background-color: white;
}

.title-and-text {
  display: flex;
  flex-direction: column;
  text-align: center;

  padding-top: 40px;

  gap: 20px;
  width: 80%;

  z-index: 100;
}

.title-and-text p {
  line-height: 175%;
}

.section-title-and-text {
  min-width: 600px;
  padding-bottom: 100px;
}

.no-min-width {
  min-width: none;
}

.first-title {
  font-family: "Epilogue-SemiBold";
  font-weight: 600;
  font-size: calc(4px + 3vh);
  color: black;
}

.description-text {
  font-family: "Epilogue-Regular";
  font-weight: 300;
  font-size: calc(8px + 1.5vh);
  color: black;
}

.four-elements-grid {
  width: 90%;
  display: grid;
  grid-template-columns: auto auto;
  grid-template-rows: auto auto;
  row-gap: 100px;

  z-index: 100;
}

.card {
  display: flex;
  flex-direction: column;
  align-items: center;
}

#top-left-decoration-svg {
  position: absolute;
  top: 0;
  left: 0;
}

#costellazione-puntini-svg {
  position: absolute;
  top: 230px;
  right: 0;
}

section {
  overflow-y: hidden;
}

#second-section {
  display: flex;
  flex-direction: column;
  position: relative;
  align-items: center;
  z-index: 5;
  background-color: white;
}

#contacts {
  display: flex;
  flex-direction: column;
  position: relative;
  align-items: center;
  z-index: 5;
  background-color: white;
}

#about {
  display: flex;
  flex-direction: column;
  position: relative;
  align-items: center;
  z-index: 5;
  background-color: white;
}

footer {
  height: 30%;
  width: 100vw;
  background-color: rgba(0, 158, 226, 1);
  border-top-right-radius: 50px;
  border-top-left-radius: 50px;
  overflow: hidden;
}

/*
#footer-svg {
  position: relative;
  bottom: 0;
  left: 20%;
  top: 30%;
  transform: scale(2);
}
*/

@media (max-width: 1100px) {
  #footer-svg {
    position: relative;
    bottom: 0;
    left: 10%;
    top: 20%;
    transform: scale(2);
  }
}

#Tracciato_443 {
  fill: #018fcc;
}

footer {
  display: grid;
  grid-template-columns: 33% 33% 33%;
}

.flex-wrap {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.footer-newsletter-subscribe {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.input-wrap {
  width: 100%;
  display: flex;
  align-items: left;
  justify-content: left;
  text-align: left;
}

#footer-logo {
  position: absolute;

  width: 20%;
  z-index: 1;
  min-width: 250px;
  max-width: 400px;
}

@media (max-width: 1100px) {
  #footer-logo {
    position: absolute;

    width: 20%;
    z-index: 1;
    min-width: 250px;
    max-width: 400px;
    padding-left: 20px;
    padding-top: 100px;
    padding-right: 10px;
  }
}

.logo {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.footer-nav__links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-nav__links li {
  padding: 0;
}

.footer-nav__links li a {
  color: white;
  font-family: "Epilogue-Regular";
  font-weight: 100;
  font-size: calc(2px + 2vh);
}

.footer-nav__links li a:hover {
  color: white;
}

.footer-menu {
  text-align: left;
  padding: 20px;
}

.footer-menu h1 {
  font-family: "Epilogue-Bold";
  color: white;
  font-size: calc(2px + 2.5vh);
}

.filter-cyan {
  filter: invert(58%) sepia(70%) saturate(5705%) hue-rotate(171deg)
    brightness(100%) contrast(101%);
}

/*
@media (min-width: 850px) and (max-width: 1450px) {
  .wrap-background-people {
    width: 100%;
    position: absolute;
    bottom: -5px;
    right: -474px;
    z-index: 0;
    transform: scale(1.5);
  }

  #top-left-svg {
    position: absolute;
    transform: scale(2);
    top: 141px;
    left: 273px;
  }
}
*/
.wrap-top-left-decoration {
  position: absolute;
  width: 50vw;
  top: 0px;
}

@media (max-width: 850px) {
  header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: rgba(255, 255, 255, 0.7);
    border-bottom-left-radius: 60px;
    border-bottom-right-radius: 60px;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(10px);    /* Safari */
    position: fixed;
    width: 100vw;
    height: 15vh; /* This changes */
    padding: 25px 10%;
    box-sizing: border-box;
    z-index: 20;
    
  }

  footer {
    display: grid;
    grid-template-columns: 50% 50%;
  }

  .four-elements-grid {
    width: 90%;
    display: flex;
    flex-direction: column;
    gap: 100px;
    z-index: 100;
  }

  .section-title-and-text {
    min-width: 0px;
    padding-bottom: 100px;
  }

  #footer-logo {
    position: absolute;
    width: 30%;
    z-index: 1;
    min-width: 200px;
    max-width: 400px;
    padding-left: 0px;
    padding-top: 100px;
    padding-right: 10px;
  }

  .footer-menu {
    text-align: left;
    padding: 20px;
  }

  .wrap-people-svg {
    width: 280px;
    height: 230.35px;
    position: absolute;
    bottom: 0;
    right: 0;
    margin: 0;
    z-index: 1;
  }

  .wrap-background-people {
    width: 100vw;
    position: absolute;
    bottom: -8px;
    right: 0px;
  }

  html,
  body {
    margin: 0;
    padding: 0px;
    overflow-x: hidden;
    box-sizing: border-box;
  }

  #top-left-svg {
    position: absolute;
    top: 137px;
    right: -474px;
    transform: scale(1.5);
  }

  .hero-buttons-wrap {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }

  .hero-phrase {
    display: flex;
    flex-direction: column;
    width: 80%;
    max-width: 670px;
    min-width: 0px;
    position: relative;
    left: 10%;
    gap: 40px;
    z-index: 10;
  }

  #navigation {
    width: 150px;
  }

  .wrap-filigrana {
    position: absolute;
    width: 100vw;
    height: 100vh;
  }

  .wrap-top-left-decoration {
    position: absolute;
    width: 100vw;
    top: 0px;
  }

  .wrap-footer-svg {
    width: 100%;
    height: 100%;
  }

  .footer-nav__links li a {
    color: white;
    font-family: "Epilogue-Regular";
    font-weight: 100;
    font-size: calc(2px + 4vw);
  }

  #footer-newsletter {
    display: none;
  }
}

.wrap-footer-svg {
  width: 100%;
  height: 100%;
}

#logo-footer{
    width: 100%;
    height: 100%;
    max-width: 60%;
    min-width: 220px;
    position: relative;
}

@media (max-width: 300px) {

    #logo-footer{
        width: 100%;
        height: 100%;
        max-width: 100%;
        min-width: 0px;
        position: relative;
    }

}

.wrap-filigrana {
  position: absolute;
  width: 100vw;
  height: 100vh;
  z-index: 2;
  max-width: 1700px;
}

@media (max-width: 650px) {
  #footer-svg {
    position: relative;
    bottom: 0;
    left: 10%;
    top: 20%;
    transform: scale(3);
  }

  #footer-logo {
    width: 35%;
    z-index: 1;
    min-width: 0px;
    max-width: 400px;
    padding-left: 30px;
    padding-top: 50px;
    padding-right: 0px;
  }
}

#first-section {
  padding-top: 130px;
}

.people-test{
    z-index: 5;
    width: 100%;
    height: 100%;
    position: absolute;

    overflow: hidden;
}

#People{    
    width: 50%;
    position: absolute;
    bottom: 0px;
    right: 0px;
}

@media (max-width: 950px) {

    #People{    
        width: 70%;
        position: absolute;
        bottom: 0px;
        right: 0px;
    }

}

#VAT-Copyright{
    height: 3vh;
    background-color: rgba(0, 158, 226, 1);
}

#VAT-Copyright p{
    font-family: "Epilogue-Regular";
    color: white;
    font-size: calc(5px + 1vh);
}