/**
 *
 * Theme Name: TEDx FECAP
 * Theme URL: https://www.fecap.br/tedxfecap
 * Description: Tema para TEDx FECAP
 * Version: 1.0
 * Author: Jonas Souza
 * Author URI: https://github.com/jonasmzsouza/
 *
 */

/*****************************
 *  ESTILOS GLOBAIS
 ******************************/
@import url('https://fonts.googleapis.com/css2?family=Permanent+Marker&family=Stack+Sans+Text:wght@200..700&family=TASA+Explorer:wght@400..800&display=swap');

:root {
  --color-spanish-red: #eb0028;
  --color-apple-red: #d70528;
  --color-white: #ffffff;
  --color-dark-silver: #6f6f6f;
  --color-black: #000000;
}

* {
  margin: 0;
  padding: 0;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  list-style: none;
  text-decoration: none;
  outline: none;
  border: none;
}

html {
  scroll-behavior: auto !important;
}

body {
  font-family: "Stack Sans Text", sans-serif;
  font-optical-sizing: auto;
  font-weight: 500;
  font-style: normal;
  background-color: #0e0e0e;
  color: var(--color-white);
}

h2 {
  margin-bottom: 20px;
  font-size: 2rem;
  font-weight: 900;
  line-height: 1;
}

h2 span {
  color: var(--color-spanish-red);
}

p {
  line-height: 1.5;
}

sup {
  vertical-align: baseline;
  font-size: smaller
}

/*****************************
 *  SCROLLBAR
 ******************************/
::-webkit-scrollbar-track,
::-webkit-scrollbar {
  width: 8px !important;
  background-color: var(--color-black);
}

::-webkit-scrollbar-thumb {
  background-color: var(--color-spanish-red);
}

::-webkit-scrollbar-thumb:hover {
  background-color: var(--color-apple-red);
}

/*****************************
 *  HEADER
 ******************************/
header .navbar,
header .navbar>.container,
header .navbar-brand {
  min-height: 90px;
}

header .navbar {
  padding: 0;
  -webkit-transition: all 0.5s;
  -o-transition: all 0.5s;
  transition: all 0.5s;
}

header .navbar-brand {
  width: 150px;
  display: flex;
  align-items: center;
}

header .navbar-brand svg {
  height: 100%;
}

header .navbar-brand svg .s1 {
  fill: var(--color-spanish-red);
}

header .navbar-brand svg .s2 {
  fill: var(--color-white);
}

header .navbar-toggler:focus {
  box-shadow: none;
}

header .navbar-nav {
  margin-bottom: 1rem;
}

header .navbar .nav-item {
  display: flex;
  align-items: center;
}

header .navbar .nav-link {
  height: 100%;
  padding: 0.5rem 0.25rem;
  color: var(--color-white);
  font-weight: 700;
}

header .navbar .nav-link:hover,
header .navbar .nav-link:focus {
  color: var(--color-spanish-red);
  box-shadow: inset 0 -3px 0 0 var(--color-spanish-red);
  font-weight: 700
}

header .navbar-toggler {
  color: var(--color-spanish-red);
  border-color: var(--color-spanish-red);
}

header .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3e%3cpath stroke='rgba(235, 0, 40)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/*****************************
 *  HERO
 ******************************/
.hero {
  min-height: 70vh;
  position: relative;
  background-image: url('../img/banner-mobile-tedx-fecap.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: var(--color-white);
  overflow: hidden;
}

.triangle-ribbon {
  position: absolute;
  padding: 0;
  bottom: 0;
  right: 0;
  width: 0;
  height: 0;
  border-left: 150px solid transparent;
  border-bottom: 150px solid var(--color-apple-red);
  z-index: 10;
}

.triangle-ribbon span {
  position: absolute;
  color: #fff;
  font-weight: bold;
  height: 180px;
  font-size: clamp(12px, 3vw, 18px);
  text-align: center;
  transform: rotate(-45deg);
  top: 10px;
  right: 15px;
  display: flex;
  align-items: center;
}


/*****************************
 *  SECTION
 ******************************/
.tedx-section {
  padding: 2rem;
  color: var(--color-white);
  position: relative;
}

.tedx-section.bg-light h2,
.tedx-section p b {
  color: var(--color-spanish-red);
}

/*****************************
 *  ELEMENTS
 ******************************/
.element-container {
  margin: auto;
  position: absolute;
  opacity: 0.1;
  z-index: -1;
}

.element-container svg {
  width: 400px;
  max-width: 100%;
  height: auto;
}

.left {
  left: 10%;
}

.right {
  right: 10%;
}

/*****************************
 *  SPEAKERS
 ******************************/
.speaker-card {
  border: 0;
  background: transparent;
  text-align: left;
}

.speaker-card .card-img-top {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: 0;
}

.speaker-info {
  padding: .75rem 0.5rem;
}

.speaker-info h3 {
  font-size: 1.5rem;
  font-weight: 900;
  margin-bottom: .25rem;
}

.speaker-title {
  color: var(--color-dark-silver);
  font-size: 0.85em;
  font-weight: 700;
  margin-bottom: .25rem;
}

.speaker-lecture {
  font-family: "Permanent Marker", cursive;
  font-size: 1.4rem;
  font-weight: 500;
  color: var(--color-spanish-red);
  line-height: 1;
}

/*****************************
 *  ORGANIZADORES
 ******************************/
.organizadores {
  padding: 3rem 0;
}

.organizadores h2 {
  color: var(--color-spanish-red);
}

/*****************************
 *  FOOTER
 ******************************/
.logo {
  max-width: 140px;
}

.address {
  font-size: .95rem;
  font-weight: 300;
}

/*****************************
 *  MEDIA QUERIES
 ******************************/
@media (min-width: 400px) {
  .triangle-ribbon {
    border-left: 220px solid transparent;
    border-bottom: 220px solid var(--color-apple-red);
  }

  .triangle-ribbon span {
    top: 55px;
    right: 10px;
  }
}

@media (min-width: 768px) {
  header .navbar-collapse {
    margin-top: 0;
  }

  header .navbar-brand {
    width: 200px;
  }

  .hero {
    background-image: url('../img/banner-desktop-tedx-fecap.jpg');
    min-height: 80vh;
  }

  .tedx-section {
    padding: 6rem 2rem;
  }

  .speaker-card .card-img-top {
    height: 400px;
  }

  .address {
    text-align: left;
  }
}

@media (min-width: 992px) {
  header .navbar-nav {
    margin: 0;
  }

  header .navbar .nav-link {
    padding: 0.7em 1rem !important;
  }
}