header {
  width: 100%;
  height: 100px;
  float: left;
  position: fixed;
  z-index: 9999;
  background-color: var(--bg-color);
}

.scrolled {
  box-shadow: 0px 2px 7px 0px var(--main-text);
}

#header_content {
  height: 100px;
  width: 1440px;
  float: left;
  padding: 0px calc((100% - 1440px)/2);
  position: relative;
}

#header_logo {
  height: 100%;
  float: left;
  display: block;
  cursor: pointer;
}

#header_logo img {
  height: calc(100% - 40px);
  margin: 20px 0px;
  float: left;
  object-fit: cover;
}

.header_logo_black {
  display: none;
}

#header_logo.night_mode .header_logo_white {
  display: none;
}

#header_logo.night_mode .header_logo_black {
  display: block;
}

#header_elements {
  margin: 0px 10px;
  float: right;
  height: 100%;
  font-size: var(--font-size-6);
}

.header_element_block {
  float: left;
}

.header_element {
margin: 40px 5px;
    float: left;
    height: 20px;
    line-height: 20px;
    font-weight: bold;
    color: var(--main-text);
    cursor: pointer;
}

.header_element_menu, .header_element_lang {
margin: 30px 10px;
    height: 40px;
}

#ham_menu {
  height: 40px;
  width: 40px;
  position: relative;
}

#ham_menu span {
  height: 4px;
  width: 40px;
  position: absolute;
  left: 0px;
  background-color: var(--main-text);
  border-radius: 2px;
  rotate: default;
  transition: 0.5s rotate, 0.5s width, 0.5s top, 0.5s left;
}

#ham_menu span:nth-child(1) {
  top: 6px;
}

#ham_menu span:nth-child(2) {
  top: 18px;
  transition: 0.5s width;
}

#ham_menu span:nth-child(3) {
  top: 30px;
}

.header_menu_input:checked +.header_element_block .header_element #ham_menu span:nth-child(1) {
  rotate: 35deg;
  width: 48px;
  top: 18px;
  left: -5px;
}

.header_menu_input:checked +.header_element_block .header_element #ham_menu span:nth-child(2) {
  width: 0px;
}

.header_menu_input:checked +.header_element_block .header_element #ham_menu span:nth-child(3) {
  rotate: -35deg;
  width: 48px;
  top: 18px;
  left: -5px;
}

.header_element_icon_lang {
    height: 40px;
    width: 40px;
    object-fit: cover;
    cursor: pointer;
}

#night_day_button {
  margin: 30px 10px;
  border-radius: 50%;
  float: left;
  height: 40px;
  width: 40px;
  cursor: pointer;
  border: none;
  outline: none;
  background-color: transparent;
}

#night_day_button img{
  border-radius: 50%;
  height: 40px;
  width: 40px;
  object-fit: cover;
}

#moon{
}

#sun{
  display: none;
}

.night_mode #moon{
  display: none;
}

.night_mode #sun{
  display: block;
}

.whatsapp_contact {
  margin: 30px 10px;
  padding: 0px 15px;
  border-radius: 15px;
  float: left;
  height: 40px;
  line-height: 40px;
  font-weight: bold;
  color: var(--bg-color);
  background-color: var(--main-text);
  cursor: pointer;
  box-shadow: none;
  transition: 0.6s color, 0.6s background-color, 0.6s box-shadow;
}

.whatsapp_contact:hover {
  color: var(--main-text);
  background-color: var(--bg-color);
  box-shadow: inset 0px 0px 0px 2px var(--main-text);
}

.header_menu {
  width: calc(100% + 30px);
  position: absolute;
  top: 100px;
  left: -15px;
  z-index: 9996;
  display: none;
  background-color: var(--bg-color);
  cursor: default;
  box-shadow: inset 0px 2px 7px 0px var(--main-text);
  padding-top: 10px;
}

.header_menu::before {
  width: 100%;
  height: 10px;
  display: block;
  position: absolute;
  z-index: 9998;
  bottom: -1px;
  right: 0px;
  background-color: var(--bg-color);
  content: "";
}

