/*---------------------------------------
  Tooplate 2119 Gymso Fitness
  https://www.tooplate.com/view/2119-gymso-fitness
----------------------------------------*/

/*---------------------------------------
  0. FUENTES PERSONALIZADAS
----------------------------------------*/
@font-face {
  font-family: 'Plain';
  src: url('../fonts/Plain-Regular.woff2') format('woff2'),
       url('../fonts/Plain-Regular.woff') format('woff');
  font-weight: normal;
}

@font-face {
  font-family: 'Plain';
  src: url('../fonts/Plain-Light.woff2') format('woff2'),
       url('../fonts/Plain-Light.woff') format('woff');
  font-weight: 300;
}

@font-face {
  font-family: 'Plain';
  src: url('../fonts/Plain-Bold.woff2') format('woff2'),
       url('../fonts/Plain-Bold.woff') format('woff');
  font-weight: bold;
}

/*---------------------------------------
  1. VARIABLES CSS
----------------------------------------*/
:root {
  --primary-color: #f13a11;
  --white-color: #ffffff;
  --dark-color: #171819;
  --about-bg-color: #f9f9f9;
  --gray-color: #909090;
  --link-color: #404040;
  --p-color: #666262;

  --base-font-family: 'Plain', sans-serif;
  --font-weight-bold: bold;
  --font-weight-normal: normal;
  --font-weight-light: 300;
  --font-weight-thin: 100;

  --h1-font-size: 48px;
  --h2-font-size: 36px;
  --h3-font-size: 28px;
  --h4-font-size: 24px;
  --h5-font-size: 22px;
  --h6-font-size: 22px;
  --p-font-size: 18px;
  --base-font-size: 16px;
  --menu-font-size: 14px;

  --border-radius-large: 100%;
  --border-radius-small: 2px;
}

/*---------------------------------------
  2. RESET & BASE
----------------------------------------*/
*, *::before, *::after {
  box-sizing: border-box;
}

body {
  background: var(--white-color);
  font-family: var(--base-font-family);
  margin: 0;
  padding: 0;
}

a {
  color: var(--link-color);
  text-decoration: none;
  transition: all 0.3s ease;
}
a:hover, a:focus {
  color: var(--primary-color);
}

/*---------------------------------------
  3. TIPOGRAFÍA
----------------------------------------*/
h1, h2, h3, h4, h5, h6 {
  font-weight: var(--font-weight-thin);
  line-height: normal;
}

h1 {
  font-size: var(--h1-font-size);
  font-weight: var(--font-weight-bold);
  letter-spacing: -1px;
  text-transform: uppercase;
  margin: 20px 0;
}

h2 {
  font-size: var(--h2-font-size);
  font-weight: var(--font-weight-bold);
  letter-spacing: -2px;
}

h3 {
  font-size: var(--h3-font-size);
  font-weight: var(--font-weight-bold);
  letter-spacing: -1px;
  margin: 0;
}

h4 { font-size: var(--h4-font-size); }
h5 { font-size: var(--h5-font-size); }
h6 {
  color: var(--gray-color);
  font-size: var(--h6-font-size);
  margin: 0;
}

p {
  color: var(--p-color);
  font-size: var(--p-font-size);
  font-weight: var(--font-weight-light);
  line-height: 1.5em;
}

b, strong {
  font-weight: var(--font-weight-bold);
}

/*---------------------------------------
  4. BOTONES
----------------------------------------*/
.custom-btn {
  background: transparent;
  border-radius: var(--border-radius-small);
  padding: 14px 24px;
  color: var(--white-color);
  font-size: var(--menu-font-size);
  font-weight: var(--font-weight-normal);
  text-transform: uppercase;
  transition: all 0.3s ease;
}

.custom-btn:hover {
  color: var(--primary-color);
}

.custom-btn:focus {
  box-shadow: none;
}

.bordered {
  border: 1px solid var(--primary-color);
  color: var(--primary-color);
}

.bg-color {
  background: var(--primary-color);
  color: var(--white-color);
}

.bordered:hover,
.bg-color:hover {
  background: var(--white-color);
  color: var(--primary-color);
}

/*---------------------------------------
  5. SECCIONES GENERALES
----------------------------------------*/
.section {
  padding: 7rem 0;
}

.bg-overlay {
  background: var(--dark-color);
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.85;
}

/*---------------------------------------
  6. NAVEGACIÓN
----------------------------------------*/
.navbar {
  background: var(--dark-color);
  padding: 1rem;
}

.navbar-brand {
  color: var(--white-color);
  font-size: var(--h3-font-size);
  font-weight: var(--font-weight-bold);
}

.navbar-expand-lg .navbar-nav .nav-link {
  padding: 0 1.5rem;
}

.nav-item .nav-link {
  color: var(--white-color);
  font-size: var(--menu-font-size);
  text-transform: uppercase;
  padding: 2px 6px;
}

.nav-item .nav-link.active,
.nav-item .nav-link:hover {
  color: var(--primary-color);
}

/* Toggler */
.navbar-toggler {
  border: none;
  width: 30px;
  height: 35px;
  cursor: pointer;
  background: none;
}

