@font-face {
  font-family: 'Manrope';
  src: url('../fonts/manrope_regular.eot');
  src: url('../fonts/manrope_regular.eot?#iefix') format('embedded-opentype'),
       url('../fonts/manrope_regular.woff2') format('woff2'),
       url('../fonts/manrope_regular.woff') format('woff');
        font-display: swap;
}

@font-face {
  font-family: 'Manrope-Medium';
  src: url('../fonts/manrope_medium.eot');
  src: url('../fonts/manrope_medium.eot?#iefix') format('embedded-opentype'),
       url('../fonts/manrope_medium.woff2') format('woff2'),
       url('../fonts/manrope_medium.woff') format('woff');
        font-display: swap;
}

@font-face {
  font-family: 'Manrope-Bold';
  src: url('../fonts/manrope_bold.eot');
  src: url('../fonts/manrope_bold.eot?#iefix') format('embedded-opentype'),
       url('../fonts/manrope_bold.woff2') format('woff2'),
       url('../fonts/manrope_bold.woff') format('woff');
        font-display: swap;
}

@font-face {
  font-family: 'Barlow-Bold';
  src: url('../fonts/barlow_bold.eot');
  src: url('../fonts/barlow_bold.eot?#iefix') format('embedded-opentype'),
       url('../fonts/barlow_bold.woff2') format('woff2'),
       url('../fonts/barlow_bold.woff') format('woff');
        font-display: swap;
}

@font-face {
  font-family: 'Cormorant-Garamond';
  src: url('../fonts/cormorant_garamond.eot');
  src: url('../fonts/cormorant_garamond.eot?#iefix') format('embedded-opentype'),
       url('../fonts/cormorant_garamond.woff2') format('woff2'),
       url('../fonts/cormorant_garamond.woff') format('woff');
        font-display: swap;
}

@font-face {
  font-family: 'Cormorant-Garamond-Bold';
  src: url('../fonts/cormorant_garamond_bold.eot');
  src: url('../fonts/cormorant_garamond_bold.eot?#iefix') format('embedded-opentype'),
       url('../fonts/cormorant_garamond_bold.woff2') format('woff2'),
       url('../fonts/cormorant_garamond_bold.woff') format('woff');
        font-display: swap;
}

@font-face {
  font-family: 'Alexander';
  src: url('../fonts/alexander.eot');
  src: url('../fonts/alexander.eot?#iefix') format('embedded-opentype'),
       url('../fonts/alexander.woff2') format('woff2'),
       url('../fonts/alexander.woff') format('woff');
        font-display: swap;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-appearance: none;
  -webkit-tap-highlight-color: transparent;
  outline: none;
}

:root {
  --dark: #190900;
  --milk: #F8F4F0;
  --text: #0E0604;
  --text-light: #D4C2B5;
  --chocolate: #7B3B2B;
  --peach: #E8C9B3;
  --terracote: #B84524;
  --accent-brown: #BB6448;
  --light-beige: #F8F4F0;
  --card-light: #F2EAE3;
  --card-dark: #F8F4F0;
  --accent-dark-block: #EDE2D8;
}

ul {
  list-style: none;
}

body {
  min-width: 330px;
  font-family: 'Manrope';
  font-weight: 100;
  background-color: var(--light-beige);
  -webkit-font-smoothing: antialised;
}

main {
  overflow: hidden;
}

a {
  font-family: 'Manrope-Medium';
  text-decoration: none;
  outline: none;
  -webkit-appearance: none;
  -webkit-tap-highlight-color: transparent;
  transition: .2s;
}

a:hover {
  transition: .2s;
}

strong {
  font-family: 'Manrope-Bold';
}

img {
  display: block;
  max-width: 100%;
}
/*CONTAINER - BEGIN*/
.container {
  position: relative;
  max-width: 1470px;
  width: 100%;
  padding: 0 15px;
  margin: 0 auto;
  box-sizing: border-box;
}

@media (max-width: 1260px){
  .container {
    width: 100%;
  }  
}

@media (max-width: 991px){
  .container {
    max-width: 760px;
    width: 100%;
  }
}

@media (max-width: 767px){
  .container {
    max-width: 510px;
  }
}
/*CONTAINER - END*/

.flex, .flex-center, .center, nav ul {
  display: flex;
  flex-wrap: wrap;
}

.flex-center, .center, nav ul {
  align-items: center;
}

