* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --cor1: #001542;
  --cor2: #085454;
  --cor3: #7A7A7A;
  --cor4: #FFFFFF;
  --cor5: #FFB30D;

  --fonte-padrao: 'Open Sans', 'Roboto', sans-serif;
  --fonte-destaque: 'Montserrat', sans-serif ,'Poppins', sans-serif, Arial;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--cor4);
}

/*==================== HEADER ====================*/

header {
  background-image: linear-gradient(to bottom, var(--cor3), var(--cor1));
  height: auto;
}

.topIndex {
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
  padding-top: 25px;
}

header p {
  font-family: var(--fonte-padrao);
  color: var(--cor4);
  text-align: center;
}

header h1 {
  font-family: var(--fonte-destaque);
  color: var(--cor5);
  text-align: center;
  font-size: 2.5em;
}

/*==================== NAV ====================*/

.nav {
position: sticky;
top: 0;
z-index: 1;
}

ul {
font-family: var(--fonte-padrao);
list-style-type: none;
overflow: auto;
background-color: var(--cor1);
}

li {
float: left;
}

.dropbtn {
display: inline-block;
font-size: 16px;
color: var(--cor4);
text-align: center;
padding: 10px 12px;
text-decoration: none;
}

.dropbtn:hover {
color: var(--cor1);
border-radius: 5px 5px 0px 0px;
}

li a:hover, .dropdown:hover .dropbtn {
background-color: var(--cor4);
color: var(--cor1);

}

.dropbtn  {
border-radius: 5px 5px 0px 0px;

}

.dropdown-content {
display: none;
position: absolute;
background-color: var(--cor4);
min-width: 30%;
box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
border-radius: 0px 0px 5px 5px;
z-index: 1;
}

.dropdown-content a {
color: var(--cor1);
padding: 10px 7px;
text-decoration: none;
display: block;
text-align: center;
}

.dropdown-content a:hover {
background-color: var(--cor2);
color: var(--cor4);
}

.dropdown-content a:active {
color: var(--cor5);
}

.dropdown:hover .dropdown-content {
display: block;

}

.gridcontainer {
  display: grid;
  grid-template-columns: 70% 30%;
  margin: 10px;
  background-color: var(--cor4);
  border-radius: 10px;
  overflow: auto;
}

.main {
  background-color: #FFFFFF;
  border-radius: 10px;
}

/*===================== article =====================*/

.cine {
  max-width: 1080px;
  height: auto;
  background: url(img/backCine.png) no-repeat right;
  background-size: cover;
  margin-top: 15px;
  margin: 15px auto;
  padding: 20px 0;
  border-radius: 5px;
  font-size: 25px;
}

.cine h2 {
  font-family: var(--fonte-destaque);
  text-align: center;
  
  color: #FFFFFF;
}

.cine span {
  color: rgb(172, 1, 1);
  font-style: italic;
  text-shadow: 1px 1px 1px #e7e7e7;
}

.caixa {
  display: flex;
  flex-direction: row;
  max-width: 1080px;
  margin: auto;
  margin-top: 15px;
  background: url(img/backCine.png) no-repeat;
  background-size: cover;
  padding: 20px;
  border-radius: 5px;
  border-bottom: 2px solid #FFFFFF;
  
}

.sorteador {
  width: 96%;
  font-family: var(--fonte-padrao);
  background-color: var(--cor1);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 10px;
  border-radius: 5px;
}

.manual {
  max-width: 1080px;
  font-family: var(--fonte-padrao);
  margin: 20px auto;
  padding: 10px 0;
  background-color: #e6e5e5;
  border-radius: 5px;
}

.manual p {
  line-height: 1.6em;
  margin: 0 20px;
  padding-bottom: 8px;
}

.sorteador textarea {
  margin-bottom: 20px;
  border-radius: 5px;
  font-size: 20px;
  outline: none;
}

.sorteador #out {
  text-align: center;
  color: #fff;
  font-size: 20px;
  font-weight: 520;
  background-color: var(--cor2);
  width: 70%;
  margin: 15px auto;
  padding: 10px 0;
  border-radius: 5px;
}

.sorteador #out:hover {
  background-color: #063b3b;
}

.sorteador #out:active {
  background-color: #FFB30D;
}

.sorteador #out a {
  padding: 10px 120px;
  text-decoration: none;
  color: #fff;
}

.sorteador button {
  font-size: 20px;
  font-weight: 535;
  padding: 10px 0;
  border-radius: 5PX;
  border: none;
  background-color: var(--cor4);
  color: #001542;
  transition: 0.8s;
}

.sorteador #out a:hover {
  background-color: #063b3b;
}

.sorteador #out a:active {
  background-color: #FFB30D;
}

.sorteador button:hover {
  background-color: #e6e5e5;
}

.sorteador button:active {
  background-color: #FFB30D;
}

@media (max-width: 600px) {
  .caixa {
    display: block;
    grid-template-columns: 1fr;
    border-radius: 0;
  }

  .manual {
    border-radius: 0;
  }

  .sorteador {
    width: 100%;
  }

  .sorteador #out {
    width: 100%;
  }

  /*----------- NAV -------------*/

  .nav {
    z-index: 1;
  }

  .dropdown  {
    display: block;
    width: 100%;
    padding: 6px 0;
    font-size: 12px;
  }

  .dropbtn {
    width: 100%;
    padding: 5px 0;
  }

  .dropdown-content {
    width: 100%;
  }

  .dropdown-content a {
    font-size: 14px;
  }

  .main article {
    background-color: #e7e7e7;
  }

  .song {
    top: 51px;
  }

  aside section  {
    width: 100%;
    margin: 10px auto;
    background-color: #e7e7e7;
    border-radius: 0;
  }
  .cine {
    border-radius: 0;
  }
}

/*===================== footer =====================*/
footer {
  background-color: #001542;
  color: #e7e7e7;
  text-align: center;
  font-family: var(--fonte-padrao);
  font-size: 12px;
  font-style: italic;
  padding: 5px 0;
}