@import url("https://fonts.googleapis.com/css2?family=Cinzel&family=Roboto:wght@300&display=swap");



*,
*::after,
*::before {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen,
    Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
  box-sizing: border-box;
  margin: 0px;
  padding: 0%;
}

/* Fonts */

@font-face {
  font-family: 'artegra' ;
  src: url(../fonts/Artegra\ Soft\ Light.ttf);
}

.fonts-arquitects {
  font-family: "Cinzel", serif;
  color: var(--letters--);
}

/* Código general - clases */

.d-flex {
  display: flex;
}

.d-grid {
  display: grid;
}

.section-conteiner {
  padding: 0px 50px;
  height: auto;
}

.main-conteiner-title {
  justify-content: center;
  align-items: center;
  height: 150px;
  width: 100%;
}

.main-conteiner-title h2 {
  color: var(--letters--);
  font-family:'artegra';
  text-align: center;
  position: relative;
  font-weight: 400;
  font-size: 32px;
  width: 50%;
}

.main-conteiner-title h2::after {
  border-bottom: 4px solid #fffefe;
  border-radius: 15px;
  position: absolute;
  bottom: -25px;
  content: "";
  width: 100%;
  left: 0;
}

.main-conteiner-title h2::before {
  border-bottom: 4px solid var(--btn--);
  border-radius: 15px;
  position: absolute;
  bottom: -40px;
  content: "";
  width: 100%;
  left: 0;
}

:root {
  --background--: #2d2d2d;
  --header--: #8c8c8c;
  --letters--: #fff;
  --btn--: #f70202;
}

html {
  scroll-behavior: smooth;
}

/* Código general - clases */

/* Menu navegación */

body {
  background-color: var(--background--);
}

header {
  background-color: var(--background--);
  padding: 0px 50px;
  margin-top: 30px;
  height: 65px;
}

header nav {
  height: 100%;
}

header nav ul {
  justify-content: center;
  align-items: center;
  width: 100%;
}

header nav ul li {
  align-items: center;
  margin-left: 50px;
  list-style: none;
  display: flex;
  height: 100%;
  display: flex;
}

header nav ul li a {
  color: var(--letters--);
  text-decoration: none;
  position: relative;
  font-weight: 400;
  font-size: 15px;
  font-family: 'artegra';
}

header nav ul li a::before {
  transition: transform 0.3s ease-in-out;
  background-color: #cccccc;
  transform: scaleX(0);
  position: absolute;
  bottom: -10px;
  width: 100%;
  content: "";
  height: 3px;
  left: 0;
}

header nav ul li a:hover::before {
  transform: scaleX(1);
}

header nav ul li:nth-child(5) a {
  background-color: var(--btn--);
  align-items: center;
  position: relative;
  border-radius: 4px;
  padding: 0px 8px;
  transition: 0.5s;
  display: flex;
  height: 80%;
}

header nav ul li:nth-child(5) a:hover::before {
  transform: scaleX(0);
}

/* Menu responsive */

header span {
  display: none;
}

/* Menu responsive*/ /* Menú navegación */

/* Primera sección */

.main-conteiner {
  margin-bottom: 30px;
  margin-top: 30px;
  height: 82vh;
  width: 100%;
}

.main-conteiner-logo {
  justify-content: center;
  flex-direction: column;
  align-items: center;
  position: relative;
  height: 100%;
  width: 100%;
}

.main-conteiner-logo > img {
  margin-bottom: 15px;
  position: relative;
  height: 300px;
  width: 282px;
}

.main-conteiner-logo > h1 {
  color: var(--letters--);
  margin-bottom: 10px;
  text-align: center;
  position: relative;
  margin-top: 15px;
  font-weight: 400;
  font-size: 50px;
  letter-spacing: 5px;
  
  font-family:'artegra';
}

.main-conteiner-logo > h2 {
  letter-spacing: 15px;
  font-weight: 200;
  font-size: 32px;
  font-family:'artegra';
}

/* Primera sección */

/* Segunda sección - Proyectos */

