.mainly {
  font-family: Helvetica;
  margin-top: 84px;
}

.header {
  flex-direction: column;
}

.menu-style {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
}

.logo {
  width: 70%;
}

.menu-bar {
  color: #333;
  font-size: 30px;
  display: block;
}

.select {
  width: 40%;
  height: 32px;
  border-radius: 10px;
  border: 1px solid darkblue;
}

.search {
  width: 40%;
  height: 30px;
  border-radius: 10px;
  border: 1px solid darkblue;
  padding: 0px 4px;
}

.list-posts {
  max-width: 100%;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.card {
  align-items: center;
  display: flex;
  flex-direction: column;
  width: 95%;
  margin: 15px 0px;
  position: relative;
  max-height: 250px;
  overflow: hidden;
}

.card-post {
  display: flex;
  justify-content: center;
}

.card-image {
  margin: 30px 0px 5px;
  width: 100%;
}

.card-title {
  background-color: #0c3d90;
  color: #fff;
  font-weight: 900;
  padding: 15px;
  position: absolute;
  bottom: 5px;
  left: 0;
  width: 100%;
}

.card-title:hover {
  background-color: #fc3d21;
}

.footer {
  text-align: center;
}

.menu-hidden {
  display: none;
}

.menu-exhibit {
  display: flex;
  min-width: 101%;
  text-align: center;
  margin: 69px 0px;
}

.menu-exhibit ul {
  flex-direction: column;
}

.menu-exhibit ul li {
  padding: 10px;
  border-bottom: 1px solid #333;
}

.menu-exhibit ul li a {
  font-size: 18px;
  color: #333;
}

.menu-fixed {
  background-color: white;
  z-index: 2;
  width: 95%;
  padding: 10px;
}

.nav-menu {
  align-self: center;
  flex-direction: column;
  background-color: white;
  position: fixed;
  width: 100%;
  z-index: 2;
}

.searchs {
  position: relative;
  top: 77px;
  margin: 0px 30px;
  width: 85%;
}

.pages {
  height: 50px;
  font-family: Helvetica;
  align-self: center;
  font-size: 20px;
  width: 95%;
  border: 1px solid darkblue;
  border-radius: 5px;
  text-align-last: center;
}

.about-body {
  height: 100vh;
  background-color: #000;
}

.about-title {
  padding: 30px;
  text-align: center;
  font-weight: 900;
  font-size: 25px;
  color: #fff;
}

.about {
  font-size: 20px;
  font-weight: 500;
  text-align: center;
  color: #fff;
  padding: 0px 20px;
}

.about-mainly {
  text-align: center;
  margin-top: 0;
}

.mainly-challenge {
  height: 70vh;
  overflow: hidden;
  position: relative;
}

.text-challenge {
  width: 100%;
  line-height: 20px;
  position: absolute;
  color: #fff;
  font-weight: 900;
  text-align: center;
  bottom: 35px;
  margin: 0px 25px;
}

.title-challenge {
  top: 18%;
  color: #fff;
  font-size: 25px;
  position: absolute;
  font-weight: 900;
  left: 15px;
}

.footer-challenge p,
.footer-challenge p a {
  font-size: 15px;
  font-weight: 900;
  padding: 10px;
  color: #fff;
}

.footer-challenge {
  width: 85%;
  position: absolute;
  bottom: 0px;
}

.body-challenge {
  background-color: #1d2d46;
}

.sortImage, .share-friends {
  font-weight: 900;
  text-align: center;
  padding-left: 20px;
  padding-right: 20px;
  font-size: 20px;
  line-height: 25px;
}

.sortImage {
  padding-top: 35px;
}

.sortImage input {
  border-radius: 10px;
  padding: 10px;
  border-color: #262656;
}

.sortImage button {
  padding: 10px;
  border-radius: 10px;
  border: none;
  background-color: #262656;
  color: #fff;
  font-weight: 900;
}

.sortImage h2 {
  margin-bottom: 20px;
}

.sortImage p small {
  font-size: 15px;
}

.photo-birthday {
  margin: 25px 0px;
}

.photo-birthday img {
  width: 100%;
}

.share-friends {
  display: none;
}

.share-friends h2 {
  font-size: 17px;
  margin: 20px;
}

.share-friends i {
  font-size: 30px;
  margin: 20px;
}

@media only screen and (min-width: 850px) {
  .mainly {
    font-family: Helvetica;
    margin-top: 84px;
  }

  .header {
    background-color: #fff;
    width: 100%;
    display: flex;
    align-items: center;
    height: 100px;
    flex-wrap: wrap;
    justify-content: space-between;
    flex-direction: row;
  }

  .nav-menu {
    width: 30%;
    display: flex;
    align-items: center;
    position: absolute;
    right: 0;
  }

  .menu-hidden {
    display: block;
  }

  .nav-menu ul {
    display: flex;
    justify-content: space-around;
    width: 100%;
  }

  .nav-menu ul a {
    color: #333;
    font-weight: 900;
    font-size: 20px;
  }

  .searchs {
    width: 100%;
  }

  .menu-style {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 10px;
  }

  .logo {
    width: 100%;
  }

  .menu-web {
    order: -1;
  }

  .menu-bar {
    display: none;
  }

  .select {
    width: 100px;
    height: 32px;
    border-radius: 10px;
    margin-right: 25px;
    border: 1px solid darkblue;
  }

  .search {
    width: 100px;
    height: 30px;
    border-radius: 10px;
    border: 1px solid darkblue;
    padding: 0px 4px;
  }

  .direction {
    flex-direction: column;
  }

  .footer {
    text-align: center;
  }
  .menu-exhibit {
    display: flex;
    margin-top: 69px;
  }

  .menu-fixed {
    background-color: white;
    z-index: 2;
    width: 20%;
    padding: 10px;
    display: flex;
    justify-content: flex-start;
  }

  .style-pages {
    display: flex;
    flex-direction: row;
    position: relative;
    left: 40%;
  }

  .margin-top-menu {
    position: relative;
    top: 77px;
    margin: 0px 30px;
    width: 100%;
  }

  .list-posts {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-around;
  }

  .card {
    width: 100%;
  }

  .card-post {
    width: 500px;
  }

  .mainly-challenge {
    height: 89vh;
  }

  .footer-challenge {
    width: 90%;
    position: absolute;
    bottom: 0;
  }

  .footer-challenge p,
  .footer-challenge p a {
    font-size: 8px;
    font-weight: 900;
    padding: 10px;
    color: #fff;
  }

  .text-challenge,
  .title-challenge {
    background-color: transparent;
    position: absolute;
    color: #fff;
    text-align: center;
    font-size: 24px;
    font-weight: 900;
    width: 500px;
    left: 50px;
  }

  .text-challenge p {
    font-size: 20px;
    line-height: 30px;
  }

  .text-challenge {
    width: 100%;
  }

  .title-challenge {
    top: 10%;
    left: 0;
  }
  
  .photo-birthday img {
    width: 30%;
  }

  .sortImage {
    font-size: 25px;
  }

  .sortImage p {
    margin-bottom: 30px;
  }
}
