/* Definición de fuentes @font-face */

@font-face {
  font-family: "TGRoman";
  src: url("../fonts/TGRoman-Bold.woff") format("woff"),
    url("../fonts/TGRoman-Bold.ttf") format("truetype");
  font-weight: bold;
  font-style: normal;
}

@font-face {
  font-family: "TGRoman";
  src: url("../fonts/TGRoman-Italic.woff") format("woff"),
    url("../fonts/TGRoman-Italic.ttf") format("truetype");
  font-weight: normal;
  font-style: italic;
}

@font-face {
  font-family: "TGRoman";
  src: url("../fonts/TGRoman-Regular.woff") format("woff"),
    url("../fonts/TGRoman-Regular.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
}

/* @font-face {
  font-family: "Thasadith";
  src: url("../fonts/Thasadith-Bold.woff") format("woff"),
    url("../fonts/Thasadith-Bold.ttf") format("truetype");
  font-weight: bold;
  font-style: normal;
}

@font-face {
  font-family: "Thasadith";
  src: url("../fonts/Thasadith-Regular.woff") format("woff"),
    url("../fonts/Thasadith-Regular.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
}
 */

/*Color fuente Gris topo: #454546*/

h1 {
  color: #454546;
}
h2 {
  color: #454546;
}
p {
  color: #454546;
}

.portfolio-container span:nth-child(1) {
  font-size: 20px;
}

.loader {
  display: flex;
  width: 100%;
  height: 100vh;
  background-color: #ffffffe6;
  position: fixed;
  z-index: 90;
  color: #454546;
  font-family: "TGRoman";
  justify-content: center;
  align-items: center;
}

/* Estilo para el cuerpo de la página */

html {
  scroll-behavior: smooth;
}

body {
  font-family: "TGRoman", "Times New Roman", serif;
  -webkit-font-smoothing: antialiased; /* Prefijo -webkit- para Safari */
}

h1 {
  font-weight: 300 !important;
}

h2 {
  font-weight: 300 !important;
}

label {
  font-weight: 300 !important;
}

a {
  font-weight: 300 !important;
}

p {
  font-family: "Thasadith", sans-serif;
  font-weight: 300;
}

.navTop {
  display: flex;
  width: 100%;
  align-items: center;
  flex-direction: column;
  position: fixed;
  top: 0;
  z-index: 99;
  background-color: white;
  box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.1);
}

.language {
  display: flex;
  width: 100%;
  height: 50px;
  justify-content: center;
  align-items: center;
}