.center {
  justify-content: center;
}

/*HEADER - BEGIN*/
.top, .bg-dark {
  background-color: var(--dark);
}

header {
  min-width: 330px;
  position: absolute;
  z-index: 1000;
  top: 40px;
  left: 0;
  width: 100%;
}

@media(max-width: 1600px) {
  header {
    top: 20px;
  }
}

nav {
  width: 100%;
  height: 65px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: var(--milk);
  box-shadow: 0 0 10px rgba(0,0,0,0.07);
  border-radius: 60px;
  padding: 0 40px;
}

nav p, nav a {
  font-size: 16px;
  line-height: 1.1;
  color: var(--text);
}

@media(max-width: 1600px) {
  nav {
    height: 55px;
  }
  nav p, nav a {
    font-size: 15px;
  }
}

@media(max-width: 1260px) {
  nav ul {
    display: none;
  }
}

@media(max-width: 991px) {
  nav {
    height: 50px;
    padding: 0 28px;
  }
}

@media(max-width: 767px) {
  .teacher {
    width: 100%;
  }
  .teacher p {
    width: 100%;
  }
  nav {
    height: auto;
    border-radius: 10px;
    padding: 12px 15px;
  }
  nav p {
    font-size: 14px;
    width: 100%;
    text-align: left;
  }
}

@media(max-width: 350px) {
  nav p {
    font-size: 13.3px;
  }
}

nav a:hover {
  color: var(--terracote);
}

nav li {
  margin-right: 32px;
}

nav li:last-child {
  margin-right: 0;
}

.teacher p {
  margin-top: 0;
}

@media(max-width: 767px) {
  .teacher p {
    line-height: 1.4;
    margin-top: 4px;
  }
  .teacher p:first-child {
    font-family: 'Manrope-Bold';
  }
}

.divider {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: var(--text);
  margin-left: 10px;
  margin-right: 10px;
}

@media(max-width: 767px) {
  .divider {
    display: none;
  }
}
/*HEADER - END*/

/*MOBILE MENU - BEGIN*/
.sidenav {
  display: flex;
  align-items: center;
  justify-content: center;
  position: fixed;
  z-index: 100000;
  min-height: 100vh;
  width: 100%;
  opacity: 0;
  top: -500%;
  left: auto;
  right: 0;
  background: rgba(0,0,0,0.85);
  overflow-x: hidden;
  transition: 0.3s;
  padding: 20px 0;
}

@media(min-width: 1261px) {
  .sidenav {
    display: none;
  }
}

.sidenav ul {
  width: 100%;
}

.sidenav a {
  font-size: 20px;
  color: var(--light-beige);
}

.sidenav a:hover {
  color: var(--peach);
}

.sidenav li {
  text-align: center;
  margin-top: 28px;
}

.sidenav li:first-child {
  margin-top: 0;
}

.sidenav .closebtn {
  display: block;
  font-size: 55px;
  line-height: 1;
  font-weight: bold;
  text-align: center;
  margin-top: 33px;
}

.sidenav .closebtn:hover {
  color: var(--peach);
}

.menu-burger {
  display: none;
  align-items: center;
}

@media(max-width: 1260px) {
  .menu-burger {
    display: flex;
  }
}

@media(max-width: 767px) {
  .menu-burger {
    position: absolute;
    right: 30px;
    top: 50%;
    transform: translateY(-50%);
  }
}

.menu-burger svg {
  width: 34px;
  height: 34px;
  transition: .2s;
}

.menu-burger svg:hover {
  fill: var(--terracote);
  transition: .2s;
}
/*MOBILE MENU - END*/

.burger-mobile {
  width: 60px;
  height: 60px;
  align-content: center;
  justify-content: center;
  position: fixed;
  bottom: 15px;
  right: 15px;
  top: auto;
  transform: none;
  border-radius: 50%;
  background: #fff;
  z-index: 3000;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
  transition: .2s;
}

.burger-mobile:hover {
  background-color: var(--peach);
}

.burger-mobile, .burger-mobile.scrolled {
  display: none;
}

@media(max-width: 991px) {
 .burger-mobile.scrolled {
    display: flex;
    transition: .2s;
  }
}

.burger-mobile svg {
  width: 30px;
  height: 30px;
  fill: #000;
  transition: .2s;
}

.burger-mobile:hover svg {
  fill: #000;
}