*,
*::after,
*::before {
  margin: 0;
  padding: 0;
  box-sizing: inherit;
}


/* all sizes are relative to 16px */

html {
  font-size: 62.5%;
  /* is 16px, 100/16 = 62.5 10/16 */
}

body {
  box-sizing: border-box;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
}

.big-heading {
  font-size: 10rem;
  text-align: center;
}


.row {
  max-width: 114rem;
  margin: 0 auto;


  &:not(:last-child) {
    margin-bottom: 2rem;
  }

  [class^="col-"] {

    float: left;

    &:not(:last-child) {
      margin-right: 6rem;
    }
  }

  .col-1-of-2 {

    width: calc((100% - #{6rem}) / 2);
  }

  .col-1-of-3 {
    width: calc((100% - 2 * #{6rem}) / 3);
  }

  .col-2-of-3 {
    width: calc(2 * ((100% - 2 * #{6rem}) / 3) + #{6rem});
  }

  .col-1-of-4 {
    width: calc((100% - 3 * #{6rem}) / 4);
  }

  .col-2-of-4 {
    width: calc(2 * ((100% - 2 * #{6rem}) / 4) + #{6rem});
  }

  .col-3-of-4 {
    width: calc(3 * ((100% - 2 * #{6rem}) / 4) + #{6rem});
  }
}

.buttons--container {
  margin: 0 auto;
  max-width: 114rem;
  text-align: right;
  margin-bottom: 1.4rem;
}

.buttons--container button {
  background: none;
  border: none;
  margin-right: 1.4rem;
  cursor: pointer;
}

.hidden {
  display: none;
}

.buttons--image {
  width: 32px;
}


.teachers {
  max-width: 114rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(26rem, 1fr));
  gap: 2rem;
  margin: 0 auto;
  opacity: 0;
  transition: 1s all;
  margin-bottom:4rem;
}

.teacher {
  animation: fadeIn 200ms;
  transition: all 0.2s ease-in-out;
  max-width: 30rem;
  border-radius: 10px;
  text-decoration: none;
  margin-right: 2rem;
  margin-bottom: 1rem;

  &:hover {
    transform: scale(1.1);
  }

  &(:last-child) {
    margin-right: 0;
  }
}

.card {
  box-shadow: 0 0.4rem 8rem 0 rgba(0, 0, 0, 0.2);
  max-width: 26rem;
  max-height: 46rem;
  margin: auto;
  text-align: center;
  border-radius: 1.5rem;
  overflow: hidden;
  transition: all 0.3s ease-in-out;
  animation: fadeIn 500ms;
  min-height: 32rem;

  &:hover {
    transform: scale(1.1);
  }
}

.title {
  font-size: 1rem;
}


.teacher__tags {
  list-style: none;
  display: inline-block;
  padding: 0;
  text-align: center;
}

.u-align-center {
  text-align: center;
}

.teacher__name {
  font-size: 5rem;
}

.teacher__description {
  font-size: 2rem;
  margin-bottom: 2rem;
  margin-top: 2rem;
  float: right;
  animation: fadeIn 500ms;
  display: none;
}

.show {
  display: block;
}

.tags {
  font-size: 3rem;
  margin-bottom: 3rem;
}

.teacher__tags-tag {
  display: inline-block;
  padding: 1rem 2rem;
  background-color: #FFF;
  color: black;
  border: 0.2rem solid black;
  cursor: pointer;
  font-size: 2rem;
  transition: all 0.3s ease-in-out;
  margin-bottom: 1rem;

  &:hover {
    transform: scale(1.1);
  }

  &:not(:last-child) {
    margin-right: 1rem;
  }
}

.selected {
  background-color: #000;
  color: #FFF;
  position: relative;

  &::after {
    margin-left: 0.5rem;
    content: '⊗';
    display: inline-block;
  }
}

.teacher__image {
  border-radius: 50%;
  width: 10rem;
  box-shadow: 0 1.5rem 4rem rgba(0, 0, 0, .15);
  transition: all 0.3s ease;

  &:hover,
  &:focus {
    transform: translateY(-0.5rem);
    box-shadow: 0 1rem 2rem rgba(0, 0, 0, .2);
  }

  &::after {
    transform: scale(1.2);
  }
}

.clubs-table i {
  margin-right: 0.8rem;
}

/* Interactive table enhancements */
.clubs-table tbody tr {
  transition: background-color 0.2s ease, transform 0.1s ease;
}

.clubs-table tbody tr:hover {
  background-color: #f9f9f9;
  transform: scale(1.002);
}

.clubs-table th.sortable {
  transition: background-color 0.2s ease;
}

.clubs-table th.sortable:hover {
  background-color: #f5f5f5;
}

.clubs-table th.sortable:active {
  transform: scale(0.98);
}

#tableSearch:focus {
  outline: none;
  border-color: #000 !important;
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.1);
}

#tableSearch:hover {
  border-color: #999;
}

.expand-btn:hover {
  color: #000 !important;
  transform: scale(1.1);
}

.description-wrapper {
  display: inline-flex;
  align-items: center;
}

.add-club-btn:hover {
  background-color: #333 !important;
  transform: scale(1.02);
}

.add-club-btn:active {
  transform: scale(0.98);
}

.breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 1.4rem;
  color: #000;
  text-decoration: none;
  border: 2px solid #000;
  padding: 0.6rem 1rem;
  border-radius: 0.6rem;
  transition: background 0.2s ease, color 0.2s ease, transform 0.1s ease;
}

.breadcrumb:hover,
.breadcrumb:focus {
  background: #000;
  color: #FFF;
  transform: translateY(-1px);
}

.switch-buttons {
  display: flex;
  gap: 1.6rem;
  justify-content: center;
  align-items: center;
  margin: 1.6rem 0 2.4rem 0;
}

.switch-button {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  text-decoration: none;
  color: #000;
  border: 3px solid #000;
  padding: 1.2rem 2rem;
  border-radius: 1rem;
  font-size: 2.4rem;
  font-weight: 700;
  text-transform: uppercase;
  transition: transform 0.15s ease, background 0.2s ease, color 0.2s ease;
}

.switch-button i {
  font-size: 3rem;
}

.switch-button:hover,
.switch-button:focus {
  background: #000;
  color: #FFF;
  transform: translateY(-2px) scale(1.02);
}

.switch-button--active {
  background: #000;
  color: #FFF;
}

.card.removing {
  -webkit-animation: fadeOut 500ms;
  -moz-animation: fadeOut 500ms;
  animation: fadeOut 500ms;
  display: none;
}

.popup {
  height: 100vh;
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: all .3s;
}

.popup:target {
  opacity: 1;
  visibility: visible;
}

.popup__content {
  max-width: 75%;
  min-width: 30%;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: #FFF;
  border-radius: 10px;
  display: table;
  overflow: hidden;
}

.teacher__tags-smaller-tag {
  display: inline-block;
  padding: 1rem 2rem;
  background-color: #FFF;
  color: black;
  border: 0.2rem solid black;
  cursor: pointer;
  font-size: 1.2rem;
  margin-bottom: 1rem;
  margin-right: 1rem;
  text-transform: capitalize;
}

.popup__text {
  margin-bottom: 2rem;
  margin-top: 2rem;
  display: inine-block;
  max-width: 40rem;
}

.popup__left {
  width: 33.333333%;
  display: table-cell;
}

audio{
    display: none;
}

.popup__right {
  width: 66.666667%;
  display: table-cell;
  vertical-align: top;
  padding: 1rem 2rem;
}

.heading-secondary {
  font-size: 2rem;
  font-weight: 700;
  display: inline-block;
  margin-top: 1rem;
}

.btn-pronounce {
    display:flex!important;
    align-items:center;
    gap:1rem;
}


.btn {

  &:hover,
  &:focus {
    background: #5357AE;
    color: white;
  }
  cursor:pointer;
  border:2px solid black;
  padding:1rem;
  text-align:center;
  display:inline-block;
  font-size: 1.3rem;
  text-decoration:none;
  color:black;
  margin-bottom:1rem;
  margin-top:1rem;

}

.popup__close {
  color: black;
  font-size: 3rem;
  text-align: right;
  position: absolute;
  right: 10px;
  border: none;
  background: none;
  cursor: pointer;
}

.popup__img {
  display: block;
  object-fit: cover;
  width: 32rem;
  height: 32rem;
}


@-moz-keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@-webkit-keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@-moz-keyframes fadeOut {
  from {
    opacity: 1;
  }

  to {
    opacity: 0;
  }
}

@-webkit-keyframes fadeOut {
  from {
    opacity: 1;
  }

  to {
    opacity: 0;
  }
}

@keyframes fadeOut {
  from {
    opacity: 1;
  }

  to {
    opacity: 0;
  }
}

@media only screen and (max-width: 600px) and (orientation: portrait) {

  html {
    font-size: 50.3%; //16px
  }

  .popup__left {
    display: block;
  }

  .popup__right {
    display: block;
    width: 100%;
  }

  .big-heading {
    font-size: 4rem;
    margin-top: 1rem;
  }

  .teachers {
    grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
    padding: 2rem;
  }

}

.loader-container {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-40px, 0px);
}

lds-grid {
  display: inline-block;
  position: relative;
  width: 80rem;
  height: 80rem;
}

.lds-grid div {
  position: absolute;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #000;
  animation: lds-grid 1.2s linear infinite;
}

.lds-grid div:nth-child(1) {
  top: 8px;
  left: 8px;
  animation-delay: 0s;
}

.lds-grid div:nth-child(2) {
  top: 8px;
  left: 32px;
  animation-delay: -0.4s;
}

.lds-grid div:nth-child(3) {
  top: 8px;
  left: 56px;
  animation-delay: -0.8s;
}

.lds-grid div:nth-child(4) {
  top: 32px;
  left: 8px;
  animation-delay: -0.4s;
}

.lds-grid div:nth-child(5) {
  top: 32px;
  left: 32px;
  animation-delay: -0.8s;
}

.lds-grid div:nth-child(6) {
  top: 32px;
  left: 56px;
  animation-delay: -1.2s;
}

.lds-grid div:nth-child(7) {
  top: 56px;
  left: 8px;
  animation-delay: -0.8s;
}

.lds-grid div:nth-child(8) {
  top: 56px;
  left: 32px;
  animation-delay: -1.2s;
}

.lds-grid div:nth-child(9) {
  top: 56px;
  left: 56px;
  animation-delay: -1.6s;
}

@keyframes lds-grid {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.5;
  }
}


@-webkit-keyframes rotateDiscoBall {
  0% {-webkit-transform: rotateX(90deg) rotateZ(0deg) rotate(0deg); }
  100% {-webkit-transform: rotateX(90deg) rotateZ(360deg) rotate(0deg); }
}

@keyframes rotateDiscoBall {
  0% {transform: rotateX(90deg) rotateZ(0deg) rotate(0deg); }
  100% {transform: rotateX(90deg) rotateZ(360deg) rotate(0deg); }
}

@-webkit-keyframes rotateDiscoBallMiddle {
  0% {-webkit-transform: rotateX(90deg) rotateY(0deg) rotate(0deg); }
  100% {-webkit-transform: rotateX(90deg) rotateY(-360deg) rotate(0deg); }
}

@keyframes rotateDiscoBallMiddle {
  0% {transform: rotateX(90deg) rotateY(0deg) rotate(0deg); }
  100% {transform: rotateX(90deg) rotateY(-360deg) rotate(0deg); }
}

@-webkit-keyframes reflect {
  0% {-webkit-filter: brightness(60%);}
  50% {-webkit-filter: brightness(120%);}  
  100% {-webkit-filter: brightness(90%);}  
}

@keyframes reflect {
  0% {opacity: 1;}
  50% {opacity: 0.4;}  
  100% {opacity: 1;}  
}

#discoBall {
-webkit-transform-style: preserve-3d;
transform-style: preserve-3d;
width: 100px;
height: 100px;
position: absolute;
top: 50px;
left: 50%;
margin-left: -50px;
-webkit-animation: rotateDiscoBall 18s linear infinite;
animation: rotateDiscoBall 18s linear infinite;
}

#discoBallLight {
width: 100px;
height: 100px;
position: absolute;
top: 50px;
left: 50%;
margin-left: -50px; 
border-radius: 100%;
background-color: rgb(0, 0, 0); 
opacity: 0.2;
-webkit-filter: blur(20px);
}

.square {
-webkit-transform-style: preserve-3d;
transform-style: preserve-3d;	
position: absolute;
top: 50px;
left: 50px;
width: 6px;
height: 6px;
position: absolute;
transform: rotateX(90deg) rotateY(0deg) translateZ(0px);
}

#discoBallMiddle { 
height: 100%;
border-radius: 100%;
background-color: #111;
position: absolute;
background: -webkit-linear-gradient(top, #111, #333);
background: -moz-linear-gradient(top, #111, #333);
background: linear-gradient(top, #111, #333);
-webkit-animation: rotateDiscoBallMiddle 18s linear infinite;
animation: rotateDiscoBallMiddle 18s linear infinite;
}

.clubs{
  color:black;
  
  
  font-family: 'Oswald', sans-serif;
  font-size:9em;
  line-height:1;
  
  -webkit-transform: rotateX(25deg) rotateY(20deg) rotateZ(-3deg); 
  transform: rotateX(25deg) rotateY(20deg) rotateZ(-3deg);  
  
  -webkit-animation: anim 3s;
  -webkit-animation-timing-function: linear;
  -webkit-animation-iteration-count:infinite;
  
  animation: anim 3s;
  animation-timing-function: linear;
  animation-iteration-count:infinite;
}

@-webkit-keyframes anim {
    0%{text-shadow:-6px 4px 0px red;}
    10% {text-shadow:4px -6px 0px green;}
    20% {text-shadow:-9px 4px 0px blue;}
    30% {text-shadow:4px -6px 0px yellow;}
    40% {text-shadow:-8px 4px 0px orange;}
    50% {text-shadow:4px 5px 0px purple;}
    60% {text-shadow:-6px 4px 0px brown;}
    70% {text-shadow:4px 7px 0px pink;}
    80% {text-shadow:-9px -4px 0px lime;}
    90% {text-shadow:4px -6px 0px cyan;}
    100% {text-shadow:-9px 4px 0px teal;}
} 

@keyframes anim {
    0%{text-shadow:-6px 4px 0px red;}
    10% {text-shadow:4px -6px 0px green;}
    20% {text-shadow:-9px 4px 0px blue;}
    30% {text-shadow:4px -6px 0px yellow;}
    40% {text-shadow:-8px 4px 0px orange;}
    50% {text-shadow:4px 5px 0px purple;}
    60% {text-shadow:-6px 4px 0px brown;}
    70% {text-shadow:4px 7px 0px pink;}
    80% {text-shadow:-9px -4px 0px lime;}
    90% {text-shadow:4px -6px 0px cyan;}
    100% {text-shadow:-9px 4px 0px teal;}
} 


.spacer{
  padding:2rem;
  width:100%;
}