@import url("https://fonts.googleapis.com/css2?family=Roboto:wght@300&display=swap");
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Roboto', sans-serif; }

body {
  background-color: #fafafa; }

li {
  list-style: none; }

a {
  text-decoration: none;
  color: #5e5e5e; }

/* Header */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  background-color: white;
  padding: 0.5rem 1rem;
  z-index: 999; }
  header .logo {
    height: 3rem;
    width: 3rem; }
    header .logo img {
      width: 100%; }
  header .burgerMenu {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 2.5rem;
    height: 2.5rem;
    font-size: 2rem;
    background-color: white;
    border: none;
    color: grey;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
    border-radius: 5px;
    cursor: pointer;
    transition: box-shadow 0.5s ease-in; }
  header .burguerMenu:hover {
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3); }
  header input#menu {
    display: none; }
  header input#menu:checked ~ nav {
    display: block; }
  header nav {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: white; }
    header nav .closeMenu {
      position: absolute;
      top: 1rem;
      right: 1rem;
      font-size: 2.5rem; }
    header nav ul {
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      width: 100%;
      height: 100%; }
      header nav ul li {
        text-transform: uppercase;
        font-weight: 600;
        border-radius: 5px;
        padding: 0.5rem; }
      header nav ul li:hover {
        background-color: #fafafa; }

@media screen and (min-width: 768px) {
  header .burgerMenu {
    display: none; }
  header nav {
    display: initial;
    position: initial; }
    header nav ul {
      flex-direction: row;
      justify-content: space-evenly; }
    header nav .closeMenu {
      display: none; } }

/* HeroImage */
.heroImage {
  width: 100%;
  height: 91vh;
  background-image: url("../img/heroimage.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  display: flex;
  justify-content: center;
  align-items: center; }
  .heroImage h1 {
    font-size: 2rem;
    color: white;
    text-transform: uppercase;
    background: rgba(0, 0, 0, 0.3);
    padding: 1rem 0;
    width: 100%;
    text-align: center; }

@media screen and (min-width: 768px) {
  .heroImage h1 {
    transition: all 550ms ease-in; }
  .heroImage h1:hover {
    transform: scale(1.1); } }

/* Historia */
.history {
  background-color: white;
  box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.1);
  width: 90%;
  margin: 4rem auto;
  align-items: center; }
  .history .dataHistory {
    padding: 2rem; }
    .history .dataHistory h2 {
      text-align: center;
      font-size: 1.5rem;
      margin-bottom: 1rem; }
    .history .dataHistory p {
      text-align: justify;
      padding-top: 10px; }
  .history .imgHistory {
    padding: 2rem; }
    .history .imgHistory img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      border-radius: 10px; }

@media screen and (min-width: 768px) {
  .history {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    align-items: center; }
    .history .imgHistory img {
      transition: all 550ms ease-in; }
    .history .imgHistory img:hover {
      transform: scale(1.1); } }

/* Contacto */
.contact {
  min-height: 90vh;
  display: grid;
  justify-content: center;
  align-items: center; }
  .contact .formContact {
    display: grid;
    justify-content: center;
    align-items: center; }
    .contact .formContact h2 {
      text-align: center;
      margin-bottom: 1rem; }
    .contact .formContact input {
      height: 2.5rem;
      padding: 1rem;
      outline: none;
      margin-bottom: 1rem;
      border-radius: 50px;
      border-color: rgba(0, 0, 0, 0.3); }
    .contact .formContact textarea {
      padding: 1rem;
      resize: none;
      margin-bottom: 1rem;
      border-radius: 25px;
      border-color: rgba(0, 0, 0, 0.3); }
    .contact .formContact .buttonsContact {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      justify-items: center; }
      .contact .formContact .buttonsContact button {
        border: none;
        padding: 0.5rem 1rem;
        border-radius: 5px;
        text-transform: uppercase;
        cursor: pointer;
        background-color: rgba(0, 0, 0, 0.3); }

@media screen and (min-width: 768px) {
  .contact .formContact .buttonsContact button {
    transition: all 550ms ease-in; }
  .contact .formContact .buttonsContact button:hover {
    transform: scale(1.1); } }

/* Ir arriba */
div.up {
  width: 40px;
  height: 40px;
  background-color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  color: rgba(0, 0, 0, 0.3);
  border-radius: 50%;
  font-size: 35px;
  position: fixed;
  bottom: 25px;
  right: 15px;
  cursor: pointer;
  border: 4px solid transparent;
  transition: all 300ms ease;
  transform: scale(0); }
