/*

- Font sizes (px)
10 / 12 / 14 / 16 / 18 / 20 / 24 / 30 / 36 / 44 / 52 / 62 / 74 / 86 / 98

- Spacing system (px)
2 / 4 / 8 / 12 / 16 / 24 / 32 / 48 / 64 / 80 / 96 / 128

*/


/*************************/
/* General */
/*************************/

:root {
  --white: #fff;
  --gray: #adb5bd;
  --gray__background: #5e5e5e;
  --orange--sub: #e67700;
}

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

html {
  font-size: 62.5%;
}

body {
  line-height: 1;
  font-weight: 400;
  color: var(--white);
}

body {
  background-color: #272727;
  font-family: tahoma;
  overflow-x: hidden;
}

/****************************************/
/* General */

.overlay {
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: 999;
  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px);
  transition: 2s all;
}

.hide {
  display: none !important;
}

.close {
  transform: translateY(-150%);
}

.container {
  direction: rtl;
  font-size: 2rem;
  width: 70vw;
  margin: 6.4rem auto;
  line-height: 1.7;
}

.line {
  height: 1px;
  width: 90%;
  margin: 6.2rem 0;
  background-color: var(--white);
}

/****************************************/
/* Header */

.header {
  position: relative;
  height: 100vh;
  width: 100vw;
  background-image: url(images/pc_background.jpg);
  background-size: cover;
  background-position: right;
}

.header__head--1 {
  font-size: 8.6rem;
  font-family: "Caveat", sans-serif;
  position: absolute;
  top: 25%;
  left: 40%;
  transform: translateX(-50%);
}

.header__head--sub {
  font-size: 2.4rem;
  font-family: "Edu AU VIC WA NT Guides", cursive;
  position: absolute;
  top: 45%;
  left: 40%;
  transform: translateX(-50%);
  color: var(--orange--sub);
}

/****************************************/
/* Side menu */

.menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 25vw;
  height: 100vh;
  background-color: var(--gray__background);
  z-index: 9999;
  border-radius: 0 0 2rem 2rem;
  transition: 0.5s all;
  box-shadow: 1rem 0 1rem #00000030;
}

.menu__button {
  position: absolute;
  color: var(--white);
  font-size: 3.6rem;
  transition: all 0.2s;
}

.menu__button:hover {
  cursor: pointer;
  color: var(--orange--sub);
}

.menu__button--open {
  position: fixed;
  top: 4.8vh;
  left: 3.2vw;
}

.menu__button--close {
  top: 2.4rem;
  right: 2.4rem;
  z-index: 99999;
}

.menu__list {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: 1.6rem;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
}

.menu__list--link {
  color: var(--white);
  text-decoration: none;
  font-size: 2.4rem;
  margin: 1.6rem 3.2rem 2.4rem 4.4rem;
  width: fit-content;
  transition: all 0.2s;
}

.menu__list--link:hover {
  color: var(--orange--sub);
}

/****************************************/
/* Bio */

.bio__name {
  font-size: 3.6rem;
  font-weight: 700;
}

.bio__media--link {
  cursor: pointer;
  text-decoration: none;
}

/****************************************/
/* Courses */

.courses__course {
  font-size: 1.8rem;
}

.courses__course--header {
  font-size: 3.6rem;
}

.courses__info--link {
  color: var(--orange--sub);
  text-decoration: none;
  cursor: pointer;
  display: inline-block;
  border-bottom: 1px solid var(--orange--sub);
}

/****************************************/
/* Teaching */

.teaching {
  width: 100%;
  margin: 7.2rem auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4.4rem;
}

.teaching__img {
  width: 100%;
}

.teaching__line {
  width: 100%;
}

/****************************************/
/* Gallery */

.gallery {
  position: relative;
}

.gallery__header {
  text-align: center;
}

.gallery__picture {
  width: 100%;
  height: 98%;
  cursor: pointer;
  transition: all 0.2s;
}

.gallery__picture:hover {
  transform: scale(0.95);
}

.gallery__pictures--container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 3.2rem;

  margin-top: 6.4rem;
}

.gallery__picture--close {
  position: absolute;
  z-index: 99999;
  top: 3.2rem;
  right: 3.2rem;
}

.gallery__picture--text {
  width: 55vw;
  margin: 0 auto;
  font-size: 2.4rem;
  display: flex;
  justify-content: space-between;
}

.gallery__picture--description {
  display: block;
}

.gallery__picture--name {
  display: block;
}

.gallery__picture--container {
  z-index: 99999;
  position: absolute;
  top: 3.2rem;
  left: 50%;
  transform: translate(-50%);
  display: flex;
  flex-direction: column;
  gap: 3.2rem;
}

.gallery__picture--big {
  width: 55vw;
}