.navbar-toggler-icon {
  background: var(--primary-color);
  width: 30px;
  height: 2px;
  display: block;
  position: relative;
}

.navbar-toggler-icon::before,
.navbar-toggler-icon::after {
  content: '';
  background: var(--primary-color);
  width: 30px;
  height: 2px;
  position: absolute;
  left: 0;
  transition: top 300ms, transform 300ms;
}

.navbar-toggler-icon::before {
  top: -8px;
}
.navbar-toggler-icon::after {
  top: 8px;
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon {
  background: transparent;
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon::before {
  transform: rotate(45deg);
  top: 0;
}
.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon::after {
  transform: rotate(-45deg);
  top: 0;
}

/*---------------------------------------
  7. HERO
----------------------------------------*/
.hero {
  background: url('../images/hero-bg.jpg') no-repeat top;
  background-size: cover;
  min-height: 100vh;
  position: relative;
}

/*---------------------------------------
  8. CLASES
----------------------------------------*/
.class-info {
  background: var(--white-color);
  padding: 1rem 2rem;
  box-shadow: 6px 0 38px rgba(20,20,20,0.10);
  border-radius: 0 0 var(--border-radius-small) var(--border-radius-small);
  position: relative;
}

.class-info img {
  border-radius: var(--border-radius-small) var(--border-radius-small) 0 0;
}

.class-price {
  background: var(--primary-color);
  color: var(--white-color);
  border-radius: var(--border-radius-large);
  font-weight: var(--font-weight-bold);
  position: absolute;
  top: 2rem;
  right: 2rem;
  width: 3.5rem;
  height: 3.5rem;
  line-height: 3.5rem;
  text-align: center;
}

/*---------------------------------------
  9. HORARIOS
----------------------------------------*/
.schedule {
  background: var(--dark-color);
}

.schedule-table {
  display: table;
  width: 100%;
  text-align: center;
}

.schedule-table th,
.schedule-table td:first-child {
  background: var(--primary-color);
  color: var(--white-color);
  border: 1px solid #212122;
}

.schedule-table th {
  text-transform: uppercase;
}

.schedule-table td {
  padding: 1rem;
  border: 1px solid #212122;
}

.schedule-table span {
  color: var(--gray-color);
  font-size: var(--menu-font-size);
  text-transform: uppercase;
}

/*---------------------------------------
  10. SOBRE NOSOTROS / EQUIPO
----------------------------------------*/
.about {
  background: var(--about-bg-color);
}

.about-working-hours {
  border-left: 2px solid;
  padding-left: 3.5rem;
}

.team-info {
  background: var(--white-color);
  box-shadow: 6px 0 38px rgba(20,20,20,0.10);
  padding: 20px;
  position: relative;
}

.team-info span {
  font-weight: var(--font-weight-light);
  opacity: 0.85;
}

.team-info .social-icon {
  position: absolute;
  top: 10px;
  right: 20px;
}

/*---------------------------------------
  11. FORMULARIO / CONTACTO
----------------------------------------*/
.webform input,
button#submit-button {
  height: calc(2.25rem + 20px);
}

.form-control {
  margin: 1.3rem 0;
  border-radius: var(--border-radius-small);
}

.form-control:focus {
  border-color: var(--dark-color);
  box-shadow: none;
}

button#submit-button {
  background: var(--dark-color);
  color: var(--white-color);
  cursor: pointer;
  transition: all 0.3s ease;
}

button#submit-button:hover {
  background: var(--primary-color);
}

/*---------------------------------------
  12. MAPA
----------------------------------------*/
.google-map {
  border-top: 1px solid #efebeb;
  padding-top: 2.5rem;
  margin-top: 2.5rem;
}

.google-map iframe {
  width: 100%;
}

/*---------------------------------------
  13. PIE DE PÁGINA
----------------------------------------*/
.site-footer {
  border-top: 1px solid #efebeb;
  padding: 3rem 0;
}

.site-footer a {
  color: var(--p-color);
  font-weight: var(--font-weight-light);
}

.site-footer p {
  font-size: var(--base-font-size);
}

/*---------------------------------------
  14. ICONOS SOCIALES
----------------------------------------*/
.social-icon {
  padding: 0;
  margin: 5px 0 0;
}

.social-icon li {
  display: inline-block;
  list-style: none;
}

.social-icon li a {
  color: var(--p-color);
  font-size: var(--p-font-size);
  font-weight: var(--font-weight-bold);
  margin: 5px 10px;
  text-align: center;
  display: inline-block;
}

.social-icon li a:hover {
  color: var(--primary-color);
}

/*---------------------------------------
  15. RESPONSIVE
----------------------------------------*/
@media screen and (max-width: 992px) {
  .section {
    padding: 5rem 0;
  }

  .nav-item .nav-link {
    padding: 6px;
  }

  .navbar .social-icon {
    margin-top: 22px;
  }

  .navbar-collapse,
  .site-footer {
    text-align: center;
  }

  .schedule-table {
    display: block;
  }

  .modal-content {
    padding: 2rem;
  }
}

@media screen and (max-width: 767px) {
  h1 {
    font-size: 38px;
  }

  .about-working-hours {
    border-left: 0;
    padding-top: 22px;
  }

  .contact h2 span {
    display: block;
  }
}

