/*
=======================================
Table Cards
From: https://uiverse.io/satyamchaudharydev/tender-robin-90
=======================================
*/

.card {
    width: max-content;
    text-align: center;
    padding: 1.5em;
    padding-block: 1.8em;
    border-radius: 5px;
    position: relative;
    overflow: hidden;
    transition:
      0.3s cubic-bezier(0.6, 0.4, 0, 1),
      transform 0.15s ease;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1em;
    color: black;
    cursor:default;
    flex-grow: 2;
  }
  
  .card-body {
    color: var(--clrAccentText);
    opacity: 0;
    font-size: 10pt;
    max-width: 23ch;
  }
  
  .card > :not(span) {
    transition: 0.3s cubic-bezier(0.6, 0.4, 0, 1);
  }
  
  .card > .card-title {
    color: var(--clrText);
    max-width: 23ch;
  }

  .card > .card-dub {
    color: var(--clrText);
    font-size: 10pt;
    max-width: 23ch;
  }

  .card > .card-name {
    text-transform: uppercase;
  }
  
  .card .card-name {
    font-family: 'Montserrat', sans-serif;
    position: absolute;
    background-image: url("/assets/images/bright-squares.png");
    inset: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--hover-text);
    border-radius: 5px;
    font-weight: bold;
    opacity: 100%;
    transition: all 0.5s cubic-bezier(0.6, 0.4, 0, 1);
    padding: 1rem;
  }
  
  .card:hover .card-name {
    /* left: -100%; */
    opacity: 0;
    font-size: 1.2em;
  }

  .card:hover span[class="card-name isBG-redLight"] {
    opacity: 0;
    font-size: 1.2em;
    display: none;
  }
  
  .card:hover > div,
  .card:hover > p {
    opacity: 100%;
  }
  

/*
=======================================
Burg Nav
From: MT-CON
=======================================
*/

.burg-nav {
  display: none;
  width: 100%;
  position: absolute;
  place-content: center;
}

.burg-nav-fixed {
  display: none;
  flex-direction: column;
  width: 100%;
  margin-inline: auto;
  text-align: center;
  padding: 1rem;
  background-image: linear-gradient(to right, var(--clrOrangeLight), var(--clrBlueLight), var(--clrGreenLight), var(--clrYellowLight), var(--clrRedLight));
}

.burg-nav-fixed__list {
  display: flex;
  flex-direction: column;
}

.burg-nav__btn {
  list-style: none;
  display: grid;
  justify-content: space-around;
}

.burg-nav__ul {
  list-style-type: none;
  display: flex;
  flex-direction: column;
  width: 100%;
}

.burg-nav__line--menu {
  color: var(--clrText);
  font-family: var(--fntOther);
  font-weight: bold;
  font-size: 9pt;
}

.burg-nav__line {
  display: inline-block;
  background-color: var(--clrText);
  opacity: 0.75;
  height: 0.25rem;
  min-width: calc(100vw/15);
  margin: 0.25rem;
  transition: all 250ms ease-in-out;
  box-shadow: black 0px 0px 2.25rem;
  border-radius: 1rem;
}

.burg-nav__ul {
  list-style-type: none;
  display: flex;
  flex-direction: column;
  width: 100%;
}

.burg-nav__list {
  position: absolute;
  min-width: max-content;
  max-height: 80vh;
  padding: 2rem;
  right: 0;
  top: 5rem;


  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-items: space-around;
  gap: 1rem;

  position: absolute;
  top: 7.5rem;
  left: -10;
  max-width: 18rem;
  height: 100vh;
  opacity: 1;

  background-image: url("/assets/images/header-bg.svg");
  filter: drop-shadow(0 0.2rem 0.25rem rgba(0, 0, 0, 0.2));
  box-shadow: black -3px 10px 3rem;

  transition: all 250ms ease-in-out;

  border-radius: 1rem;
}

