@font-face {
  font-family: "Fervojo";
  src: url(../fonts/fervojo/fervojo/OTF_ver1.0/Fervojo-Regular.otf);
}

* {
  margin: 0px;
  padding: 0px;
  box-sizing: border-box;
  font-family: "Fervojo", sans-serif;
  letter-spacing: 2.25px;
  text-decoration: none;
}

html, body {
  height: 100%;
}

body {
  background:
    linear-gradient(217deg, #C688786A, #C68878 80.71%),
    linear-gradient(127deg, #FDB103, #FDB103 90.71%),
    linear-gradient(336deg, #94752E6A, #94752E 80.71%);
  width: 100%;
}

.ctn-main {
  position: relative;
  height: 100%;
  width: 85%;
  max-width: 800px;
  box-shadow: 0 0 15px -5px black;
  margin: 0 auto;
}

.ctn-main main {
  padding: 3.33% 6.66%;
  position: absolute;
  overflow-x: auto;
  left: 0;
  right: 0;
  top: 12%;
  bottom: 7%;
  font-size: 18px;
  line-height: 1.6;
  color: #231F1E;
  text-align: justify;
}

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-align: center;
  padding: 3.33%;
  box-shadow: 0 0 15px -5px black;
  height: 12%;
}

header h1 {
  margin: 0 1.5%;
  font-size: 38px;
  text-shadow: 2px 2px 4px white;
}

header img {
  height: 76px;
}

img {
  display: block;
  height: 250px;
  object-fit: cover;
}
/*imagem*/

.legenda{
  background: #231F1EBA;
  position: absolute;
  width: 100%;
}

.legenda h1{
  font-size: 30px;
  margin: 0;
  color: white;
  text-shadow: 2px 2px 5px black;
}

main h1 {
  font-size: 34px;
  text-align: center;
  text-shadow: 2px 2px 4px white;
  margin-bottom: 3%;
}

main h2 {
  font-size: 26px;
  text-align: center;
  text-shadow: 2px 2px 4px white;
  margin-bottom: 3%;
}

main h3 {
  font-size: 22px;
  text-align: center;
  text-shadow: 2px 2px 4px white;
  margin-bottom: 3%;
}
main h4 {
  font-size: 100%;
  text-align: center;
}

main section {
  margin-bottom: 6.66%;
  position: relative;
}

section p {
  margin: 20px 0;
  text-indent: 50px;
}

main form {
  position: relative;
  margin-bottom: 13.5%;
  padding: 3.33%;
  margin-bottom: 6.66%;
  border: 2px solid #FDB103;
  border-radius: 6.66px;
  background: #231F1E6A;
  font-size: 17px;
}

form h1 {
  color: #FCCEC3;
  font-size: 26px;
  font-weight: bold;
  margin-bottom: 20px;
  text-align: center;
  text-shadow: 2px 2px 3px black;
}

form .input-box {
  position: relative;
  width: 100%;
  height: 55px;
  margin-bottom: 30px;
}

.input-box input {
  width: 100%;
  height: 100%;
  background: transparent;
  outline: none;
  border: 1.5px solid #FDB10390;
  border-radius: 6px;
  font-size: 18px;
  color: #FFF;
  padding: 18px;
  transition: .3s ease;
}

.input-box input:focus {
  border: 2px solid #FDB103;
}

.input-box label {
  position: absolute;
  top: 50%;
  left: 20px;
  transform: translateY(-50%);
  font-size: 18px;
  color: #FFF;
  pointer-events: none;
  transition: .3s ease;
}

.input-box input:focus~label,
.input-box input:valid~label {
  top: 1px;
  left: 12px;
  font-size: 14.5px;
  color: #FDB103;
  padding: 3px 7px;
  border: 1px solid #FDB103;
  border-radius: 6px;
  background: #231F1E;
}

form input[type="submit"] {
  width: 100%;
  background: #231F1E;
  border: 1.5px solid #FDB103;
  border-radius: 6px;
  color: #FDB103;
  font-size: 26px;
  margin-top: 3.33%;
  padding: 10px;
  box-shadow: 0 0 15px -5px #FDB103;
  cursor: pointer;
}

form input[type="submit"]:hover {
  box-shadow: 0 0 15px -5px black;
}

.link_regulamento{
  padding: 10px 10% 10px 10%;  
  font-size: 22px;
  border-radius: 5px;
  text-decoration: none;
  color: black;
  background-color: #FCCEC3;
  transition: all 0.25s ease-in-out;
  margin: auto;
  display: flex;
  max-width: 39%;
  min-width: 54%;
  text-align: center;
}

.link_regulamento:hover{
  background-color: black;
  color: #b9994f;
}


.cardBar {
  background: #231F1EA6;
  border: 2px solid #FDB103;
  border-radius: 12px;
  padding: 0px 6%;
  box-shadow: 0 0 30px #231F1EA6;
  margin-bottom: 6.66%;
  color: white;
  text-shadow: 1px 1px 4px black;
}

.cardBar h1 {
  background: #FFFFFF10;
  border-right: 2px solid #FDB103;
  border-bottom: 2px solid #FDB103;
  border-left: 2px solid #FDB103;
  border-bottom-right-radius: 10px;
  border-bottom-left-radius: 10px;
  padding: 0 6.66px;
  width: 100%;
}

.cardBar h1,
.cardBar h2,
.cardBar h3 {
  text-shadow: 1px 1px 4px black;
}

.cardBar img {
  border-radius: 10px;
  box-shadow: 1px 1px 7px black;
  height: auto;
  margin-bottom: 3%;
  width: 100%;
}

#btn-evaluate {
  background: #FFFFFF10;
  border-right: 2px solid #FDB103;
  border-top: 2px solid #FDB103;
  border-left: 2px solid #FDB103;
  border-top-right-radius: 10px;
  border-top-left-radius: 10px;
  color: white;
  display: block;
  padding: 0 6.66px;
  text-align: center;
  width: 100%;
}

footer {
  position: fixed;
  bottom: 0;
  left: 0;
  padding-top: 1%;
  background: #231F1E;
  color: #FDB103;
  width: 100%;
  height: 7%;
  text-align: center;
  font-size: 13px;
}

/*css menu*/
a {
  color: black;
}

a:hover {
  background: rgba(0, 0, 0, 0.05);
}

#logo {
  font-size: 1.5rem;
  font-weight: bold;
}