.main-image-conteiner {
  box-shadow: 0 2px 15px -2px rgba(0, 0, 0, 0.2);
  background-color: #29292946;
  margin-bottom: 10px;
  padding: 10px 10px;
  margin-top: 30px;
  height: auto;
  width: 100%;
}

.main-image-conteiner div {
  justify-content: center;
  align-items: center;
  text-align: center;
  position: relative;
  margin-right: 5px;
  margin-bottom: 5px;
  margin-left: 5px;
  margin-top: 5px;
  height: 200px;
  display: flex;
}

.main-image-conteiner img {
  transition: all 0.5s;
  position: absolute;
  object-fit: cover;
  height: 100%;
  width: 100%;
  opacity: 0.3;
}

.main-image-conteiner .element-1,
.main-image-conteiner .element-1 {
  height: 250px;
}

.main-image-conteiner img:hover {
  transition: all 0.5s;
  opacity: 1;
}

.main-image-conteiner div:nth-child(1),
.main-image-conteiner div:nth-child(4) {
  grid-column: 1 / 3;
}

/* Segunda sección */

/* Tercera sección - ¿Quienes somos? */

.main-conteiner-title-paragraph {
  box-shadow: 0 2px 15px -2px rgba(0, 0, 0, 0.2);
  background-color: #29292946;
  justify-content: center;
  align-items: center;
  margin-bottom: 10px;
  padding: 0px 18px;
  min-height: 300px;
  margin-top: 30px;
  display: flex;
}

.main-conteiner-title-paragraph p {
  color: var(--letters--);
  text-align: justify;
  margin-bottom: 30px;
  margin-top: 30px;
  font-size: 20px;
}

/* Tercera sección - ¿Quienes somos? */

/* Cuarta sección - Arquitectos */

.main-conteiner-cards {
  box-shadow: 0 2px 15px -2px rgba(0, 0, 0, 0.2);
  min-height: calc(100vh - 150px);
  background-color: #29292946;
  justify-content: center;
  align-items: center;
  margin-bottom: 10px;
  margin-top: 30px;
  flex-wrap: wrap;
}

.main-cards {
  justify-content: space-between;
  background-color: #fff;
  flex-direction: column;
  align-items: center;
  margin-bottom: 10px;
  min-height: 450px;
  margin-left: 20px;
  margin-top: 10px;
  transition: 0.8s;
  width: 225px;
}

.main-cards:hover {
  transform: translateY(-2%);
  transition: 0.8s;
}

.cards-image img {
  margin-top: 25px;
  height: 80px;
  width: 80px;
}

.cards-title {
  text-align: center;
  margin-bottom: 25px;

}

.cards-title h2 {
  
  font-family:'artegra';
  margin-bottom: 15px;
  font-weight: 500;
  font-size: 28px;
}

.cards-title p {
  
  font-family:'artegra';
  word-wrap: break-word;
  font-weight: 600;
  font-size: 16px;
}

.cards-name {
  background-color: #8c8c8c;
  justify-content: center;
  align-items: center;
  height: 65px;
  width: 100%;
}

.cards-name h2 {
  
  font-family:'artegra';
  color: var(--letters--);
  font-weight: 600;
  font-size: 25px;
}

/* Tercera sección - ¿Quienes somos? */

.main-conteiner-redes {
  justify-content: center;
  color: var(--letters--);
  align-items: center;
  margin-bottom: 10px;
  margin-top: 30px;
  height: 50px;
}

.main-conteiner-redes p {
  font-size: 25px;
}

.main-redes {
  justify-content: center;
  height: auto;
}

.main-redes p {
  color: var(--letters--);
}

.main-redes img {
  filter: grayscale(1);
  object-fit: cover;
  transition: 0.5s;
  height: 105px;
  width: 105px;
}

.main-redes img:hover {
  filter: grayscale(0);
  transition: 0.5s;
}

/* Cuarta sección - Contacto */

.form-conteiner {
  box-shadow: 0 2px 15px -2px rgba(0, 0, 0, 0.2);
  background-color: #29292946;
  flex-direction: column;
  margin-bottom: 30px;
  align-items: center;
  position: relative;
  height: auto;
  width: 100%;
}

.form {
  flex-direction: column;
  position: relative;
  height: 100%;
  width: 52%;
}