.header_menu::after {
  width: 100%;
  height: 10px;
  display: block;
  position: absolute;
  z-index: 9997;
  bottom: -10px;
  right: 0px;
  background-color: var(--bg-color);
  content: "";
  box-shadow: 0px 2px 7px 0px var(--main-text);
}

.header_menu_close {
  width: calc(100% + 30px);
  height: calc(100vh - 100px);
  display: none;
  position: absolute;
  z-index: 9995;
  top: 100px;
  left: -15px;
  background-color: transparent;
}

.header_menu_content {
  width: 1440px;
  float: left;
  margin: 0px calc((100% - 1440px)/2);
  z-index: 9998;
  position: relative;
  max-height: calc(100vh - 250px);
  overflow-y: auto;
  overflow-x: hidden;
}

.header_menu_content::-webkit-scrollbar {
  width: 5px;
}

.header_menu_content::-webkit-scrollbar-track {
  box-shadow: inset 0 0 2.5px var(--bg-color); 
  border-radius: 2.5px;
}

.header_menu_content::-webkit-scrollbar-thumb {
  background: var(--main-text-2); 
  border-radius: 2.5px;
  transition: 1s background;
}

.header_menu_content::-webkit-scrollbar-thumb:hover {
  background: var(--main-text); 
}

.header_menu_input:checked +.header_element_block .header_menu {
  display: block;
}

.header_menu_input:checked +.header_element_block .header_menu_close {
  display: block;
}

.header_menu_column {
  width: 687px;
  margin: 10px 15px;
  float: left;
}

.header_menu_column_100 {
  width: 1410px;
  margin: 10px 15px;
  float: left;
}

.header_menu_line {
  width: 100%;
  height: 1px;
  float: left;
}

.header_menu_line_3 {
  display: none;
}

.header_menu_line_2 {
  display: none;
}

.header_menu_title {
  width: calc(100% - 15px);
  margin: 10px 0px 5px 15px;
  float: left;
  font-size: var(--font-size-5);
  line-height: calc(var(--font-size-5) + 2px);
  min-height: calc(var(--font-size-5) + 2px);
  color: var(--main-text);
  z-index: 9998;
  position: relative;
  font-weight: 900;
  text-align: center;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--main-text);
}

.header_menu_elements {
  width: 323px;
  float: left;
  color: var(--main-text);
  background-color: transparent;
  margin: 10px;
  box-shadow: none;
  transition: 0.5s box-shadow, 0.5s color, 0.5s background-color;
  cursor: pointer;
  border-radius: 10px;
  display: block;
}

.header_menu_column_100 .header_menu_elements {
  margin: 10px 12px 10px 13px;
}

.header_menu_academy .header_menu_elements {
  min-height: 100px;
  margin: 10px;
}

.header_menu_hidden_2 {
  width: 33px;
  height: 30px;
  float: left;
}

.header_menu_elements:hover {
  box-shadow: 0px 0px 10px 0px #7b7b7b;
  color: var(--bg-color);
  background-color: var(--main-text);
}

.header_menu_elements img{
  width: 25px;
  height: 25px;
  margin: 0px 10px;
  margin-top: 10px;
  float: left;
  object-fit: cover;
}

.header_menu_elements .menu_element_white{
  display: none;
}

.header_menu_elements:hover .menu_element_black {
  display: none;
}

.header_menu_elements:hover .menu_element_white {
  display: block;
}

#header_menu.night_mode .header_menu_content .header_menu_elements .menu_element_black{
  display: none;
}

#header_menu.night_mode .header_menu_content .header_menu_elements .menu_element_white{
  display: block;
}

#header_menu.night_mode .header_menu_content .header_menu_elements:hover .menu_element_black {
  display: block;
}

#header_menu.night_mode .header_menu_content .header_menu_elements:hover .menu_element_white {
  display: none;
}

.header_menu_elements h4{
  width: 263px;
  font-size: var(--font-size-6);
  min-height: calc(var(--font-size-6) + 2px);
  line-height: calc(var(--font-size-6) + 2px);
  float: right;
  margin-top: 10px;
  padding: 0px 10px 0px 5px;
}

