/*=============HEADER START==================*/

/*=============HEADER MAIN==================*/

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: white;
    color: solid black;
    box-shadow: 0 2px 16px hsla(220, 32%, 8%, .3);
    z-index: var(--z-fixed);
}

.content {
    padding-top:10px;
    padding-left: 16px;
    padding-right: 10px;
    padding-bottom: 16px;
}

/*=============== TOP NAV ===============*/
.navbar__top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    background-color: var(--white-color);
    padding-top: .3rem;
    padding-left: 1rem;
    padding-right: .9rem;
    padding-bottom: .2rem;
}

.logo {
    display: flex;
    align-items: center;
    text-align:center;
    width: 95%;
}

.img-circle {
  width: 4.7rem;
  height: 4.7rem;
  border-radius: 40%;
  object-fit: cover;
  box-shadow: 0px 0px 3px #5f5f5f,
        0px 0px 0px 5px #ecf0f3,
        8px 8px 15px #a7aaa7,
        -8px -8px 15px #fff;
}

.head_name {
    font-size: 2rem;
    font-weight: 900;
    color: darkblue;
}

.cerculam_medium {
    font-family:courier;
    font-size: .950rem;
    font-weight: 900;
}

.reg_dise {
    font-family:courier;
    font-size: .950rem;
    font-weight: 900;
}

.head-add {
    font-size: .870rem;
    font-weight: bold;
}


.festival-image {
    width: 15%;
}

.festival-image img {
    display: block;
    margin: 0 auto;
    width: 10.20rem;
    height: 4.7rem;
    border-radius:5%;
}

/*=============== HEADER ===============*/
.navbar {
  top: 0;
  left: 0;
  width: 100%;
  background-color: var(--black-color);
  box-shadow: 0 2px 16px hsla(220, 32%, 8%, .3);
  z-index: var(--z-fixed);
}

/*=============== NAV ===============*/
.nav {
  height: var(--header-height);
}

.nav__logo, 
.nav__burger, 
.nav__close {
  color: var(--white-color);
}

.nav__data {
  height: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-left:16px;
}

.nav__logo {
  display: inline-flex;
  align-items: center;
  column-gap: .25rem;
  font-weight: var(--font-semi-bold);
  /* Color highlighting when pressed on mobile devices */
  /*-webkit-tap-highlight-color: transparent;*/
}

.nav__logo i {
  font-weight: initial;
  font-size: 1.25rem;
}

.nav__toggle {
  position: relative;
  width: 32px;
  height: 32px;
}

.nav__burger, 
.nav__close {
  position: absolute;
  width: max-content;
  height: max-content;
  inset: 0;
  margin: auto;
  font-size: 1.25rem;
  cursor: pointer;
  transition: opacity .1s, transform .4s;
}

.nav__close {
  opacity: 0;
}


/*=================== MOBILE SETTING START==========================*/

/* Navigation for mobile devices MAX-468PX */
@media screen and (max-width: 468px) {
    .logo {
        font-size: 75%;
        width: 100%;
    }
    .img-circle {
      width: 2rem;
      height: 2rem;
    }
    .add {
       display: none;
    }
    
  .festival-image {
      display: none;
  }
  .content {
      font-size: 70%;
  }
}


/* Navigation for mobile devices MAX-516PX */
@media screen and (max-width: 516px) {
    .logo {
        font-size: 80%;
        width: 100%;
    }
    .img-circle {
      width: 2rem;
      height: 2rem;
    }
    .add {
       display: none;
    }
    
  .festival-image {
      display: none;
  }
  .content {
      font-size: 78%;
  }
}


/* Navigation for mobile devices MAX-644PX */
@media screen and (max-width: 644px) {
  .logo {
    width: 100%;
  }
    .logo img {
        width: 4rem;
        height: 4rem;
    }
    .logo span h2 {
        font-size: 90%;
    }
    .logo .cerculam_medium, .reg_dise {
        font-size: 75%;
    }
    .add {
        font-size: 50%;
    }
  .festival-image {
      display: none;
  }
  .content {
      font-size: 85%;
  }
}

/* Navigation for mobile devices MAX-890PX */
@media screen and (max-width: 890px) {
  .logo {
    width: 100%;
  }
    .logo img {
        width: 4.5rem;
        height: 4.5rem;
    }
    .logo span h2 {
        font-size: 96%;
    }
    .logo .cerculam_medium, .reg_dise {
        font-size: 85%;
    }
    .add {
        font-size: 70%;
    }
  .festival-image {
      display: none;
  }
  .content {
      font-size: 92%;
  }
}


