html {
  scroll-behavior: smooth;
}

h1 {
  margin-bottom: 3%;
}

nav {
  background-image: none;
  height: initial;
}

nav a {
  position: static !important;
  top: initial !important;
  transform: none !important;
  color: black;
}

a {
  color: #607d8b;
  text-decoration: none;
}

a:hover {
  color: #465b66;
}

.banner {
  background-image: url(../images/logos/solid_principles.png);
  height: 300px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: 110%;
  background-color: rgba(241, 241, 241, 0.726);
  width: 100vw;
  box-shadow: 10px 5px 40px rgb(236, 236, 236);
  margin-bottom: 3%;
  position: relative;
  left: calc(-50vw + 50%);
}

.main_title {
  font-size: 2.8rem;
  font-weight: bolder;
}

#goToTopBtn {
  width: 60px;
  display: none;
  position: fixed;
  bottom: 50px;
  right: 50px;
  z-index: 99;
  font-size: 30px;
  font-weight: bolder;
  border: none;
  background-color: grey;
  color: white;
  cursor: pointer;
  padding: 15px;
  border-radius: 10px;
}

/*Ask for help*/
#signalLi,
#signalNoScriptLi {
  cursor: pointer;
}

#signalNoScript,
#signal {
  color: black !important;
  text-decoration: underline;
}

#signalNoScriptContainer {
  text-align: center;
}

#signalNoScript:hover,
#signal:hover {
  color: gray !important;
}

#contact h5 {
  margin-top: 5%;
  margin-bottom: 5%;
}

hr {
  background-color: rgb(224, 224, 224);
  height: 1px;
}

#contact div > .w3-third {
  margin-top: 2%;
  margin-bottom: 2%;
}

#iframeContainer {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  z-index: 1000;
  align-items: center;
  justify-content: center;
}

#iframeContainer:target {
  display: flex;
}

#frame-wrapper {
  border: 2px solid #fff;
  border: none;
  width: 95% !important;
  height: 90% !important;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  top: 50% !important;
  left: 50% !important;
  right: 0;
  bottom: 0;
  position: relative;
  background-color: #fff;
  transform: translate(-50%, -50%);
  border-radius: 5px;
  overflow-y: auto;
}

#frame {
  width: 100%;
  height: 100%;
}

#closeModalBtn {
  top: 20px;
  right: 20px;
  cursor: pointer;
  font-size: 25px;
  color: #000000;
  text-decoration: none;
  position: absolute;
}

/*For laptops screens*/
@media screen and (min-width: 992px) {
  #contact div > .w3-third {
    margin-top: initial;
    margin-bottom: initial;
  }

  .banner {
    background-size: 30%;
  }

  #frame-wrapper {
    width: 80% !important;
  }
}
