@import url("https://fonts.googleapis.com/css2?family=BenchNine:wght@700&display=swap");
body {
  width: 95%;
  height: 95%;
  margin: 2% auto 2% auto;
  overflow-x: hidden;
  background-color: rgb(223, 187, 230);
  overflow-x: hidden;

  -webkit-animation: fadein 4s; /* Safari, Chrome and Opera > 12.1 */
  -moz-animation: fadein 4s; /* Firefox < 16 */
  -ms-animation: fadein 4s; /* Internet Explorer */
  -o-animation: fadein 4s; /* Opera < 12.1 */
  animation: fadein 4s;
}

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

/* Firefox < 16 */
@-moz-keyframes fadein {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* Safari, Chrome and Opera > 12.1 */
@-webkit-keyframes fadein {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* Internet Explorer */
@-ms-keyframes fadein {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* Opera < 12.1 */
@-o-keyframes fadein {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* START NAV NAV */

nav {
  display: inline-flex;
  width: 100%;
  justify-content: space-around;
  position: fixed;
  margin-top: 3%;
  left: 0;
  right: 0;
  top: 0;
  z-index: 2;
}

a {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen,
    Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
  font-size: 30px;
  text-decoration: none;
  color: rgba(247, 247, 247, 0.3);
  display: inline-block;
  text-align: center;
  transition: color 0.5s;
  transition-duration: 0.5s;
  z-index: 2;
}

nav a img {
  opacity: 0.5;
  width: 20px;
  transition-duration: 0.5s;
  z-index: 2;
}

/* END NAV */

/* START SECTION INTRO */
.title h1,
.title_ h2 {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen,
    Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
  text-align: center;
  display: flex;
  justify-content: center;
  color: white;
  font-size: 600%;
  margin-top: 10%;
  margin-right: 10%;
  margin-left: 10%;
}
.tags p {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen,
    Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
  color: white;
  font-size: 40px;
}
.intro h2 {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen,
    Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
  text-align: center;
  display: flex;
  justify-content: center;
  color: white;
  font-size: 60px;
  margin-top: 10%;
  margin-right: 10%;
  margin-left: 10%;
}

section.intro {
  width: 70%;
  display: block;
  justify-content: center;
  margin: auto;
}

.title,
#project-tags {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0px;
}

.tags p {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen,
    Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
  color: white;
  font-size: 40px;
}

.title_ {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

#video_coin {
  width: 80%;
  height: 45%;
}

.credits {
  width: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: auto;
  margin-top: 8%;
}

.topic,
.risp {
  margin-top: 0px;
  margin-bottom: auto;
}
.topic {
  font-weight: bolder;
  margin-right: 15%;
  margin-left: 15%;
}

.topic p,
.risp p {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen,
    Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
  color: white;
  font-size: 120%;
}

#video1 {
  display: block;
  margin: auto;
  display: flex;
  justify-content: center;
  margin-bottom: 0px;
  margin-top: 5%;
}
/* END SECTION INTRO */

/* START SECTION 1 */
section.sezione1 {
  width: 100%;
  display: inline-block;
  justify-content: space-evenly;
  display: inline-flex;
  margin-top: 3%;
}
/* END SECTION 1 */

/* START SECTION 2 */
section.sezione2 {
  width: 100%;
  display: inline-block;
  justify-content: space-evenly;
  display: inline-flex;
  align-items: center;
  margin-top: 8%;
}

.video {
  margin-top: 7%;
}

.video_,
.video_pair {
  border-radius: 10%;
}

.sezione2 h2 {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen,
    Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
  text-align: left;
  display: flex;
  justify-content: left;
  color: white;
  font-size: 60px;
  margin-left: 3%;

  height: fit-content;
  font-weight: bolder;
}

.text2 {
  flex-direction: column;
  justify-content: left;
  align-items: flex;
}

/* END SECTION 2 */

/* START SECTION ENDING */
span {
  justify-content: space-around;
  font-weight: bolder;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen,
    Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
  font-size: 40px;
  color: white;
  text-decoration: none;
  text-align: center;
  width: fit-content;
  margin: auto;
  display: block;
  margin-bottom: 5%;
  margin-top: 8%;
}

a.LI {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen,
    Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
  font-size: 40px;
  width: fit-content;
  font-weight: bolder;
  color: rgb(189, 128, 201);
}

a.CRIN {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen,
    Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
  font-size: 40px;
  width: fit-content;
  font-weight: bolder;
  color: rgb(189, 128, 201);
}

/* END SECTION ENDING */

#videoending {
  width: 1200px;
  display: block;
  margin: auto;
  display: flex;
  justify-content: center;
  margin-bottom: 11%;
}
.last h2 {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen,
    Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
  text-align: center;
  display: flex;
  justify-content: center;
  color: white;
  font-size: 60px;
  margin-top: 5%;
  margin-bottom: 5%;
}

/* START EFFECTS */

nav a:hover {
  color: rgb(247, 247, 247, 1);
}

a img:hover {
  opacity: 1;
}

.sezione_bottone {
  width: 100%;
  display: inline-block;
  justify-content: space-evenly;
  display: inline-flex;
  align-items: center;
  margin-bottom: 0;
}

.button:hover {
  background-color: rgb(189, 128, 201, 1);
}

.button {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen,
    Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
  background-color: rgb(189, 128, 201, 0.3);
  border: none;
  color: white;
  padding: 15px 32px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
  margin: 4px 2px;
  cursor: pointer;
  border-radius: 50px;
  margin-bottom: 5%;
  transition: 1s;
}

footer {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 35px;
}

footer p {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen,
    Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
  color: rgb(255, 255, 255);
  font-size: small;
  text-align: center;
  width: fit-content;
  margin: auto;
  display: block;
}

@media (max-width: 1780px) {
  .intro h2,
  .sezione2 h2,
  .title_ h2 {
    font-size: 55px;
    margin-left: 5%;
    justify-content: center;
  }

  .sezione2,
  .sezione1 {
    justify-content: space-around;
  }

  .video_,
  .video_pair {
    width: 40%;
    height: 40%;

    margin: 5%;
  }
}

@media (max-width: 1300px) {
  nav a {
    font-size: 20px;
    display: inline-flex;
    align-items: center;
    margin-top: 3%;
  }

  .title h1 {
    font-size: 400%;
    margin-top: 25%;
  }

  #project-tags {
    width: 100%;
    height: 100%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  div.tags {
    width: 85%;
    align-items: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin-bottom: 3%;
  }

  .tags p {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen,
      Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
    color: white;
    font-size: 20px;
    text-align: center;
  }

  section.intro {
    margin-top: 20%;
    width: 95%;
    margin: 0 auto;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
  }

  .intro h2,
  .sezione2 h2,
  .title_ h2 {
    font-size: 55px;
    align-items: center;
    display: flex;
    text-align: center;
    flex-direction: column;
    justify-content: center;
  }

  section.sezione1 {
    width: 100%;
    justify-content: space-evenly;
    display: inline-flex;
    margin-top: 5%;
    flex-direction: column;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  #video_coin {
    width: 97%;
    height: fit-content;
    border-radius: 0;
  }

  section.sezione2 {
    width: 100%;
    display: inline-block;
    justify-content: space-evenly;
    display: inline-flex;
    align-items: center;
    margin-top: 5%;
    flex-direction: column;
  }

  .video_ {
    width: 100%;
    height: fit-content;
  }

  .video_pair {
    width: 100%;
    height: fit-content;
    margin-bottom: 8%;
  }

  .title_ h2 {
    margin-top: 20%;
  }

  span {
    justify-content: space-around;
    font-weight: bolder;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen,
      Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
    font-size: 30px;
    color: white;
    text-decoration: none;
    text-align: center;
    width: fit-content;
    margin: auto;
    display: block;
    margin-bottom: 8%;
    margin-top: 8%;
  }

  a.LI {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen,
      Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
    font-size: 30px;
    width: fit-content;
    font-weight: bolder;
    color: rgb(189, 128, 201);
  }

  a.CRIN {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen,
      Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
    font-size: 30px;
    width: fit-content;
    font-weight: bolder;
    color: rgb(189, 128, 201);
  }

  .button {
    background-color: rgb(189, 128, 201);
  }
}

@media (max-width: 550px) {
  .title h1 {
    font-size: 50px;
  }

  .title_ h2 {
    font-size: 30px;
  }
  .intro h2 {
    width: 95%;
    font-size: 30px;
    margin-left: 0px;
    margin-right: 0px;
  }

  .text2 h2 {
    font-size: 30px;
    margin-left: 0px;
  }
}

@media (min-width: 2300px) {
  #text-middle div {
    width: 40%;
    margin: 5%;
  }

  .title h1 {
    font-size: 1200%;
  }

  .tags p {
    font-size: 50px;
  }

  #video_coin {
    width: 60%;
    height: 25%;
  }

  section.intro {
    width: 55%;
  }
  span {
    width: 65%;
  }

  .intro-text h2 {
    font-size: 65px;
  }

  .button {
    margin-bottom: 2%;
  }

  .videodef {
    width: 70%;
  }

  .sezione2,
  .sezione1 {
    justify-content: space-around;
  }

  .text2 {
    padding: 10%;
  }

  #video_,
  #video_pair {
    width: 50%;
    height: 50%;
    padding: 5%;
    border-radius: 20%;
  }
}
