@font-face {
  font-family: "SVN-Wendi";
  src: url("../fonts/SVN-Wendi.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: "Go-around";
  src: url("../fonts/Go-around-the-books-2022.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
}

body {
  margin: 0;
  padding: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.header__bg {
  background-image: url(../img/background_home.png);
  width: 100%;
  min-height: 605px;
  background-size: cover;
  background-repeat: no-repeat;
  padding: 0;
  margin: 0;
}

.header__navbar {
  display: flex;
  align-items: center;
}

.header__navbar-list {
  list-style: none;
  padding-left: 0;
  padding-top: 5px;
  margin-top: 5px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.header__navbar-list:last-child {
  margin-left: auto;
}

.header__navbar-item {
  margin: 0 9px;
  position: relative;
  margin-left: auto;
}

.header__navbar-item,
.header__navbar-item-link {
  display: inline-block;
  font-size: 1.4rem;
  color: var(--white-color);
  text-decoration: none;
  font-weight: 300;
}

.login_style {
  background: transparent;
  border: 1.5px solid var(--white-color);
  border-radius: 5px;
  padding: 5px 5px;
  font-size: 1.4rem;
  color: var(--white-color);
  font-family: "Montserrat", sans-serif;
  cursor: pointer;
}

.header__navbar-item:hover,
.header__navbar-item-link:hover {
  cursor: pointer;
  color: rgba(255, 255, 255, 0.7);
}

.header__navbar-item--strong {
  font-weight: 400;
}

.header__navbar-item--separater::after {
  content: "";
  display: block;
  position: absolute;
  width: 1px;
  height: 14px;
  background-color: var(--white-color);
  right: -9px;
  top: 50%;
  transform: translateY(-50%);
}

.navbar {
  background: #000000;
  padding: 13px;
}

.navbar.slidedown {
  position: fixed;
  z-index: 9000;
  top: 0;
  left: 0;
  width: 100%;
  background: #000;
  animation: slidedown 0.4s forwards;
}

@keyframes slidedown {
  from {
    top: -70px;
  }
  to {
    top: 0;
    box-shadow: 0 2px 8px 0 rgba(255, 255, 255, 0.7);
  }
}

.navbar__menu {
  display: flex;
  font-size: 2rem;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  margin: 0;
  padding: 0;
}

.navbar__menu,
.navbar__menu-link {
  color: #ffffff;
  font-family: "SVN-Wendi", sans-serif;
  font-weight: bold;
  text-decoration: none;
  list-style: none;
  cursor: pointer;
}

.navbar__item {
  display: inline-flex;
  position: relative;
}

.navbar-item--icon::after {
  content: "";
  background-image: url(../img/sparkling.png);
  display: block;
  position: absolute;
  width: 25px;
  height: 25px;
  background-size: 100% auto;
  right: -55px;
  top: 50%;
  transform: translateY(-50%);
}

.navbar__menu-link {
  padding: 10px 10px;
  color: var(--white-color);
  border-radius: 35px;
  transition: 0.3s ease;
  text-align: center;
}

.navbar__menu-link:hover {
  color: #021918;
  background-color: #f2e7e7;
}

.menu_close,
.menu_open {
  display: none;
}

.menu_small_icon {
  color: transparent;
  right: 53%;
  transform: translateX(-53%);
  position: absolute;
}

.login_icon-login,
.login_icon-register {
  display: none;
}

.header_navbar-icon {
  color: #ffffff;
}

.section-title {
  font-size: 5rem;
  font-family: "Go-around", sans-serif;
  font-weight: bold;
  color: rgb(255, 255, 255);
  text-align: center;
  -webkit-text-stroke: 0.05px rgb(228, 225, 182);
  text-shadow: 0 0 10px rgb(231, 230, 185);
  margin: 0;
  margin-top: 40px;
  padding: 0;
  line-height: 60px;
  margin-bottom: 70px;
}

.section-title-tpm {
  font-size: 5rem;
  font-family: "Go-around", sans-serif;
  font-weight: bold;
  color: rgb(255, 255, 255);
  text-align: center;
  text-shadow: 0 0 6px rgb(216, 229, 255);
  margin: 0;
  margin-top: 40px;
  margin-bottom: 70px;
  padding: 0;
  line-height: 60px;
}

.section-title-vhnn {
  font-size: 5rem;
  font-family: "Go-around", sans-serif;
  font-weight: bold;
  color: rgb(255, 255, 255);
  text-align: center;
  text-shadow: 0 0 6px rgb(185, 187, 231);
  margin: 0;
  margin-top: 40px;
  padding: 0;
  line-height: 60px;
  margin-bottom: 70px;
}

.section-content {
  display: flex;
  align-items: center;
  min-height: auto;
  color: var(--white-color);
  justify-content: space-between;
}

.VanchuongVN {
  padding: 50px 0 50px;
  background-image: url(../img/bg_vchuongVN.png);
  margin: 0;
  background-repeat: no-repeat;
  max-height: 650px;
}

.Tphammoi {
  padding: 50px 0 50px;
  background-image: url(../img/bg_tpmoi.png);
  background-repeat: no-repeat;
  margin: 0;
  max-height: 750px;
}

.Vanhocncngoai {
  padding: 50px 0 50px;
  background-image: url(../img/bg_tpncngoai.png);
  background-repeat: no-repeat;
  margin: 0;
  max-height: 650px;
}

.vanchuongvn {
  display: flex;
  padding: 0;
  margin: 0;
  flex-direction: column;
  align-items: center;
  text-align: center;
  right: 41px;
}

.user-image {
  width: 180px;
  margin: 0;
  height: 180px;
  object-fit: cover;
  margin-bottom: 25px;
  border-radius: 90px;
  padding: 0;
  align-content: center;
}

.user-image-2 {
  width: 180px;
  margin: 0;
  height: 310px;
  object-fit: cover;
  margin-bottom: 25px;
  border-radius: 20px;
  padding: 0;
  align-content: center;
  border: 2px solid #000;
}

.name {
  margin: 0;
  margin-bottom: 5px;
  font-size: 13.5px;
  padding: 0;
  cursor: pointer;
  text-decoration: none;
  color: #f2e7e7;
  text-align: center;
}

.dateNPH {
  margin-bottom: 50px;
  padding: 0;
  line-height: 10px;
}

.vchuongvn_icon::after {
  content: "";
  background-image: url(../img/sparkles.png);
  display: inline-block;
  width: 30px;
  height: 30px;
  background-size: contain;
  background-repeat: no-repeat;
  margin-left: 10px;
}

.mail {
  height: 550px;
  margin: 0;
  padding: 0;
  background-image: url(../img/bg_endemail.png);
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}

.mail-title {
  font-size: 5rem;
  font-family: "Go-around", sans-serif;
  font-weight: bold;
  color: rgb(255, 255, 255);
  text-align: center;
  align-items: center;
  text-shadow: 0 0 6px rgb(185, 187, 231);
  margin: 0;
  padding: 0;
  padding-top: 100px;
  flex: 2;
  min-width: 200px;
  max-width: 300px;
  line-height: 1.5;
  white-space: normal;
}

.mail_items {
  padding: 0;
  margin: 0;
  flex: 1;
  min-width: 400px;
  justify-content: center;
  margin-top: 20px;
}

.mailgroup {
  padding: 0;
  margin: 0;
  margin-bottom: 20px;
}

@font-face {
  font-family: "SVN-Appleberry";
  src: url("../fonts/SVN-Appleberry.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
}

.mailgroup label {
  font-size: 3rem;
  font-family: "SVN-Appleberry";
  color: rgb(28, 50, 35);
  display: block;
  padding: 0;
  margin-top: 50px;
  margin-bottom: 10px;
}

.mailgroup input {
  height: 45px;
  width: 360px;
  border-radius: 40px;
  padding: 10px;
  background-color: #061921;
  color: #f2e7e7;
  font-size: 1.7rem;
}

.mail-button {
  position: relative;
  color: var(--white-color);
  font-size: 5rem;
  font-family: "SVN-Appleberry";
  background-color: transparent;
  margin-bottom: 40px;
  margin-top: 30px;
  border: none;
  left: 105px;
  cursor: pointer;
  font-weight: bold;
}

@media screen and (min-width: 1100px) {
  .header__bg {
    height: 900px;
  }
}

@media screen and (max-width: 900px) {
  .header__bg {
    background-image: url(../img/background_home900px.png);
  }

  .header__navbar-item:nth-child(2),
  .header__navbar-item:nth-child(3) {
    display: none;
  }

  .navbar {
    padding: 20px;
    border-bottom: 0.8px solid #ffffff;
  }

  .navbar__menu {
    position: fixed;
    z-index: 2000;
    left: -300px;
    top: 0;
    width: 300px;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding-top: 100px;
    background: #000000d8;
    transition: left 0.2s ease;

    backdrop-filter: blur(5px);
    border-top-right-radius: 80px;
  }

  .navbar__menu.active {
    left: 0;
  }

  .menu_close,
  .menu_open {
    font-size: 1.6rem;
    position: absolute;
    list-style: none;
    text-decoration: none;
    display: block;
    cursor: pointer;
  }

  .menu_close {
    top: 30px;
    right: 30px;
    background-color: #f7f3f3;
    border-radius: 25px;
    padding: 5px;
  }

  .menu_open {
    top: 20px;
    right: 20px;
  }

  .navbar__menu-link {
    color: var(--white-color);
    display: block;
    font-size: 1.6rem;
    margin: 8px 0;
  }

  .login_icon-login,
  .login_icon-register {
    display: inline-block;
  }

  .menu_small_icon {
    color: #f9c442;
    left: -10px;
    top: 15px;
  }

  .header_navbar-icon {
    color: rgb(254, 246, 224);
    margin: 8px;
    border: 2px solid rgb(74, 6, 6);
    border-radius: 50%;
  }

  .section-title,
  .section-title-tpm,
  .section-title-vhnn {
    font-size: 3.5rem;
  }
}

@media screen and (max-width: 800px) {
  .header__bg {
    max-height: 700px;
  }

  .section-title {
    margin-bottom: 40px;
  }

  .section-title-tpm {
    margin-bottom: 75px;
  }

  .section-title-vhnn {
    margin-bottom: 40px;
  }
}

@media screen and (max-width: 660px) and (min-width: 550px) {
  .header__bg {
    background-image: url(../img/background_home650px.png);
  }

  .mail {
    background-image: url(../img/bg_endemail650px.png);
    background-position: 0 -100px;
    height: 850px;
    display: block;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  .mail-title {
    color: rgb(255, 255, 255);
    border: #f9c442;
    padding: 0;
    margin: 0;
    padding-top: 90px;
    max-width: 400px;
    padding-bottom: 80px;
    margin-left: 80px;
  }

  .mail-button {
    margin: 40px 0 30px;
    padding: 0;
    left: 160px;
  }

  .mailgroup {
    margin-bottom: 15px;
    padding-left: 50px;
  }
}

@media screen and (max-width: 550px) {
  .header__bg {
    background-image: url(../img/background_home400px1.png);
    min-height: 700px;
  }
}

@media screen and (max-width: 400px) {
  .header__bg {
    background-image: url(../img/background_home400px1.png);
    min-height: 580px;
    background-size: cover;
  }

  .mailgroup input {
    height: 40px;
    width: 280px;
    font-size: 1.2rem;
  }

  .mailgroup label {
    font-size: 2rem;
    font-weight: bold;
  }

  .mailgroup {
    margin-bottom: 15px;
    padding-left: 50px;
  }

  .mail-title {
    padding-bottom: 50px;
    margin-left: 40px;
  }

  .mail {
    height: 880px;
    display: block;
    background-image: url(../img/bg_mail.png);
    padding: 0;
    margin: 0;
    background-position: -50px -30px;
  }

  .mail-button {
    font-size: 3.8rem;
    left: 130px;
  }
}
