body{
    margin: 0px;
    font-family: 'Roboto', sans-serif;
    color: rgb(41, 77, 136);
}

.site_load{
    opacity: 0;
    transition: opacity 1s ease-in-out;
}


.site_load.loaded{
    opacity: 1;

}

.bars{
    display: none;
}

nav div:nth-of-type(5) .nav_buttons{
    display: none;
}

.bg-color{
    background-color: rgb(180, 212, 221);
    padding-bottom: 100px;
}


header{
    display: flex;
    justify-content: space-between;

}

#aside_img{
    background-color: rgb(180, 212, 221);
    padding-top: 35px;
    padding-left: 10px;
}

nav{
    /* background-color: rgb(180, 212, 221); */
    display:flex;
    gap: 10px;
    padding-top: 35px;
    /* padding-right: 30px; I think this pushed outside of bondries on tablet*/
}


.nav_buttons{
border: none;
color: white;
padding: 7px 30px;
text-align: center;
text-decoration: none;
display: inline-block;
margin: 4px 2px;
cursor: pointer;
border-radius: 16px;
font-family: 'Roboto', sans-serif;
transition: all 0.3s ease-in-out;
}


.nav_buttons:hover{
    background-color: rgb(41, 77, 136);
    color: white;
}

.active{
    background-color: rgb(41, 77, 136);
}


.login{
border: none;
color: rgb(41, 77, 136);
background-color: rgb(180, 212, 221);
font-size: 16px;
width: fit-content;
margin-left: -10px;
margin-right: 30px;
margin-top: -7px;
}


.login .pro{
    vertical-align: middle;
    /* margin-right: -8px; */
    text-align: center;
}

.login:hover{
    opacity: 75%;
}

.login span {
    vertical-align: middle;
    text-align: center;
  }


.container_two{
  background-color: rgb(180, 212, 221);
  margin-inline: auto;
  width: 60%;
  max-width: 950px;
  padding: 50px;
  border: rgb(41, 77, 136) solid 1px;
  margin-top: 100px;


}

.book_service{
 display: flex;
 /* width: 50%; */
 margin-inline: auto;
 justify-content: space-between;
 
}


#timezones{
    border: solid 1px rgb(41, 77, 136);
    background-color: transparent;
    padding: 5px;
}



.available_times{
  /* width:100px; */
 
}

.available_times button{
    background-color: rgb(41, 77, 136);
    color: white;
    width: 150px;
    height: 40px;
    border-radius: 100px;
    border:none;
    margin-top: 7px;
} 

 .available_times button:hover{
    opacity: 75%;
 }

 .time.active {
    border: 2px solid white; /* Adding border when button is active */
    opacity: 90%;
  }





#back-to-services{
  color: rgb(41, 77, 136);
}


#next{
  background-color: rgb(41, 77, 136);
  color: white;
  width: 200px;
  height: 40px;
  border-radius: 100px;
  border:none;
}

#next:hover{
  opacity: 75%;
}





  footer{
    font-family: 'Roboto', sans-serif;
    color: rgb(41, 77, 136);
    padding-top: 30px;
    background-color:white;
}

#footer_icon{
    align-self: center;
}

.contact_info{
    display: flex;
    justify-content: space-evenly;
}

.info{
    line-height: 25px;

}

.info ul{
    list-style-type: none;
}

footer p{
    text-align: center;
}

.social{
    text-decoration: none;
    color: rgb(41, 77, 136);
}

.social:hover{
    opacity: 75%;
}

p a {
    color: rgb(41, 77, 136);
}

p a:hover{
    opacity: 75%;
}

hr{
    width:95%; 
    background-color: rgb(41, 77, 136);
    height: 1px;
    border: 0;
    
}

.footer_note{
    font-size: small;
    margin-block: 30px;
}



@media screen and (max-width: 1475px){

    .book_service{
        display: grid;
        grid-template-columns: 2fr 1fr;
    }

}


@media screen and (max-width: 1200px){

    .container_two{
        text-align: center;
    }

    .book_service{
        display: inline-block;
    }

  .container_two h2 , .container_two h2 + p{
        text-align: left;
    }

    #back-to-services {
        display: block;
        width: fit-content;

    }

}


@media screen and (max-width: 950px){


    .bars{
        display:inline-block;
        margin-top:25px;
        position: fixed;
        z-index: 3;
        top: 0;
        right:0;
       
    }
    
    
    nav{
        flex-direction: column;
        position:fixed;
        z-index: 3;
        top:0;
        right:0;
        padding-top:0;
        padding-inline:25px;
        margin-top: 75px;
        background-color: rgb(41, 77, 136);
        transition: 0.3 ease;
    }

    .nav_buttons{
       background-color: none;
       border-radius: 0;
       padding:0;
       margin-block: 5px ;
    }

    .nav_buttons:hover{
        color:rgb(180, 212, 221);
    }

    nav div:nth-of-type(5) .nav_buttons{
        display: inline-block;
    }

    .pro{
        display: none;
    }

    nav div:nth-of-type(6) .nav_buttons, .login, .login span{
        display: none;

    }
   

    .active{
        background-color: transparent;
        /*This is a bandaid solution. Find a way to get rid of this class, not hide it*/
    }



    #navbar.hidden {
        display: none;
    }

    

}


@media screen and (max-width: 650px){
    footer .contact_info{
        display: inline-block;
    }
}


@media screen and (max-width: 545px){

    .available_times button{
        width: 100px;
        height: 30px;
        margin-top: 7px;
    } 

    .available_times table{
        margin-inline:auto;
    }

}

@media screen and (max-width: 500px){
    .container_two{
        padding-inline:0 ;
        border: none;
        width:100%;
    }

    #back-to-services , .container_two h2 , .container_two h2 + p{
        margin-left: 15px;
    }


    #next{
        width: 150px;
        height: 30px;
        
    }



        #aside_img{
            margin-inline:-15px ;
            padding-inline: 0;
        }

    





    }




