body {
	font-family: 'Cavolini', sans-serif;
  font-size: 1.2em !important;
  margin: 0;
}

html {
  /*background: linear-gradient(to top, #040308, #AD4A28, #DD723C, #FC7001, #DCB697, #9BA5AE, #3E5879, #020B1A);*/
  background: #fff7e7;  /* fallback for old browsers */
  background: -webkit-linear-gradient(to bottom, #fffbf5, #fff7e7);  /* Chrome 10-25, Safari 5.1-6 */
  background: linear-gradient(to bottom, #fffbf5, #fff7e7); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
  
  background-size: cover;
  background-repeat: repeat;
  background-attachment: fixed;
}

img {
  max-width: 40%;
  display: block;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 26px;
}

#lucabenceImg {
  max-width: 50%;
}

#topViragImg {
  max-width: 15%;
  margin-top: 80px;
  scroll-margin-top: 6vh;
}

#turtleMiniImg {
  display: inline;
  max-height: 30px;
  margin: 0 auto 0 auto;
}

.breakImg {
  max-width: 20%;
  margin-top: 60px;
  margin-bottom: 60px;
}

h1, h2, h3 {
	text-align: center;
  padding-bottom: 10px;
  padding-top: 4px;
  scroll-margin-top: 6vh;
}

p {
	text-align: center;
  margin-block-start: 0.7em;
  margin-block-end: 0.7em;
}

h1, h2, h3, p {
  color: #781F25;
}

#idopont {
  color: #781F25;
  font-weight: bold;
}

ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
  padding-left: 20px;
  overflow: hidden;
  background-color: #fffbf5;
  position: fixed;
  top: 0;
  width: 100%;
}

li {
  float: left;
}

li a {
  display: block;
  color: #781F25;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
  font-size: 1.1em;
}

#formLink, .mapP {
  display: block;
  color: #4a1216;
  font-size: 0.9em;
  text-align: center;
  text-decoration: underline;
  font-weight: bold;
  cursor: pointer;
}

#mapsPopupParent {
  height: 100%;
  width: 100%;
  margin: 0;
  position: fixed;
  left: 0;
  top: 0;
  background-color: rgba(0, 0, 0, 0.9);
  text-align: center;
}

#mapsPopupMain {
  border: 1px solid red;
  width: 95%;
  height: 85%;
  margin: 10vh auto;
  position: relative;
}

#mapsBackButton {
  position: absolute;
  top: 3vh;
  left: 50%;
  transform: translate(-50%,0);
  font-size: 1.6em;
  background-image: linear-gradient(to bottom, #fffbf5, #fff7e7);
  border-radius: .5rem;
  box-sizing: border-box;
  font-family: 'Cavolini', sans-serif;
  color: #781F25;
}

.generalButtonClass {
  margin: 0 auto;
  display: block;
  font-size: 1em;
  background-image: linear-gradient(to bottom, #fffbf5, #fff7e7);
  border-radius: .5rem;
  font-family: 'Cavolini', sans-serif;
  color: #781F25;
  margin-bottom: 5px;
}

.generalButtonClass:hover {
  background-image: linear-gradient(to bottom, #fffbf7, #fff8f0);
  color: #781F25;
  font-weight: bold;
}

.mainDivs {
  text-align: center;
  max-width: 50%;
  margin: 5px auto 5px auto;
  padding: 10px 5px 10px 5px;
  border-radius: 10px;
  background-color: rgba(20, 20, 20, 0.05);
  box-shadow: rgba(17, 17, 26, 0.1) 0px 4px 16px, rgba(17, 17, 26, 0.1) 0px 8px 24px, rgba(17, 17, 26, 0.1) 0px 16px 56px;
}

.innerDivs {
  margin: 10px;
  padding: 5px;
  padding-top: 10px;
  box-shadow: rgba(17, 17, 26, 0.1) 0px 4px 16px, rgba(17, 17, 26, 0.1) 0px 8px 24px, rgba(17, 17, 26, 0.1) 0px 16px 56px;
}

#galeriaLink {
  font-size: 1em;
  font-family: 'Cavolini', sans-serif;
  background-image: linear-gradient(to bottom, #fffbf5, #fff7e7);
  color: #781F25;
  margin-bottom: 5px;
  border-width: 2px;
  border-style: outset;
  border-radius: .5rem;
  border-color: buttonborder;
  padding-block: 1px;
  padding-inline: 6px;
  /*text-decoration: none;*/
}

#galeriaLink:hover {
  background-image: linear-gradient(to bottom, #fffbf7, #fff8f0);
  color: #781F25;
  font-weight: bold;
}

iframe {
  width: 100%;
  height: 800px;
}

#popupTeknosImg {
  position: fixed;
  bottom: -50vh;
  margin: 0;
  right: 2%;
  width: 20%;
  transition: all 3s;
}

.transitionTeknos {
  transition: all 0.5s;
}

@media screen and (max-width: 1000px) {
  body {
    font-size: 1.1em !important;
  }

  li a {
    font-size: 2em;
  }
  
  p {
    margin-block-start: 0.8em;
    margin-block-end: 0.8em;
    font-size: 1.5em;
  }
  
  h1 {
    font-size: 2.2em;
  }
  
  h2 {
    font-size: 1.9em;
  }
  
  h3 {
    font-size: 1.7em;
  }
  
  .mainDivs {
    max-width: 95%;
  }
  
  .innerDivs {
    padding-bottom: 10px;
    border-radius: 10px;
  }
  
  #turtleMiniImg {
    max-height: 40px;
  }
  
  #topViragImg {
    max-width: 35%;
  }
  
  #lucabenceImg {
    max-width: 70%;
  }
  
  .breakImg {
    max-width: 40%;
  }
  
  #mapsBackButton {
    font-size: 4em;
  }
  
  .generalButtonClass {
    font-size: 2em;
  }
  
  #galeriaLink {
    font-size: 2em;
  }
  
  #popupTeknosImg {
    width: 100%;
  }
}

::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background-color: #e7e7e7;
    border: 1px solid #cacaca;
}

::-webkit-scrollbar-thumb {
    border-radius: 8px;
    background-color: #781F25;
}