/*
 Theme Name:   bootScore Child
 Description:  bootScore Child Theme
 Author:       bootScore
 Author URI:   https://bootscore.me
 Template:     bootscore-main
 Version:      5.3.0
 Text Domain:  bootscore
*/

/* 
All style editing is done via scss/_bscore_custom.scss
*/

/*--Generales--*/

:root {
  --tp-primary: #e44d00;
  --tp-light: #fde6dd;
  --tp-light-primary: #f08a5d;
  --tp-dark-primary: #8b5a2b;
  --tp-light-gray: #c48a3f;
  --light-gray: #754c29;
  --tp-green: #2e8b57;
}

@font-face {
  font-family: "avenir";
  src: url("fonts/avenir-regular.ttf");
  font-weight: normal;
  font-display: swap;
}
@font-face {
  font-family: "avenir black";
  src: url("fonts/avenir-black.ttf");
  font-weight: normal;
  font-display: swap;
}

body {
  font-family: "avenir", sans-serif;
  color: var(--light-gray);
}

.lead {
  font-size: 1.75rem;
  line-height: 2rem;
}

h1,
h2,
h3,
h4 {
  text-transform: uppercase;
  font-family: "avenir black", sans-serif;
}

strong {
  font-family: "avenir black", sans-serif;
}

.h1 {
  font-size: 3rem;
  margin-bottom: 2rem;
}
p {
  line-height: 2rem;
  font-size: 1.2rem;
  padding-bottom: 2rem;
  /* text-indent: 2rem; */
  text-align: justify;
}

a {
  color: var(--tp-green);
  text-decoration: none;
}

hr.hr {
  background-color: var(--tp-dark-primary);
  height: 4px;
  max-width: 5rem;
  margin: 2rem 0;
  opacity: 1;
  border-top: 0;
}

figure {
  position: relative;
}

figure::after {
  position: absolute;
  content: "";
  width: 100%;
  height: 100%;
  border: 3px solid var(--tp-primary);
  left: 2rem;
  top: 2rem;
}

/*Botónes*/
.btn {
  border-radius: 0;
}

.btn-primary {
  background-color: var(--tp-primary);
  border-color: var(--tp-primary);
  text-transform: uppercase;
}

.btn-primary:hover {
  background-color: var(--tp-light-primary);
  border-color: var(--tp-light-primary);
}

.btn-primary.active {
  background-color: var(--tp-dark-primary);
  border-color: var(--tp-dark-primary);
}

/*--Header--*/
header#masthead > div {
  background-color: white;
  border-bottom: 2px solid var(--tp-primary);
}

header#masthead .navbar-brand {
  font-weight: 600;
  color: var(--tp-green);
}

header#masthead .navbar-brand img {
  max-width: 10rem;
}

header#masthead .nav-link {
  text-transform: uppercase;
  position: relative;
}

header#masthead .nav-link::before {
  position: absolute;
  height: 2px;
  background-color: var(--tp-primary);
  left: 0;
  transition: 0.5s;
  content: "";
  bottom: 0;
  width: 0;
}

header#masthead .nav-link:hover::before {
  width: 100%;
}

/*--Home--*/
.home-hero {
  background: url("./img/hero-bg.jpg") center/cover no-repeat;
  height: 50vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
}

.home-nosotros {
  padding-top: 15rem;
  padding-bottom: 5rem;
  min-height: 75vh;
  background-attachment: fixed;
  background-repeat: no-repeat;
  background-size: cover;
}

#textnosotros {
  background: #fffc;
  padding: 2rem;
}

.home-valores {
  background-color: var(--tp-light);
}

.home-cta {
  background: url("./img/cta-bg.jpg") center/cover no-repeat;
  height: 50vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;

  position: relative;
}

.home-cta > * {
  z-index: 2;
}

.home-cta:before {
  inset: 0;
  position: absolute;
  content: "";
  background: rgba(0, 0, 0, 0.5);
  z-index: 1;
}

/* Sobre nosotros */
.history-section {
  background-color: var(--tp-light);
  padding: 60px 0;
}

.history-section h2 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
}

.history-section p {
  font-size: 1.1rem;
  line-height: 1.6;
  color: var(--light-gray);
}

.history-section figure {
  text-align: center;
}
.history-section figure:after {
  width: 75%;
  height: 75%;
}

.history-section img {
  width: 100%;
  max-width: 50vh;
}

/*--Páginas--*/
.page-header {
  padding-top: 8rem;
  padding-bottom: 5rem;
}

/*-Contacto-*/
.form-wrapper {
  padding: 1rem;
  background: var(--tp-light);
  position: relative;
  z-index: 0;
}

.field-wrap input[type="submit"] {
  background-color: var(--tp-primary);
  border: 1px solid var(--tp-primary);
  color: white;
  padding: 0.5rem 1rem;
  text-transform: uppercase;
}

/*--Footer--*/
.legal-links {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  padding-top: 2rem;
  padding-bottom: 2rem;
  text-align: center;
  background-color: var(--tp-light);
}

.legal-links a {
  text-decoration: none;
  color: var(--tp-dark-primary);
}

/*===== MQ =====*/

@media (min-width: 576px) {
  .gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: minmax(20rem, 30vw);
    grid-gap: 1.5rem;
  }
}

@media (min-width: 768px) {
}

@media (min-width: 992px) {
  /*--Galería--*/

  .gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: minmax(25rem, 30vw);
    grid-gap: 1rem;
  }

  .gallery__item:nth-child(7n),
  .gallery__item:nth-child(7n + 4) {
    grid-column-end: span 2;
    grid-row-end: span 1;
  }
}

@media (min-width: 1200px) {
}
