/*=============== GOOGLE FONTS ===============*/
@font-face {font-family: "Noto";src:url(NotoSans.ttf);}
@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Playfair+Display:ital,wght@0,400..900;1,400..900&display=swap');
/*=============== VARIABLES CSS ===============*/
:root {
  --header-height: 2.7rem;

  /*========== Colors ==========*/
  /*Color mode HSL(hue, saturation, lightness)*/
  --black-color: #181818;
  --bg-color: #1a1a1a;
  --bg-color2: #181818;
  --black-color-light: hsl(0, 0%, 11%);
  --black-color-lighten: hsl(0, 0%, 100%);
  --white-color: #ff0000;
  --dropdown-bg-color: #fd000070;
  --dropdown-border-color: #ff0000;
  --body-color: hsl(220, 100%, 97%);
  --link-color: #f1f1f1;
  --link-line-color:#ff0000;
  --svg-color: #ff0000;
  --svg2-color: #e2e2e2;
  --hr-color: #ff0000;
  --svg-hover-color: #ff0000;
  --link-color-hover: #ff0000;
  --arrow-color-hover:#ff0000;
  --navlink-hover: #ff0000;
  --navlink: #bbbbbb;
  --company-color: #b8b8b8;
  --company-color-hover: #ff0000;
  --topic_color:#ffffff;


  /*========== Font and typography ==========*/
  /*.5rem = 8px | 1rem = 16px ...*/
  --body-font: "Arial", sans-serif;
  --normal-font-size: 0.800rem;
  --normal-font-size2: 0.800rem;
  --h1-font-size: 0.938rem;
  --h2-font-size: 0.938rem;
  --h2-font-line: 0.938rem;

  /*========== Font weight ==========*/
  --font-regular: 300;
  --font-semi-bold: 300;

  /*========== z index ==========*/
  --z-tooltip: 10;
  --z-fixed: 100;
}

/*========== Responsive typography ==========*/
@media screen and (min-width: 1024px) {
  :root {
    --normal-font-size: 0.838rem;
  }
}

/*=============== BASE ===============*/
* {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}

body {
  font-family: var(--body-font);
  font-size: var(--normal-font-size);
  background-color: var(--body-color);
}

ul {
  list-style: none;
  /* Color highlighting when pressed on mobile devices */
  /*-webkit-tap-highlight-color: transparent;*/
}

a, .nav__link a, .dropdown__item a, .dropdown__link a, .nav__link a, .nav__menu a{
  text-decoration: none;
  color: var(--white-color);
}

/*=============== REUSABLE CSS CLASSES ===============*/
.container {
  max-width: 1700px;
  margin-inline: 1.5rem;
}

/*=============== HEADER ===============*/
.nav_header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: var(--bg-color);
  box-shadow: 0 2px 16px hsla(220, 32%, 8%, 0.1);
  z-index: var(--z-fixed);
}

.navheader-underline{
height: 1px;
width: 100%;
position:relative;
float: left;
background: var(--bg-color2);
}

/*=============== NAV ===============*/
.nav {
  height: var(--header-height);
}

.svg-icon path{
    fill: var(--svg-color) !important;
}

.svg2-icon path{
  fill: var(--svg2-color) !important;
}

a:hover .svg-icon path{
    fill: var(--svg-hover-color) !important;
}

.svg-icon{
    height: 17px; width:30px;
    position:relative; float:left;
    top:0px;
    margin:0px;
    transition: all 200ms ease-in-out;
}

.svg2-icon{
  height: 15px; width:20px;
  position:relative; float:left;
  top:0px;
  margin:0px;
  transition: all 200ms ease-in-out;
}

.svg-company path{
    fill: var(--company-color) !important;
}

a:hover .svg-company path{
    fill: var(--company-color-hover) !important;
}

.svg-company{
    height: 30px; width:30px;
    position:relative; float:left;
    top:0px;
    margin:0px;
    transition: all 200ms ease-in-out;
}


.svgarrow path{
    fill: var(--white-color) !important;
}

.dropdown__item:hover .svgarrow path{
    fill: var(--arrow-color-hover) !important;
}

.svgarrow{
    height: 10px; width:10px;
}


.nav__logo,
.nav__burger,
.nav__close {
  color: var(--white-color);
}