.language-container {
  width: 90%;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.language-container a {
  color: #454546;
  font-size: 12px;
  padding-left: 5px;
  padding-right: 5px;
}

.container-brand {
  width: 90%;
  /* margin-top: 5px; */
  margin-bottom: 5px;
}

.img-brand {
  background-image: url("../images/brand-desktop.svg"); /* Carga la imagen para pantallas de ancho mayor a 425px */
  background-size: contain;
  background-repeat: no-repeat;
  width: 520px; /* Ajusta el ancho y alto según tus necesidades */
  height: 50px;
}

.navigation {
  width: 100%;
  display: flex;
  justify-content: center;
  margin-bottom: 10px;
}

.navigation-container {
  width: 90%;
}

.navigation-container a {
  color: #454546;
  font-size: 20px;
  margin-right: 60px;
  text-decoration: none;
}

.bannerHome {
  position: relative;
  width: 100%;
  overflow: hidden; /* Añade un desbordamiento oculto */
  height: 100vh; /* Establece la altura deseada para la sección */
  margin-top: 125px;
}

.slider {
  display: flex;
  width: 600%; /* Ancho total = 3 veces el ancho de una diapositiva */
  height: 100%;
  transition: transform 0.5s; /* Añade una transición suave */
}

.bannerImg1,
.bannerImg2,
.bannerImg3,
.bannerImg4,
.bannerImg5,
.bannerImg6 {
  flex: 1;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.bannerImg1 {
  background-image: url("../images/bg_Home_large1.jpg");
}

.bannerImg2 {
  background-image: url("../images/bg_Home_large2.jpg");
}

.bannerImg3 {
  background-image: url("../images/bg_Home_large3.jpg");
}

.bannerImg4 {
  background-image: url("../images/bg_Home_large4.jpg");
}

.bannerImg5 {
  background-image: url("../images/bg_Home_large5.jpg");
}

.bannerImg6 {
  background-image: url("../images/bg_Home_large6.jpg");
}

.controlsBanner {
  /* display: flex; */
  display: none;
  justify-content: center;
  position: absolute;
  top: 550px;
  width: 100%;
}

.containerControls {
  width: 90%;
  display: flex;
  justify-content: space-between;
}

.arrowLeft,
.arrowRight {
  width: 30px;
  height: 30px;
  background-repeat: no-repeat;
  background-position: center;
  cursor: pointer;
}

.arrowLeft {
  background-image: url("../images/arrow_left.svg");
}

.arrowRight {
  background-image: url("../images/arrow_right.svg");
}

.portfolio {
  width: 100%;
  display: flex;
  justify-content: center;
  padding: 60px 0px 60px 0px;
  position: relative;
}

.portfolio-container {
  width: 80%;
}

.portfolio-container h1 {
  font-size: 1.7em;
  margin-bottom: 0;
  font-family: "TGRoman", "Times New Roman", serif;
}

.content-category {
  display: flex;
  justify-content: center;
  position: relative;
  margin-top: 60px;
}

.content-category h2 {
  position: absolute;
  bottom: 10px;
  left: 0;
  font-size: 1.5em;
}

.container-columns {
  display: flex;
  flex-direction: row;
}

.portfolio-col-left {
  width: 49.999%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.portfolio-col-left img {
  width: 90%;
  cursor: pointer;
}

.portfolio-col-right {
  width: 49.999%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.portfolio-col-right img {
  width: 90%;
  cursor: pointer;
}

.portfolio-col-right p {
  font-family: Thasadith;
  font-size: 1em;
  line-height: 3em;
  margin: 0;
  font-weight: 700;
  width: 90%;
}

.about {
  width: 100%;
  display: flex;
  justify-content: center;
  padding: 60px 0px 60px 0px;
  background-color: #faf9f7;
  position: relative;
}

.about-container {
  width: 80%;
}

.about-container h1 {
  font-size: 1.7em;
  margin-bottom: 0;
  font-family: "TGRoman", "Times New Roman", serif;
}

.about-container-columns {
  display: flex;
  flex-direction: row;
}

.about-col-left {
  width: 49.999%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.about-col-left img {
  width: 90%;
}

.about-col-right {
  width: 49.999%;
  display: flex;
  flex-direction: column;
}

.about-col-right p {
  font-family: Thasadith;
  font-weight: 700;
  font-size: 1.1em;
  line-height: 3em;
  margin: 0;
}

.contacto {
  width: 100%;
  display: flex;
  justify-content: center;
  padding: 60px 0px 60px 0px;
  position: relative;
}

.contacto-container h1 {
  font-size: 1.7em;
  margin-bottom: 0;
  font-family: "TGRoman", "Times New Roman", serif;
}

.contacto-container {
  width: 80%;
}

.spinner {
  color: #454546;
}
.spinner::after {
  content: "";
  display: inline-block;
  width: 16px;
  height: 16px;
  border: 2px solid #454546;
  border-top: 2px solid transparent;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.container-form {
  display: flex;
  width: 100%;
  margin-top: 40px;
  justify-content: center;
}

.contacto-container form {
  display: flex;
  flex-direction: column;
  width: 400px;
}

.btn-form button {
  width: 100%;
  background-color: #454546;
  color: white;
  font-family: "TGRoman", "Times New Roman", serif;
  padding: 12px;
  font-size: 16px;
  border: none;
  cursor: pointer;
}

form input {
  font-family: "Thasadith", sans-serif;
  border: none;
  border-bottom: 1px solid;
  margin: 10px 0px 10px 0px;
  font-family: Thasadith;
  font-weight: 700;
}

form input:focus {
  outline: none;
}

input:-internal-autofill-selected {
  background-color: white !important;
}

form textarea {
  border: none;
  border-bottom: 1px solid;
  margin: 10px 0px 10px 0px;
  height: 60px;
  font-family: Thasadith;
  font-weight: 700;
}

form textarea:focus {
  outline: none;
}

form label {
  font-family: Thasadith;
  font-size: 16px;
  font-weight: 700;
}

.mail-form {
  width: 100%;
  margin-top: 60px;
  margin-bottom: 60px;
}

.mail-form-container a {
  font-family: Thasadith;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  color: #454546;
}

.response {
  display: flex;
  justify-content: center;
  width: 100%;
  height: 300px;
  align-items: center;
}

.response-contianer {
  width: 80%;
}

.response-container p {
  font-size: 20px;
  text-align: center;
  line-height: 30px;
}

.footer {
  width: 100%;
  display: flex;
  background-color: #454546;
  justify-content: center;
  padding-top: 40px;
  padding-bottom: 40px;
}

.footer-container {
  width: 90%;
}

.footer-container p {
  color: white;
  font-family: Thasadith;
  font-size: 15px;
  font-weight: 500;
  text-align: center;
}

.anchor {
  position: absolute;
  margin-top: -170px;
}

.anchor-portfolio {
  position: absolute;
  margin-top: -120px;
}

/* Estilo para la ventana emergente de pantalla completa */
.fullscreen-image {
  flex-direction: column;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #fffffff7;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 999;
}

.fullscreen-image p {
  font-family: Thasadith;
  font-size: 16px;
  font-weight: 500;
  margin: 0;
}

.closeBtn {
  width: 85%;
  display: flex;
  justify-content: flex-end;
  cursor: pointer;
  font-family: Thasadith;
  font-weight: 500;
  font-size: 14px;
  margin-bottom: 5px;
}

/* Estilo para la imagen en pantalla completa */
.fullscreen-image img {
  max-width: 90%;
  max-height: 90%;
  cursor: pointer;
}

.content-imgFull {
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100vh;
  justify-content: center;
}

.content-imgInfo {
  width: 85%;
  float: left;
  margin-top: 10px;
}

/* Corte dispositivos */

@media only screen and (max-width: 1440px) {
  .about-col-right p {
    line-height: 2.4em;
  }
}

@media only screen and (max-width: 1024px) {
  .about-col-right p {
    line-height: 2.8em;
    font-size: 1em;
  }
}

@media only screen and (max-width: 768px) {
  .img-brand {
    width: 410px;
  }
  .navigation-container a {
    margin-right: 35px;
  }

  .content-category {
    margin-top: 35px;
  }

  .portfolio-col-right p {
    line-height: 1.9em;
  }

  .about-col-right p {
    line-height: 1.9em;
    font-size: 0.8em;
  }

  .about-container-columns {
    flex-direction: flex;
  }

  .about-col-left {
    width: 99%;
  }

  .about-col-right {
    width: 90%;
  }

  .content-imgFull {
    width: 100%;
  }
}

@media only screen and (max-width: 430px) {

  .about-col-right p {
    line-height: 1.9em;
    font-size: 0.6em;
  }

  .portfolio-container span:nth-child(1) {
    font-size: 20px;
  }

  .bannerHome {
    margin-top: 120px;
  }

  h1 {
    font-size: 1.4em !important;
  }

  .navigation {
    width: 50%;
    flex-direction: column;
    position: absolute;
    margin-top: 15px;
    left: 0;
  }

  .navigation-container {
    background-color: white;
    display: none;
    flex-direction: column;
    width: 100%;
    height: 150px;
    padding-left: 20px;
    justify-content: space-between;
    display: flex;
    margin-top: 81px;
    padding-top: 10px;
    padding-bottom: 10px;
  }

  .navigation-container a {
    margin-right: 35px;
  }

  .container-brand {
    margin-top: -20px;
    margin-bottom: 0px;
  }

  .img-brand {
    width: 100%;
    height: 90px;
    background-image: url(../images/brand-desktop.svg);
    background-position: center;
    background-size: 90%;
  }

  .menu {
    display: flex;
    width: 20px;
    height: 15px;
    padding-left: 40px;
    margin-bottom: 10px;
    background-image: url(../images/menu.svg);
    background-position: center;
    background-repeat: no-repeat;
  }

  .content-category h2 {
    font-size: 1em;
  }

  .content-category {
    margin-top: 20px;
  }

  .about-container-columns {
    flex-direction: column;
    align-items: center;
  }

  .about-col-left {
    width: 99%;
  }

  .about-col-right {
    width: 99%;
    margin-top: 40px;
  }

  .mail-form {
    display: flex;
    justify-content: center;
  }

  .anchor {
    margin-top: -145px;
  }

  .anchor-portfolio {
    margin-top: -90px;
  }

  .bannerHome {
    height: 400px; /* Establece la altura deseada para la sección */
  }

  .controlsBanner {
    top: 300px;
  }
}

@media only screen and (max-width: 375px) {
  .content-category h2 {
    left: -1px;
  }

  h1 {
    font-size: 1.4em !important;
    font-weight: 300;
  }
}

@media only screen and (max-width: 320px) {
  .about-col-right p {
    font-size: 0.6em;
  }

  .portfolio-container span:nth-child(1) {
    font-size: 16px;
  }
}


/* SEO + accesibilidad */
.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.artist-bio {
  margin-top: 18px;
}