.header_menu_elements p{
  width: 263px;
  font-size: var(--font-size-7);
  min-height: calc(var(--font-size-7) + 2px);
  line-height: calc(var(--font-size-7) + 2px);
  float: right;
  margin: 10px 0px;
  padding: 0px 10px 0px 5px;
}













@media (max-width: 1700px) {

  #header_content {
    width: 1360px;
    padding: 0px calc((100% - 1360px)/2);
  }

  .header_menu_content {
    width: 1360px;
    margin: 0px calc((100% - 1360px)/2);
  }

  .header_menu_column {
    width: 660px;
    margin: 8px;
  }

  .header_menu_column_100 {
    width: 1340px;
    margin: 8px;
  }

  .header_menu_elements {
    width: 310px;
  }

.header_menu_hidden_2 {
  width: 16px;
}

  .header_menu_elements h4{
    width: 255px;
    padding: 0px 5px 0px 5px;
  }

  .header_menu_elements p{
    width: 255px;
    padding: 0px 5px 0px 5px;
  }

}









@media (max-width: 1440px) {

header {
  height: 90px;
}

#header_content {
  height: 90px;
  width: 1280px;
  padding: 0px calc((100% - 1280px)/2);
}

#header_logo img {
  height: calc(100% - 30px);
  margin: 15px 0px;
}

.header_element_menu, .header_element_lang {
    margin: 25px 10px;
}

#night_day_button {
    margin: 25px 10px;
}

.whatsapp_contact {
    margin: 25px 10px;
}

.header_menu {
  top: 90px;
}

.header_menu_close {
  height: calc(100vh - 90px);
  top: 90px;
}

.header_menu_content {
  width: 1280px;
  margin: 0px calc((100% - 1280px)/2);
}

.header_menu_column {
  width: 617px;
  margin: 10px;
}

.header_menu_column_100 {
  width: 1260px;
  margin: 10px;
}

.header_menu_elements {
  width: 298px;
  margin: 5px;
}

.header_menu_column_100 .header_menu_elements {
  margin: 5px 7px 5px 8px;
}

.header_menu_academy .header_menu_elements {
  min-height: 92px;
  margin: 5px;
}

.header_menu_hidden_2 {
  width: 22px;
}

.header_menu_elements img{
  width: 20px;
  height: 20px;
}

.header_menu_elements h4{
  width: 248px;
  padding: 0px 5px;
}

.header_menu_elements p{
  width: 248px;
  padding: 0px 5px;
}
}








@media (max-width: 1280px) {

header {
  height: 80px;
}

#header_content {
  height: 80px;
  width: 1024px;
  padding: 0px calc((100% - 1024px)/2);
}

#header_logo img {
  height: calc(100% - 20px);
  margin: 10px 0px;
}

.header_element_menu, .header_element_lang {
    margin: 20px 10px;
}

#night_day_button {
    margin: 20px 10px;
}

.whatsapp_contact {
    margin: 20px 10px;
}

.header_menu {
  top: 80px;
}

.header_menu_close {
  height: calc(100vh - 80px);
  top: 80px;
}

.header_menu_content {
  width: 1024px;
  margin: 0px calc((100% - 1024px)/2);
}

.header_menu_column {
  width: 498px;
  margin: 5px;
}

.header_menu_column_100 {
  width: 1014px;
  margin: 5px;
}

.header_menu_elements {
  width: 239px;
  margin: 5px;
}

.header_menu_column_100 .header_menu_elements {
  margin: 5px 7px 5px 7px;
}

.header_menu_academy .header_menu_elements {
  min-height: 88px;
  margin: 5px;
}

.header_menu_hidden_2 {
  width: 10px;
}

.header_menu_elements img {
    width: 17px;
    height: 17px;
    margin: 10px 5px 0px 10px;
}

.header_menu_elements h4{
  width: 197px;
  padding: 0px 5px;
}

.header_menu_elements p{
  width: 219px;
  padding: 0px 10px;
}
}









@media (max-width: 1024px) {

header {
  height: 80px;
}

#header_content {
  height: 80px;
  width: 760px;
  padding: 0px calc((100% - 760px)/2);
}