.form::after {
  border-bottom: 4px solid #fffefe;
  border-radius: 15px;
  position: absolute;
  bottom: -45px;
  content: "";
  width: 100%;
  left: 0;
}

.form::before {
  border-bottom: 4px solid var(--btn--);
  border-radius: 15px;
  position: absolute;
  bottom: -60px;
  content: "";
  width: 100%;
  left: 0;
}

.form-input {
  flex-direction: column;
  align-items: center;
  position: relative;
  padding: 12px 0px;
}

.inputs {
  border: none;
  background-color: #c4c4c4;
  position: relative;
  padding: 0px 10px;
  text-align: center;
  color: #000;
  width: 420px;
  outline: 0px;
  height: 50px;
}
.inputs :nth-child(2n){
  height: 500px;
}

.inputs::placeholder {
  position: relative;
  text-align: center;
  font-size: 15px;
  color: #000;
}

.form-input p {
  color: var(--btn--);
  margin-bottom: 30px;
}

.btn {
  background-color: var(--btn--);
  margin-bottom: 30px;
  border-radius: 4px;
  padding: 10px 60px;
  
  font-family: 'artegra' ;
  font-weight: 300;
  font-size: 18px;
  cursor: pointer;
  color: #fff;
  outline: none;
  border: none;

}

/* Cuarta sección - Contacto */

/* Quinta sección - Footer */

.section {
  padding: 0px 50px;
  margin-top: 150px;
  height: auto;
}

.footer-conteiner {
  align-items: center;
  position: relative;
  height: 200px;
}

.footer-conteiner::after {
  border-bottom: 4px solid var(--btn--);
  border-radius: 15px;
  position: absolute;
  bottom: 0px;
  content: "";
  width: 100%;
  left: 0;
}

.footer-conteiner::before {
  border-bottom: 4px solid #fffefe;
  border-radius: 15px;
  position: absolute;
  content: "";
  width: 100%;
  top: 0px;
  left: 0;
}

.footer-content {
  justify-content: space-evenly;
  background-color: transparent;
  width: 100%;
}

.footer-icon img {
  height: 105px;
  width: 105px;
}

.footer-li li {
  list-style: none;
  padding: 2px 0px;
}

.footer-li li a {
  
  font-family:'artegra';
  text-decoration: none;
  font-size: 16px;
  color: #fff;
}

.footer-location {
  justify-content: center;
  flex-direction: column;
  align-items: center;
}

.footer-location p {
  color: #fff;
}

.footer-location button {
  background-color: var(--btn--);
  border-radius: 4px;
  padding: 10px 60px;
  margin-top: 25px;
  font-weight: 300;
  font-size: 18px;
  cursor: pointer;
  color: #fff;
  outline: none;
  border: none;
  font-family: 'artegra' ;
}

.footer-end {
  justify-content: center;
  margin-bottom: 15px;
  margin-top: 15px;
  color: #fff;
}

/* Quinta sección - Footer */

/* Responsive */  

@media screen and (max-width: 450px) {
  header {
    background-color: var(--background--);
    padding: 0px 65px;
  }

  header span {
    position: relative;
    color: #8b8b8b;
    font-size: 35px;
    cursor: pointer;
    display: block;
    top: 10px;
  }

  header nav ul {
    background-color: var(--background--);
    flex-direction: column;
    position: absolute;
    min-height: 300px;
    padding: 0px 65px;
    transition: 0.5s;
    width: 100%;
    z-index: 1;
    left: -100%;
  }

  header nav ul li {
    border-bottom: 2px solid #8b8b8b;
    position: relative;
    padding: 15px 0px;
    width: 100%;
    margin: 0px;
  }

  header nav ul li a {
    width: 100%;
  }

  header nav ul li:nth-child(5) a {
    background-color: transparent;
    padding: 0px;
  }

  .responsive {
    transition: 0.5s;
    left: 0%;
  }

  .section-conteiner {
    padding: 0px 65px;
  }

  .main-conteiner-logo {
    justify-content: center;
    height: 100%;
    width: 100%;
    left: 0px;
  }

  .main-conteiner-image {
    display: none;
  }
}