.burg-nav__section {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.burg-nav__sub-menu {
    margin-top: 1rem;
    margin-left: 1rem;
    
    display: flex;
    flex-direction: column;
    align-items: start;

    row-gap: 0.5rem;
    border-left: 1px solid var(--clrBorder);
    padding-left: 1rem;
    font-size: 5pt;
}

.burg-nav__item {
    text-decoration: none;
    font-family: 'Montserrat', sans-serif;
    font-weight: bold;
    color: var(--clrText);
    transition: all 250ms ease-in-out;
    cursor:pointer;
    font-size: 1.15rem;
    text-align: start;
}

.burg-nav-fixed__item {
    text-decoration: none;
    font-family: 'Montserrat', sans-serif;
    font-weight: bold;
    color: var(--clrText);
    transition: all 250ms ease-in-out;
    cursor:pointer;
    font-size: 1.15rem;
    text-align: start;

    font-size: 1.15rem;
    text-align: center;
    margin: 0.5rem;
}

.burg-nav__item:hover {
    color: white;
    text-shadow: rgba(255,255,255,0.57) 0px 0px 14px;
}

.burg-nav__sub-menu > .burg-nav__item {
  font-size: 1.12rem;
}

.burg-nav-box {
  display: none;
  max-width: 100%;
  gap: 1rem;
  place-content: center;
}

.burg-nav-box > p {
  place-self: center;
}

.burg-nav-box > .burg-nav__btn {
  max-height: 2rem;
}

.burg-nav[open] .burg-nav__line:nth-of-type(1),
.burg-nav-fixed[open] .burg-nav__line:nth-of-type(1) {
    rotate: -50deg;
    transform: translateX(-1rem);
}

.burg-nav[open] .burg-nav__line:nth-of-type(2),
.burg-nav-fixed[open] .burg-nav__line:nth-of-type(2) {
    rotate: 60deg;
    transform: translate(-0.5rem, 0.5rem);
}

.burg-nav[open] .burg-nav__line:nth-of-type(3),
.burg-nav-fixed[open] .burg-nav__line:nth-of-type(3) {
    opacity: 0;
}


@media (max-width: 940px) {
  .burg-nav {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    height: 50%;
    width: 20%;
    top: 25%;
    right: 0;
    z-index: 1000;

    transform: translate (0, -23%);
  }

}


/*
=======================================
Company Cards
=======================================
*/

.company .main-list--company {
  list-style-type: none;
  display: flex;
  flex-wrap: wrap;
  align-content: start;
}

.main-list--company {
  list-style-type: none;
  display: grid;
  flex-wrap: wrap;
  align-content: start;
  grid-auto-flow: row;
}

.main-list__item--company {
  display: grid;
  gap: 1rem;

  margin: 1rem;
  padding: 1rem;
  text-align: center;
  
  align-items: center;

  background-image: url("/assets/images/bright-squares.png");
  box-shadow: rgba(0, 0, 0, 0.548) -3px 10px 3rem;
  border-radius: 1rem;
}

.company .main-list__item--company {
  background-image: none;
  box-shadow: none;
}

.company .main-list__item-name {
  font-size: 1.12rem;
  font-weight: 700;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--clrBorder);
}

.main-list__item-name {
  font-size: 1.12rem;
  font-weight: 700;
}

.main-list__item-role {
  font-size: 1rem;
  font-weight: 400;
}

.company .section-header {
  font-weight: bold;
  margin-top: 3rem;
}


.xaxa-tbl {
  list-style-type: none;
  display: grid;
  flex-wrap: wrap;
  align-content: start;
}

.xaxa-card {
  display: grid;
  gap: 1rem;

  margin: 1rem;
  padding: 1rem;
  text-align: center;
  
  align-items: center;

  background-image: url("/assets/images/bright-squares.png");
  box-shadow: rgba(0, 0, 0, 0.548) -3px 10px 3rem;
  border-radius: 1rem;
}

/*
=======================================
Tables
=======================================
*/

table {
  width: 100%;
  background-color: white;
  color: black;
  border-collapse: collapse;

  text-align: left;
  border-radius: 1rem;
}

.table-link:hover {
  color: var(--clrAccentText);
}

th, td {
  padding: 1rem;
  min-width: 18ch;
}