/* Navigation for mobile devices MAX-1047PX */
@media screen and (max-width: 1047px) {
    .logo img {
        width: 4.5rem;
        height: 4.5rem;
    }
    .logo span p {
        font-size: 92%;
    }
    .logo .add {
        font-size: 90%;
    }
  .festival-image {
      display: none;
  }
  .logo {
    width: 100%;
  }
}

/*=================== MENUBAR FOR MOBILE TAB==========================*/
@media screen and (max-width: 1097px) {
  .nav__menu {
    position: absolute;
    right: 0;
    top: 0.5rem;
    width: 65%;
    height: calc(100vh - 3.5rem);
    overflow: auto;
    pointer-events: none;
    opacity: 0;
    transition: top .4s, opacity .3s;
  }
}  
/*=================== MOBILE SETTING END ==========================*/

.nav__link {
  color: var(--white-color);
  background-color: var(--black-color);
  font-size: .860rem;
  font-weight: var(--font-semi-bold);
  padding: .6rem .6rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background-color .3s;
}


/* Show menu */
.show-menu {
  opacity: 1;
  top: auto;
  pointer-events: initial;
}

/* Show icon */
.show-icon .nav__burger {
  opacity: 0;
  transform: rotate(90deg);
}
.show-icon .nav__close {
  opacity: 1;
  transform: rotate(90deg);
}


/*=============== DROPDOWN ARROW ===============*/
.dropdown__item {
  cursor: pointer;
}

.dropdown__arrow {
  font-size: 1rem;
  font-weight: initial;
  transition: transform .4s;
}

.dropdown__link, 
.dropdown__sublink {
  padding: .15rem .25rem .25rem 2.5rem;
  color: var(--white-color);
  background-color: var(--black-color-light);
  display: flex;
  align-items: center;
  column-gap: .5rem;
  font-weight: var(--font-semi-bold);
  transition: background-color .3s;
}

.dropdown__link i, 
.dropdown__sublink i {
  font-size: 1rem;
  font-weight: initial;
}

.nav__link:hover,
.dropdown__menu:hover, 
.dropdown__submenu:hover,
.dropdown__link:hover, 
.dropdown__sublink:hover{
  background-color: var(--white-color);
  color: var(--black-color);
}

.dropdown__menu, 
.dropdown__submenu {
  max-height: 0;
  overflow: hidden;
  transition: max-height .4s ease-out;
}

/* Show dropdown menu & submenu */
.dropdown__item:hover .dropdown__menu, 
.dropdown__subitem:hover > .dropdown__submenu {
  max-height: 1000px;
  transition: max-height .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);
}


/*=========================== COMMON SETTING END =========================*/


/*======================= SETTING START FOR LARG DEVICES=====================*/
/* For large devices */
@media screen and (min-width: 1098px) {
  .container {
    margin-inline: auto;
  }

  .nav {
    height: calc(var(--header-height));
    display: flex;
    justify-content: space-between;
  }
  .nav__toggle {
    display: none;
  }
  .nav__list {
    height: 100%;
    display: flex;
    column-gap: 1.5rem;
    padding-right: 60px;
  }
  .nav__link {
    height: 100%;
    justify-content: initial;
    column-gap: .10rem;
  }

  .dropdown__item, 
  .dropdown__subitem {
    position: relative;
  }

  .dropdown__menu, 
  .dropdown__submenu {
    max-height: initial;
    overflow: initial;
    position: absolute;
    left: 0;
    top: 6rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity .3s, top .3s;
  }

  .dropdown__link, 
  .dropdown__sublink {
    padding-inline: .5rem;
    width: 12rem;
  }
  
  .nav__link {
      font-size: .780rem; 
  }
  
  .dropdown__link, .dropdown__sublink {
      font-size: .760rem; 
  }

  .dropdown__link .dropdown__subitem {
    padding-inline: 1rem;
  }
  
  .dropdown__submenu {
    position: absolute;
    left: 100%;
    right: auto; /* Default to right */
    top: .5rem;
  }

  /* Show dropdown menu */
  .dropdown__item:hover .dropdown__menu {
    opacity: 1;
    top: 2rem;
    pointer-events: initial;
    transition: top .3s;
  }

  /* Show dropdown submenu */
  .dropdown__subitem:hover > .dropdown__submenu {
    opacity: 1;
    top: 0;
    pointer-events: initial;
    transition: top .3s;
  }
}

/*=================== LARGE DEVICES SETTING END==========================*/