#header_logo img {
  height: calc(100% - 30px);
  margin: 15px 0px;
}

.header_element_menu, .header_element_lang {
    margin: 20px 5px;
}

#night_day_button {
    margin: 25px 5px;
  height: 30px;
  width: 30px;
}


#night_day_button img{
  height: 30px;
  width: 30px;
}

.whatsapp_contact {
    margin: 25px 5px;
    padding: 0px 10px;
    border-radius: 10px;
    height: 30px;
    line-height: 30px;
}

.header_element_menu, .header_element_lang {
    height: 30px;
margin: 25px 5px;
}

.header_element_icon_lang {
    height: 30px;
    width: 30px;
}



#ham_menu {
  height: 30px;
  width: 30px;
  position: relative;
}

#ham_menu span {
  height: 3px;
  width: 30px;
}

#ham_menu span:nth-child(1) {
  top: 4px;
}

#ham_menu span:nth-child(2) {
  top: 13px;
}

#ham_menu span:nth-child(3) {
  top: 23px;
}

.header_menu_input:checked +.header_element_block .header_element #ham_menu span:nth-child(1) {
  width: 37px;
  top: 14px;
  left: -5px;
}

.header_menu_input:checked +.header_element_block .header_element #ham_menu span:nth-child(3) {
  width: 37px;
  top: 14px;
  left: -5px;
}

.header_menu {
  top: 80px;
}

.header_menu_close {
  height: calc(100vh - 80px);
  top: 80px;
}

.header_menu_content {
  width: 760px;
  margin: 0px calc((100% - 760px)/2);
}

.header_menu_column {
  width: 745px;
  margin: 5px;
}

.header_menu_column_100 {
  width: 745px;
  margin: 5px;
}

.header_menu_line {
  display: none;
}

.header_menu_line_3 {
  display: block;
}

.header_menu_elements {
  width: 238px;
  margin: 5px;
}

.header_menu_column_100 .header_menu_elements {
  margin: 5px;
}

.header_menu_academy .header_menu_elements {
  min-height: 88px;
  margin: 5px;
}

.header_menu_hidden_2 {
  width: 0px;
}

.header_menu_elements img {
    width: 17px;
    height: 17px;
    margin: 10px 5px 0px 10px;
}

.header_menu_elements h4{
  width: 196px;
  padding: 0px 5px;
}

.header_menu_elements p{
  width: 218px;
  padding: 0px 10px;
}
}













@media (max-width: 768px) {

header {
  height: 60px;
}

#header_content {
  height: 60px;
  width: 460px;
  padding: 0px calc((100% - 460px)/2);
}

#header_logo img {
  height: calc(100% - 20px);
  margin: 10px 0px;
}

.header_element_menu, .header_element_lang {
    margin: 15px 5px;
}

#night_day_button {
    margin: 17px 5px;
  height: 26px;
  width: 26px;
}


#night_day_button img{
  height: 26px;
  width: 26px;
}

.whatsapp_contact {
    margin: 17px 5px;
    padding: 0px 10px;
    border-radius: 10px;
    height: 26px;
    line-height: 26px;
}

.header_element_menu, .header_element_lang {
    height: 26px;
margin: 17px 5px;
}

.header_element_icon_lang {
    height: 26px;
    width: 26px;
}



#ham_menu {
  height: 26px;
  width: 26px;
}

#ham_menu span {
  height: 2px;
  width: 26px;
}

#ham_menu span:nth-child(1) {
  top: 4px;
}

#ham_menu span:nth-child(2) {
  top: 12px;
}

#ham_menu span:nth-child(3) {
  top: 20px;
}

.header_menu_input:checked +.header_element_block .header_element #ham_menu span:nth-child(1) {
  width: 31px;
  top: 12px;
  left: -5px;
  rotate: 36deg;
}

.header_menu_input:checked +.header_element_block .header_element #ham_menu span:nth-child(3) {
  width: 31px;
  top: 12px;
  left: -5px;
  rotate: -36deg;
}

