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

body{
    font-family: Arial;
    background-image: url('back.png');
    background-repeat: no-repeat;
     background-position: center center; /* Centers the image */
  background-size: cover; /* Ensures the image covers the entire background */
  background-attachment: fixed;
}


.nav{
    background-color: #286bb9;

    --img1: scale(1);
    --img2: scale(0);
}

.nav:has( .dropdown:target ){
    --img1: scale(0);
    --img2: scale(1);

    --clip:inset(0 0 0 0);

}

.nav__container{
    width: 90%;
    margin: 0 auto;
    height: 70px;

    display: grid;
    grid-template-columns: max-content max-content;
    grid-template-areas: "title img";
    justify-content: space-between;
    align-items: center;

    overflow: hidden;
}

.nav__title{
    color: #fff;
    grid-area: title;
}


.nav__menu{
    grid-area: img;
    position: relative;
    z-index: 10;

    transform: var(--img1);
}

.nav__menu--second{
    transform: var(--img2);
}

.nav__icon{
    width: 30px;
    display: block;
}
table  {
    border-collapse: collapse;
    font-size: 14px;
    overflow: auto;
}
td, th {padding: 6px;}
tr {
  border: 1px solid #ddd;
}
.dropdown{
    position: absolute;
    background-color: rgb(0 0 0 / 0%);
    width: 90%;
    
    top: 100px;
    padding: 1em;

    display: grid;
    align-content:center ;
    gap: 1rem;

    overflow-y: auto;


}

.dropdown__list{
    list-style: none;
    border-style: solid;
  border-width: medium;
}



.dropdown__link{
    color: rgb(8 8 8);
    padding: 1em .7em;
    text-decoration: none;
    
    display: flex;
    align-items: center;
    gap: .6rem;

    position: relative;
    background-color: #afc6e5;
}

.info{
    background-color: rgba(247,247,247,0.5);
}

.dropdown__list:has( :checked ){
    --rows: 1fr;
    --rotate: rotate(180deg);
    --bg: #28303B;
}

.dropdown__check{
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

.dropdown__arrow{
    margin-left: auto;
    transform: var(--rotate, 0);
    transition: .2s transform;
}

.dropdown__content{
    display: grid;
    grid-template-rows: var(--rows, 0fr);
    transition: .3s grid-template-rows;
}

.dropdown__sub{
    overflow: hidden;

}

.dropdown__li{
    width: 85%;
    list-style: none;
    margin-left: auto;
}

.dropdown__anchor{
    padding: 1em 0;
    display: block;
    color: #B6BABE;
    text-decoration: none;
}

.hover-effect {
  transition: background-color 0.3s ease; /* Smooth transition for background color change */
}

.hover-effect:hover {
  background-color: lightblue; /* Background color on hover */
}

th { 
  background-color: #bdb7b76b;
}

select {
  // A reset of styles, including removing the default dropdown arrow
  appearance: none;
  // Additional resets for further consistency
  background-color: transparent;
  padding: 0 1em 0 0;
  margin: 0;
  width: 40%;
  font-family: inherit;
  font-size: inherit;
  cursor: inherit;
  line-height: inherit;
}