tr:nth-of-type(2n) {
  background-color: var(--clrHeading);
}

caption,
.table-caption {
  margin-bottom: 1rem;
  text-align: start;
  font-family: 'Montserrat', monospace;
  padding: 0.15rem 0.35rem;
  border-radius: 0.15rem;
  font-weight: 500;
  color: var(--clrAccent);
}

caption > strong,
.table-caption > strong {
  font-weight: bold;
}

@media only screen and (max-width: 939px) {

  table:is(.isBG-yellowLight) {
    border-radius: 0;
  }

  th {
    display: none;
  }

  td {
    display: grid;
  }

  .table-content__title:not(.isBG-yellowLight .table-content__title) {
    text-transform: uppercase;
    padding-bottom: 0;
    color: black;
    font-weight: bold;
  }
}


/*
=======================================
Page Header Buttons
=======================================
*/

.wrapper__page-header {
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 3fr 2fr;
  align-content: start;
  margin-bottom: 1rem;
}

.wrapper__page-header .page-header {
  margin: 0;
}

.header-btn {
  display: none;
  width: 100%;
  flex-direction: row;
  justify-content: flex-end;
  gap: 2rem;
  padding-right: 1rem;
  font-family: 'Montserrat', monospace;
  text-align: justify;
  align-items: center;
}

.header-btn > a {
  display: flex;
  justify-content: center;
  align-items: center;
  min-width: 10ch;
  text-decoration: none;
  color: var(--clrAccent);
  font-weight: 500;
  border-radius: 2rem;
  padding: 0.45rem;

  transition: all 550ms ease-in-out;
  font-size: 0.95rem;
}

.header-btn > a:hover {
  background-color: var(--clrHeading);
  text-shadow: rgba(255, 255, 255, 0.979) 0px 0px 15px;
  opacity: 0.95;
  font-weight: bold;
  color: white;
}


  /*
=======================================
Page Footer Buttons
=======================================
*/

.footer-btn__list {
  list-style-type: none;
  display: flex;
  width: 100%;
  flex-direction: row;
  justify-content: space-evenly;
  font-family: 'Montserrat', monospace;
  text-align: justify;
  align-items: center;
  border-radius: 2rem;
  text-transform: uppercase;
}

.footer-btn,
.footer-btn__num {
  display: flex;
  text-decoration: none;
  padding: 0.75rem;
  font-size: 0.75rem;
  color: var(--clrAccent);
}

.footer-btn > a,
.footer-btn__num > a {
  text-decoration: none;
  color: var(--clrAccent);
  font-weight: 700;
  background-color: var(--clrHeading);

  border-radius: 2rem;
  padding: 0.75rem;
  transition: all 550ms ease-in-out;
}

.footer-btn > a:hover {
  filter: drop-shadow(rgba(255, 255, 255, 0.671) 0px 0px 5px);
  /* color: var(--clrAccentText); */
  background-color: #00000050;
}


.footer-btn__num > a:hover {
  filter: drop-shadow(rgba(255, 255, 255, 0.671) 0px 0px 5px);
  background-color: #00000050;
}

.page-selector {
  max-width: 10ch;
  max-height: 10ch;
  overflow: scroll;
}


/*
=======================================
Posters
=======================================
*/

.poster-tn {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  flex-wrap: wrap;
  padding-top: 1rem;
}

.poster-tn--title {
  padding-top: 1rem;
  border-top: 1px solid var(--clrBorder);
  font-family: 'Montserrat', sans-serif;
  font-weight: bold;
  font-size: var(--fs-h5);
}

.poster-link {
  text-decoration: none;
  color: white;
  padding: 0.25rem;
  background-image: url("/assets/images/asfalt-light.png");
  border-radius: 0.75rem;
  border-bottom: 5px solid rgba(0, 0, 0, 0.267);
  transition: all 550ms ease-in-out;
  text-align: center;
  font-weight: bold;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.322);
}

.poster-link:hover {
  transform: translateY(-3px);
}

