@import url('https://fonts.googleapis.com/css?family=Roboto&display=swap');
*{
  margin: 0;
  padding: 0;
  font-family: "Roboto",sans-serif;
  letter-spacing: 0.5px;
}
body{
  background-color: #eee;
}
.header{
  height: 100px;
  background: linear-gradient(to right, #ffc300, #000000 40%);
  padding: 0 20px;
  color: #fff;
}
.header h2{
  margin-left: 60px;
  font-size: 25px;
}
.header span{
  width: 45px;
  height: 45px;
  position: absolute;
  margin-top: 27.5px;
  z-index: 111;
}
.header span img{
  width: 100%;
}
.logo{
  line-height: 100px;
  float: left;
  text-transform: uppercase;
}

.menu{
  float: right;
  line-height: 100px;
}
.menu a{
  color: #fff;
  text-transform: uppercase;
  text-decoration: none;
  font-weight: bold;
  padding: 0 10px;
  transition: 0.4s;
}
.show-menu-btn,.hide-menu-btn{
  transition: 0.4s;
  font-size: 30px;
  cursor: pointer;
  display: none;
}
.show-menu-btn{
  float: right;
}
.show-menu-btn i{
  line-height: 100px;
}
.menu a:hover,
.show-menu-btn:hover,
.hide-menu-btn:hover{
  color: #ffc300;
}

#chk{
  position: absolute;
  visibility: hidden;
  z-index: -1111;
}

.content{
  padding: 0 20px;
  background-color: #eee;
}
.content img{
  width: 100%;
  max-width: 700px;
  margin: 20px 0;
}
.content p{
  text-align: justify;
}

@media screen and (max-width:800px) {
  .show-menu-btn,.hide-menu-btn{
    display: block;
  }
  .menu{
    z-index: 222;
    position: fixed;
    width: 100%;
    height: 100vh;
    background: #333;
    right: -100%;
    top: 0;
    text-align: center;
    padding: 80px 0;
    line-height: normal;
    transition: 0.7s;
  }
  .menu a{
    display: block;
    padding: 30px;
    font-weight: bold;
  }
  .hide-menu-btn{
    position: absolute;
    top: 40px;
    right: 40px;
  }
  #chk:checked ~ .menu{
    right: 0;
  }
}
.titulo {
  text-align: center;
  font-size: 35px;
  margin-top: 20px;
  margin-bottom: 15px;
  color: #333;
}
.grid {
  font-family: 'Roboto', sans-serif;
  margin: 30px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-gap: 20px;
  align-items: stretch;
  }

.grid > article {
  border: 1px solid #ccc;
  padding: 15px;
  box-shadow: 2px 2px 6px 0px  rgba(0,0,0,0.3);
  border-radius: 3px;
  text-align: center;
}

.grid > article:hover{
  transition: transform .1s ease-out;
  transform: translateY(5px);
}
.grid article > h3{
    margin-top: 15px;
    color: #333;
}
.grid > article > iframe{
    height: 90%;
    width: 100%;
}


@media (max-width: 768px){
  .titulo{
    font-size: 30px;
  }
  .grid{
    grid-template-columns: repeat(2, 1fr);
    margin: 0;
  }
}

@media (max-width: 500px){
  .titulo{
    font-size: 20px;
  }
  .grid{
    grid-template-columns: repeat(1, 1fr);
    margin: 0;
  }

  .grid > article{
    text-align: center;
  }
}
#sobre{
  height: 100px;
  margin-top: 80px;
}
#sobre h3{
  text-align: center;
  color: #333;
}
#sobre h3 span{
  color: #ff6600;
}
#sobre a{
  text-decoration: none;
}
#sobre a img{
  margin-left: 5px;
  margin-top: 20px;
}
#sobre a img:hover{
  opacity: 0.8;
}