#menu {
  display: flex;
  list-style: none;
  gap: 0.5rem;
}

#menu a {
  display: block;
  padding: 0.5rem;
}

#btn-mobile {
  display: none;
}

@media (max-width: 10000px) {
  #menu {
    display: block;
    position: absolute;
    width: 100%;
    top: 12%;
    right: 0px;
    background:
    linear-gradient(217deg, #C688786A, #C68878 80.71%),
    linear-gradient(127deg, #FDB103, #FDB103 90.71%),
    linear-gradient(336deg, #94752E6A, #94752E 80.71%);
    text-align: left;
    font-size: 18px;
    transition: 0.6s;
    z-index: 1000;
    height: 0px;
    visibility: hidden;
    overflow-y: hidden;
  }
  #nav.active #menu {
    height: calc(100vh - 19%);
    visibility: visible;
    overflow-y: auto;
  }
  #menu a {
    padding: 2rem 0 2rem 15%;
    margin: 0 1rem;
    border-bottom: 2px solid rgba(0, 0, 0, 0.05);
  }
  #menu ol li a {
    padding: 1rem 0 1rem 30%;
  }
  #btn-mobile {
    display: flex;
    padding: 0.5rem 1rem;
    font-size: 1rem;
    border: none;
    background: none;
    cursor: pointer;
    gap: 0.5rem;
  }
  #hamburger {
    border-top: 2px solid;
    width: 28px;
  }
  #hamburger::after,
  #hamburger::before {
    content: '';
    display: block;
    width: 28px;
    height: 2px;
    background: currentColor;
    margin-top: 5px;
    transition: 0.3s;
    position: relative;
  }
  #nav.active #hamburger {
    border-top-color: transparent;
  }
  #nav.active #hamburger::before {
    transform: rotate(135deg);
  }
  #nav.active #hamburger::after {
    transform: rotate(-135deg);
    top: -7px;
  }

  
}

@media only screen and (max-width: 750px) {
  .ctn-main {
    width: 98%;
  }

  .ctn-main main {
    bottom: 10%;
  }

  header h1 {
    font-size: 22px;
  }

  #nav.active #menu {
    height: calc(100vh - 24%);
  }

  fieldset legend {
    font-size: 18px;
  }

  .attributes label {
    width: 35%;
  }

  .attributes input[type="range"] {
    width: 45%;
  }

  .cardBar h1{
    font-size: 26px;
  }

  footer {
    height: 12%;
    padding-top: 3%;
  }

  .link_regulamento{
    padding: 0;
  }
}

/* Img do instagran */

.insta-logo {
  display: inline-block; 
  position: absolute;
  max-width: 28px;
  margin-left: 7px;
}