.poster-tn--mobi {
  display: flex;
  overflow-x: auto;
  column-gap: 1rem;
  border-radius: 1rem;
  position: relative;
}

.poster-tn--mobi::-webkit-scrollbar-button,
.poster-tn--mobi::-moz-scrollbar-thumb {
  background-color: pink;
}

body::-webkit-scrollbar {
  width: 12px;               /* width of the entire scrollbar */
}

body::-webkit-scrollbar-track {
  background: orange;        /* color of the tracking area */
}

body::-webkit-scrollbar-thumb {
  background-color: blue;    /* color of the scroll thumb */
  border-radius: 20px;       /* roundness of the scroll thumb */
  border: 3px solid orange;  /* creates padding around scroll thumb */
}

/* == Scrollbar == */

.poster-tn--mobi::-webkit-scrollbar {
  width: 12px;               /* width of the entire scrollbar */
	height: 1rem;
}

.poster-tn--mobi::-webkit-scrollbar-track {
  background: var(--clrBG);        /* color of the tracking area */
	border-radius: 5px;
	padding: 0.2rem;
}

.poster-tn--mobi::-webkit-scrollbar-thumb {
  background-color: var(--clrAccentText);    /* color of the scroll thumb */
  border-radius: 1rem;       /* roundness of the scroll thumb */
  border: 3px solid var(--clrBG);  /* creates padding around scroll thumb */
}

.poster-tn--mobi::-webkit-scrollbar-thumb:hover {
  background-color: var(--clrSilver);    /* color of the scroll thumb */
	filter: drop-shadow(0 0 1rem red);
  border-radius: 1rem;       /* roundness of the scroll thumb */
  border: 3px solid var(--clrBG);  /* creates padding around scroll thumb */
}

/* == end scrollbar == */

.carousel-caption {
  background-image: linear-gradient(90deg, #0000, var(--clrAccentText));
  padding: 0.2rem 0.35rem;
  border-radius: 3px;
  display: none;
  justify-content: flex-end;
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  font-style: oblique;
  text-shadow: 3px 1px 3px rgba(0, 0, 0, 0.521);
}

@media only screen and (max-width: 800px) {
  .carousel-caption {
    display: flex;
    opacity: 0.75;
  }
}

.poster-tn__image--mobi {
  width: max-content;
}

.poster-tn__link-box {
  max-width: fit-content;
  height:fit-content;
  position: relative;
}

.poster-tn__link {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
}

.poster-tn__link:hover {
  box-shadow: rgba(255,255,255,0.57) 0px 0px 14px;
}


/*
=======================================
Quote Page
=======================================
*/

.wrapper__quote {
  display: grid;
  position: absolute;
  width: fit-content;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);

  font-family: 'Montserrat', sans-serif;

  display: grid;
  grid-template-rows: 1fr;
  gap: 1rem;
  align-items: center;

  text-align: center;
  
  overflow: hidden;
}

.quote-text {
  color: var(--clrText);
  font-weight: 500;
  font-size: var(--fs-h3);
  font-family: 'Montserrat', sans-serif;
  font-style: oblique;

  animation: typewriter 2s steps(40) normal;
}

.quote-credit {
  color: var(--clrAccentText);
  justify-self: end;
  font-weight: 400;
  font-style: italic;
  font-size: var(--fs-h4);
  animation: typewriter 2s steps(40) normal;
}

.quote-image {
  max-width: min(20rem, 100%);
  place-self: center;
  animation: typewriter 2s steps(40) normal;
}

.quote-btn {
  font-size: var(--fs-h4);
  margin-top: 1rem;
  animation: typewriter 2s steps(4000) normal;
}

.quote-btn:hover {
  text-decoration: underline;
}

@keyframes typewriter {
  from {
    opacity: 0%;
    transform: translateX(5%);
    filter: blur(0.75rem);
  }

  to {
    opacity: 100%;
    transform: translateX(0);
    filter: blur(0);
  }
}

@media only screen and (max-width: 800px) {
  .wrapper__quote {
    top: 30%;
    width: 100%;
    padding: 1.5rem;
  }
}