/* I added this root things to use variabless so you can adjust the padding between the.. home about contact stuff etc..... */
:root {
  --paddingspacingfornavbar: 20px; 
  --DropDownMenuOneRight: calc(135px + (var(--paddingspacingfornavbar) - 20px) * 3 ); 
  /* --DropDownMenuTwoRight: calc(150px + (var(--paddingspacingfornavbar) - 20px) * 2 ); 
  --DropDownMenuThreeRight: calc(10px + (var(--paddingspacingfornavbar) - 20px) * 1 );  */
}

.navlogo{
    position: absolute;
    top: 0;
    color: rgb(0, 0, 0);
    font-size: 1.5rem;
    z-index: 999;
    list-style: none;
    justify-content: flex-start;
    margin-left: 20px;
    align-items: center;
}



nav{
    background-color: white;
    box-shadow: 3px 3px 5px rgba(0, 0, 0, 0.1);
    position: fixed;
    z-index: 10;
    top:0;
    width: 100%;
    /* border-bottom: 5px solid rgba(0, 0, 0, 0.492); */
  }

nav ul{
    width: 100%;
    list-style: none; /* this removes the dots */
    display: flex; /* this enables more mobility */
    justify-content: flex-end; /* this pushes them to the right side end */
    align-items: center; /* ceneters it with vertical axis */
  }


nav li{
    height: 70px;
    padding-right: var(--paddingspacingfornavbar); /* this padding here will space out the nav bar links more */
  }

nav a{
    height: 100%;
    padding: 0 30px;
    display: flex;
    align-items: center;
    color: black;
    font-size: 1.2rem;
    display: block;
    position: relative;
    padding: 20px 30px;
    text-decoration: none;
}

nav a:hover{
    color: green;
}
nav a::after{
    content: "";
    display: block;
    width: 0;
    height: 2px;
    background: black;
    position: relative;
    left:0;
    bottom: -10px;
}

nav a:hover::after{
    width: 100%;
    transition: width 0.5s;
}


.dropdown-menu {
    z-index: 999;
    position: absolute;
    right: var(--DropDownMenuOneRight);
    top: calc(100% + .25rem);
    background-color: white;
    padding: 0.75rem;
    border-radius: .25rem;
    box-shadow: 0 2px 2px 0 rgba(0, 0, 0, .2);
    opacity: 0%;
    pointer-events: none;
    transform: translateY(-10px);
    transition: opacity 400ms ease-in-out, transform 400ms ease-in-out;
}

.dropdown-menuSecond{
    z-index: 999;
    position: absolute;
    right: var(--DropDownMenuTwoRight);
    top: calc(100% + .25rem);
    background-color: white;
    padding: 0.75rem;
    border-radius: .25rem;
    box-shadow: 0 2px 2px 0 rgba(0, 0, 0, .2);
    opacity: 0%;
    pointer-events: none;
    transform: translateY(-10px);
    transition: opacity 400ms ease-in-out, transform 400ms ease-in-out;
}

.dropdown-menuThird{
    z-index: 999;
    position: absolute;
    right: var(--DropDownMenuThreeRight);
    top: calc(100% + .25rem);
    background-color: white;
    padding: 0.75rem;
    border-radius: .25rem;
    box-shadow: 0 2px 2px 0 rgba(0, 0, 0, .2);
    opacity: 0%;
    pointer-events: none;
    transform: translateY(-10px);
    transition: opacity 400ms ease-in-out, transform 400ms ease-in-out;
}

.dropdown:hover .dropdown-menu, .dropdown:hover .dropdown-menuSecond, .dropdown:hover .dropdown-menuThird{
    opacity: 1;
    transform: translateY(-3px);
    pointer-events: auto;
}

.dropdown-item{
    font-size: 1rem;
}

.sidebar{
    padding:0px;
    position: fixed;
    top: 0; 
    right: 0;
    height: 100vh;
    width: 250px;
    background-color: rgba(255, 255, 255, 0.59);
    /* -webkit-backdrop-filter: blur(20px); */
    backdrop-filter: blur(20px);
    box-shadow: -10px 0 10px rgba(0, 0, 0, 0.1);
    list-style: none;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    z-index: 999;
  }

.sidebar li{
    width: 100%;
    margin-top: 10px;
}

.sidebar a{
    width: 100%;
}

.menu-button{
    display: none;
}


.activeNav{
    border-radius: 5%;
    background-color: rgba(39, 39, 39, 0.068);
    width: 100%;
}


@media(max-width:1024px){
  .PageOne{
    background-size: cover;
  }
}

@media(max-width: 768px){
  .hideOnMobile{
    display: none;
  }
  .menu-button{
    display: block;
  }
}

@media(max-width:425px){
  .hideOnMobile{
    display: none;
  }
  .menu-button{
    display: block;
  }
}

@media(max-width:375px){

  .navlogo{
    margin-left: 0px;
  }

  .navlogo li a{
    font-size: 15px;
  }

  .hideOnMobile{
    display: none;
  }
  .menu-button{
    display: block;
  }
}


@media(max-width:320px){

  .navlogo{
    margin-left: 0px;
  }

  .navlogo li a{
    font-size: 15px;
  }

  .hideOnMobile{
    display: none;
  }
  .menu-button{
    display: block;
  }
}