@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@200;300;400;500;700;800&display=swap");
* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  font-family: "Manrope", sans-serif;
}

a {
  text-decoration: none;
}

body {
  min-height: 100vh;
  background: url(../images/bg.jpg) repeat-y;
  background-size: cover;
}

/* NAVBAR */
header {
  padding-top: 35px;
}
nav {
  display: flex;
  justify-content: space-evenly;
  align-items: center;
}
.navigation-bar ul {
  padding: 0;
  margin: 0;
}

.navigation-bar ul li {
  list-style: none;
  display: inline-block;
  margin: 0 25px;
}
.navigation-bar ul li a {
  font-size: 16px;
  font-weight: 500;
  line-height: 22px;
  color: #292423;
  text-transform: capitalize;
  transition: all 0.3s;
}
.navigation-bar ul li a:hover {
  opacity: 0.5;
}
.navigation-bar ul li.hire-btn {
  margin-left: 125px !important;
}
.navigation-bar ul li.hire-btn a {
  padding: 10px 32px;
  background: #fff;
  border-radius: 50px;
  font-weight: 500;
}
.navigation-bar ul li.hire-btn a:hover {
  background: #292423;
  color: #fff;
  opacity: 1;
}

.container{
    width: 80%;
    height: 900px;
    margin: auto;
    /* background-color: aqua; */
    display: grid;
    grid-template-rows: 0.5fr 5fr;
    gap: 15px;
    margin-bottom: 50px;
}

.text{
    display: grid;
    /* background-color: black; */
    color: #000000;
    font-size: 40px;
    font-weight: bold;
    display: flex;
    justify-content: center;
    align-items: center;
    
}

.content{
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 20px;
}

.cont{
    /* background-color: blue; */
    display: grid;
    grid-template-rows: 1fr;
}

/* .cont a{
    background-color: burlywood;
} */

.cont img{
    padding: 0;
    margin: 0;
    width: 380px;
    height: 380px;
    border-radius: 5%;
    opacity: 0.7;
}

.cont img:hover, .cont-2 img:hover{
  opacity: 1.0;
}
.content-2{
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 20px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.cont-2{
  /* background-color: blue; */
  display: grid;
  grid-template-rows: 1fr;
}


.cont-2 img{
  padding: 0;
  margin: 0;
  width: 500px;
  height: 300px;
  border-radius: 5%;
  opacity: 0.7;
}

body {
  font-size: 16px; /* Puedes ajustar este valor según tus necesidades */
}

.text {
  font-size: 2em; /* Utiliza em o rem para el tamaño de la fuente */
}

@media only screen and (max-width: 1000px) {
  .container {
      width: 90%;
  }

  .text {
      font-size: 24px; /* Ajusta el tamaño de la fuente para pantallas más pequeñas */
  }

  .content,
  .content-2 {
      flex-direction: column;
      align-items: center; /* Centra los elementos en pantallas pequeñas */
  }

  .cont,
  .cont-2 {
      margin-bottom: 10px; /* Ajusta el espacio entre elementos en pantallas pequeñas */
  }
}

/* Toggle bar */

.toggle-bar {
  position: relative;
  display: block;
  width: 30px;
  height: 30px;
  padding-top: 5px;
  cursor: pointer;
}

.toggle-bar span {
  display: block;
  width: 100%;
  height: 3px;
  background: #292423;
  border-radius: 10px;
  margin-bottom: 4px;
}

@media (min-width: 1200px) {
  .toggle-bar {
    display: none;
  }
}

@media (max-width: 1200px) {
  .navigation-bar {
    display: none;
  }
  .navigation-bar {
    position: absolute;
    top: 79px;
    left: 0;
    right: 0;
    width: 90%;
    margin: auto;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(42px);
    border-radius: 10px;
    text-align: center;
    z-index: 2;
  }
  .navigation-bar ul {
    padding: 10px 0 20px;
  }
  .navigation-bar ul li {
    padding: 10px 30px;
    display: block;
    margin: 0;
    text-align: center;
  }
  .navigation-bar ul li.hire-btn {
    margin-left: 0 !important;
  }
  .navigation-bar ul li.hire-btn a {
    background: #292423;
    color: #fff;
  }
}

@media (min-width: 1200px) {
  .navigation-bar {
    display: block !important;
  }
}

@media (max-width: 1200px)
{
  .content{
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    justify-content: space-evenly;
    gap: 10px;
    height: fit-content;
  }

  .cont img{
    width: 90%;
    height: 200px;
    opacity: 1.0;
  }

  .container{
    height: fit-content;
  }
  .content-2{
    display: flex;
    flex-wrap: wrap;
  }

  .cont-2 img{
    width: fit-content;
    opacity: 1.0;
  }
}