.nav__data {
  height: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav__logo {
  display: inline-flex;
  align-items: center;
  column-gap: 0.25rem;
  font-weight: var(--font-semi-bold);
}

.nav__logo i {
  font-weight: initial;
  font-size: 1.25rem;
}

.nav__toggle {
  position: relative;
  width: 32px;
  height: 32px;
  background-image:url('../images/navburger.png');
  display: block;
}

.nav__burger,
.nav__close {
  position: absolute;
  width: max-content;
  height: max-content;
  inset: 0;
  margin: auto;
  font-size: 1.25rem;
  cursor: pointer;
  transition: opacity 0.1s, transform 0.4s;
}

.nav__close {
  opacity: 0;
}

/* Navigation for mobile devices */
@media screen and (max-width: 1118px) {
  .nav__menu {
    position: absolute;
    left: 0;
    top: 2.5rem;
    width: 100%;
    height: calc(100vh - 3.5rem);
    overflow: auto;
    pointer-events: none;
    opacity: 0;
    transition: top 0.4s, opacity 0.3s;
  }

  .nav__menu::-webkit-scrollbar {
    width: 0;
  }

  .nav__list {
    background: var(--bg-color);
    padding-top: 1rem;
  }
}

.nav__link, .nav__list .nav__link{
  color: var(--navlink);
  background: transparent;
  font-weight: var(--font-semi-bold);
  padding: 1.0rem 1.0rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background-color 0.3s;
  font-family: "Arial", sans-serif;
  font-weight: 400;
  font-size:1.0rem;
}


.nav__link:hover, .dropdown__item:hover .nav__link{
  background-color: var(--white-color-light);
  color:var(--navlink-hover);
}

/* Show menu */
.show-menu {
  opacity: 1;
  top: 3.5rem;
  pointer-events: initial;
}

/* Show icon */
.show-icon .nav__burger {
  opacity: 0;
  transform: rotate(90deg);
}

.show-icon .nav__close {
  opacity: 1;
  transform: rotate(90deg);
}

.nav a{
  color:var(--link-color);
}

/*=============== DROPDOWN ===============*/
.dropdown__item {
  cursor: pointer;
}

.dropdown__arrow {
  font-size: 1.25rem;
  font-weight: initial;
  transition: transform 0.4s;
  margin-left:10px;
}

.dropdown__link,
.dropdown__sublink {
  padding: 1.5rem 1.5rem 1.5rem 2.5rem;
  color: var(--black-color-light);
  background-color: var(--dropdown-bg-color);
  align-items: center;
  min-width: 250px;
  column-gap: 0.5rem;
  font-weight: var(--normal-font-size);
  font-size: var(--normal-font-size2);
  transition: background-color 0.3s;
  z-index:1000;
  box-shadow: 0px 5px 25px 0px rgba(0, 0, 0, 0.2);
  font-family: var(--body-font);
  cursor:auto;
  border:1px solid var(--dropdown-border-color);
  backdrop-filter: blur(10px);
  border-radius:7px;
  color:var(--topic_color);
}

.dropdown__link_point{
padding-top:13px;
margin-top:10px;
margin-bottom:10px;
}

.dropdown__link_point a{
    color: var(--link-color);
    font-family: var(--body-font);
    }

    .dropdown__link_point a:hover{
        color: var(--link-color-hover);
        }

.dropdown__link i,
.dropdown__sublink i {
  font-size: 1.25rem;
  font-weight: initial;
}

.dropdown__link:hover,
.dropdown__sublink:hover {
  background-color: var(--dropdown-bg-color);
}

.dropdown__menu,
.dropdown__submenu {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out;
  z-index:500;
}


/* Show dropdown menu & submenu */
.dropdown__item:hover .dropdown__menu,
.dropdown__subitem:hover > .dropdown__submenu {
  max-height: 1000px;
  transition: max-height 0.4s ease-in;
}

/* Rotate dropdown icon */
.dropdown__item:hover .dropdown__arrow {
  transform: rotate(180deg);
}

/*=============== DROPDOWN SUBMENU ===============*/
.dropdown__add {
  margin-left: auto;
}

.dropdown__sublink {
  background-color: var(--black-color-lighten);
}

/*=============== BREAKPOINTS ===============*/
/* For small devices */
@media screen and (max-width: 340px) {
  .container {
    margin-inline: 1rem;
  }

  .nav__link {
    padding-inline: 1rem;
  }
}

/* For large devices */
@media screen and (min-width: 1118px) {
  .container {
    margin-inline: auto;
  }

  .nav {
    height: calc(var(--header-height) + 2rem);
    display: flex;
    
  }

  .drop__flex{
    display: flex;
}

.drop__flex_left{
    min-width: 200px;
}

.drop__flex_right{
    min-width: 200px;
    border-left:1px solid var(--hr-color);
    padding-left:20px;
    padding-right:20px;
}

  .nav__toggle {
    display: none;
  }

  .nav__list {
    height: 100%;
    display: flex;
    column-gap: .5rem;
  }

  .nav__link {
    height: 100%;
    padding: 0;
    justify-content: initial;
    padding-left:20px;
    padding-right:20px;
  }

  .nav__link:hover {
    background-color: transparent;
  }

  .dropdown__item,
  .dropdown__subitem {
    position: relative;
  }

  .dropdown__menu,
  .dropdown__submenu {
    max-height: initial;
    overflow: initial;
    position: absolute;
    left: 0;
    top: 4rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.15s, top 0.15s;
  }

  .dropdown__link h1{
    font-size: var(--h1-font-size);
    font-weight:lighter;
}

.dropdown__link hr{
margin-top:15px;
display: block;
height: 1px;
border: 0;
border-top: 1px solid var(--hr-color);
}

.dropdown__link h2{
    font-size: var(--h2-font-size);
    line-height: var(--h2-font-line);
    font-weight: initial;
}

  .dropdown__subitem .dropdown__link {
    padding-inline: 1rem;
  }

  .dropdown__submenu {
    position: absolute;
    left: 100%;
    top: 0.5rem;
  }

  /* Show dropdown menu */
  .dropdown__item:hover .dropdown__menu {
    opacity: 1;
    top: 3.5rem;
    pointer-events: initial;
    transition: top 0.1s;
  }

  /* Show dropdown submenu */
  .dropdown__subitem:hover > .dropdown__submenu {
    opacity: 1;
    top: 0;
    pointer-events: initial;
    transition: top 0.3s;
  }
}