.header_menu {
  top: 60px;
}

.header_menu_close {
  height: calc(100vh - 60px);
  top: 60px;
}

.header_menu_content {
  width: 460px;
  margin: 0px calc((100% - 460px)/2);
}

.header_menu_column {
  width: 455px;
  margin: 5px;
}

.header_menu_column_100 {
  width: 455px;
  margin: 5px;
}

.header_menu_line {
  display: none;
}

.header_menu_line_3 {
  display: none;
}

.header_menu_line_2 {
  display: block;
}

.header_menu_elements {
  width: 217px;
  margin: 5px;
}

.header_menu_column_100 .header_menu_elements {
  margin: 5px;
}

.header_menu_academy .header_menu_elements {
  min-height: 88px;
  margin: 5px;
}

.header_menu_academy .header_menu_elements:nth-child(3),
.header_menu_academy .header_menu_elements:nth-child(8),
.header_menu_academy .header_menu_elements:nth-child(13) {
  margin-right: 5px;
}

.header_menu_elements img {
    width: 17px;
    height: 17px;
    margin: 10px 5px 0px 10px;
}

.header_menu_elements h4{
  width: 175px;
  padding: 0px 5px;
}

.header_menu_elements p{
  width: 197px;
  padding: 0px 10px;
}
}













@media (max-width: 480px) {

header {
  height: 60px;
}

#header_content {
  height: 60px;
  width: calc(100% - 20px);
        min-width: 320px;
  padding: 0px 10px;
}

#header_logo img {
  height: calc(100% - 30px);
  margin: 15px 0px;
}

.header_element_menu, .header_element_lang {
    margin: 15px 5px;
}

#night_day_button {
    margin: 17px 5px;
  height: 26px;
  width: 26px;
}


#night_day_button img{
  height: 26px;
  width: 26px;
}

.whatsapp_contact {
    margin: 17px 5px;
    padding: 0px 10px;
    border-radius: 10px;
    height: 26px;
    line-height: 26px;
}

.header_element_menu, .header_element_lang {
    height: 26px;
margin: 17px 5px;
}

.header_element_icon_lang {
    height: 26px;
    width: 26px;
}



#ham_menu {
  height: 26px;
  width: 26px;
}

#ham_menu span {
  height: 2px;
  width: 26px;
}

#ham_menu span:nth-child(1) {
  top: 4px;
}

#ham_menu span:nth-child(2) {
  top: 12px;
}

#ham_menu span:nth-child(3) {
  top: 20px;
}

.header_menu_input:checked +.header_element_block .header_element #ham_menu span:nth-child(1) {
  width: 31px;
  top: 12px;
  left: -5px;
  rotate: 36deg;
}

.header_menu_input:checked +.header_element_block .header_element #ham_menu span:nth-child(3) {
  width: 31px;
  top: 12px;
  left: -5px;
  rotate: -36deg;
}

.header_menu {
  top: 60px;
}

.header_menu_close {
  height: calc(100vh - 60px);
  top: 60px;
}

.header_menu_content {
  width: calc(100% - 40px);
  margin: 0px 20px;
}

.header_menu_column {
  width: calc(100% - 10px);
  margin: 5px;
}

.header_menu_column_100 {
  width: calc(100% - 10px);
  margin: 5px;
}

.header_menu_line_2 {
  display: none;
}

.header_menu_elements {
  width: calc(100% - 10px);
  margin: 5px;
}

.header_menu_column_100 .header_menu_elements {
  margin: 5px;
}

.header_menu_academy .header_menu_elements {
  min-height: 70px;
  margin: 5px;
}

.header_menu_academy .header_menu_elements:nth-child(3),
.header_menu_academy .header_menu_elements:nth-child(8),
.header_menu_academy .header_menu_elements:nth-child(13) {
  margin-right: 5px;
}

.header_menu_elements img {
    width: 25px;
    height: 25px;
    margin: 10px;
}

.header_menu_elements h4{
  width: calc(100% - 55px);
  padding: 0px 5px;
}

.header_menu_elements p{
  width: calc(100% - 65px);
  padding: 0px 10px;
}
}