* {
    box-sizing: border-box;
}

html {
    background-color: #242423;
    width: 100%;
    height: 100%;
}

body {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
}

/* Header & Navigation */

#header {
    text-align: center;
    z-index: 1;
    position: fixed;
    top: 0;
    width: 100%;
    color: white;
    transition: top 0.5s;
    margin: 0.9em;
}

#title {
    text-decoration: none;
    color: white;
    display: inline-block;
    position: relative;
    vertical-align: middle;
    line-height: 2em;
}

#title * {
    margin: 0;
}

#navigation {
    display: none;
    vertical-align: middle;
    margin: 20px;
}

#navigation * {
    text-decoration: none;
    color: white;
    display: inline-block;
    margin: 0 10px;
}

#navigation *:hover {
    color: #F5CB5C;
}

#menu_icon {
    float: left;
    width: 2em;
    height: 2em;
    /* margin: 0.9em; */
    cursor: pointer;
    position: relative;
    vertical-align: middle;
    line-height: 2em;
}


/* Sidenav */

#sidenav {
    height: 100%;
    width: 0;
    position: fixed;
    z-index: 100;
    top: 0;
    left: 0;
    background-color: #CFDBD5;
    overflow-x: hidden;
    transition: 0.5s;
    padding-top: 60px;
    text-align:center;
}

#sidenav h1 {
    margin: auto;
    padding-bottom: 30px;
    width: 350px;
    color: #333533;
    display: block;
    transition: 0.3s;
}

#sidenav a {
    padding: 14px;
    text-decoration: none;
    font-size: 25px;
    color: #333533;
    display: block;
    transition: 0.3s;
}

#sidenav .closebtn {
    position: absolute;
    top: 0;
    right: 25px;
    font-size: 36px;
    margin-left: 50px;
}


/* Home */

#home {
    height: 100%;
}

.personalPhoto {
    position: absolute;
    max-width: 55%;
    max-height: 90%;
}

#zisis-personal-photo {
    bottom: 0;
    left: 0;
}

#maria-personal-photo {
    bottom: 0;
    right: 0;
}

#zisis-title {
    font-size: 1em;
    text-align: center;
    width: 25%;
    max-width: 220px;
    position: absolute;
    bottom: 4%;
    left: 10%;
    color: white;
    margin: 0;
}

#maria-title {
    font-size: 1em;
    text-align: center;
    width: 25%;
    max-width: 220px;
    position: absolute;
    bottom: 4%;
    right: 10%;
    color: white;
    margin: 0;
}

#home-info {
    position: relative;
    top: 15%;
    max-width: 35%;
    margin: auto;
    text-align: center;
}

#home-logo {
    max-width: 100%;
    max-height: 30vh;
    margin: 10% 0;
}

#social-media * {
    max-width: 20%;
    margin: 1%;
}

#social-media>a:nth-child(1)>img:hover {
    content: url("images/logos/Facebook-hover.png");
}

#social-media>a:nth-child(2)>img:hover {
    content: url("images/logos/Instagram-hover.png");
}

#down_arrow {
    position: absolute;
    bottom: 0;
    left: 0; 
    right: 0; 
    margin: auto;
    margin-bottom: 3%;
    z-index: 1;
    width: 10%;
    max-width: 100px;
    min-width: 50px;
    clear: both;
}
 
 @keyframes bounce { 
    0%, 20%, 50%, 80%, 100% {transform: translateY(0);} 
    40% {transform: translateY(-30px);} 
    60% {transform: translateY(-15px);} 
 }
 
 .bounce { 
    animation-fill-mode: both;
    animation: bounce 2s infinite; 
 }


/* Premises */

#premises {
    background-color: #333533;
}

#premises>h2 {
    text-align: center;
    margin: 0;
    padding: 20px;
    color: white;
}

#premises>h3 {
    padding: 0 12px;
    text-align: center;
    color: white;
}

#premises>p {
    padding: 0 24px;
    margin: auto;
    color: white;
    max-width: 850px;
    text-align: justify;
}

.flexContainer {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-evenly;
    gap: 20px;
    padding: 16px;
}

.flexContainer div {
    margin: 10px 0;
}

.flexContainer div h3 {
    color: white;
    text-align: center;
}

/* Slideshow */

.slideshow-container {
    max-width: 1000px;
    position: relative;
    margin: auto;
}

.treatment-slides, .waiting-slides, .office-slides {
    display: none;
}

.treatment-slides img, .waiting-slides img, .office-slides img {
    vertical-align: middle;
    max-height: 50vh;
    max-width: 100%;
    border-radius: 10px;
}

/* Next & previous buttons */
.prev, .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 16px;
    margin-top: -22px;
    color: white;
    font-weight: bold;
    font-size: 18px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
  }
  
  /* Position the "next button" to the right */
  .next {
    right: 0;
    border-radius: 3px 0 0 3px;
  }
  
  /* On hover, add a grey background color */
  .prev:hover, .next:hover {
    background-color: #f1f1f1;
    color: black;
  }


/* Bio */

#bio {
    background-color: #2C2D2B;
}

#bio>h2 {
    text-align: center;
    color: white;
    margin: 0;
    padding: 20px;
}

.bio-card {
    color: black;
    display: inline-block;
    text-align: center;
    max-width: 500px;
    min-width: 250px;
    background-color: #E8EDDF;
    border-radius: 5px;
    padding: 20px;
}

.bio-card img {
    width: 70%;
}

.bio-card h3 {
    color: black!important;
    min-height: 3.3em;
}

.bio-card p {
    text-align: justify;
}


/* Services */

#services {
    background-color: #333533;
}

#services>h2 {
    text-align: center;
    color: white;
    margin: 0;
    padding: 20px;
}

.serviceCard {
    color: white;
    display: inline-block;
    text-align: center;
    max-width: 500px;
    min-width: 200px;
    background-color: #242423;
    border-radius: 5px;
    padding: 20px;
}

.serviceCard img {
    max-width: 100%;
    max-height: 250px;
    border-radius: 5px;
}


/* Contact */

#contact>h2 {
    text-align: center;
    margin: 0;
    padding: 20px;
    color: white;
}

#contact>.flexContainer {
    align-items: center;
    gap: 30px;
}

.contactCard {
    flex-grow: 1;
    color: white;
    display: inline-block;
    max-width: 500px;
    width: 30%;
    min-width: 300px;
    max-height: 400px;
    background-color: #242423;
    border-radius: 5px;
}

.contactCard>iframe {
    padding: 20px;
    height: 400px;
    width: 100%;
}

.contactCard>a {
    content: none;
}

/* Footer */

footer p {
    padding: 12px;
    text-align: center;
    font-size: 1.3em;
    color: white;
}

footer a {
    color: #F5CB5C;
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

/* Orientation */

@media (orientation: landscape) {
    
    /* Home */

    .personalPhoto {
        max-width: 30%;
    }

    #home-info {
        top: 20%;
    }

    #home-logo {
        max-height: 40vh;
        margin: 5% 0;
    }

    
    /* Bio */

    .bio-card {
        max-width: 40%;
    }

    /* Services */
    .serviceCard {
        width: 40%;
    }
}


/* Tablet */

@media only screen and (min-width: 650px) {

    /* Header & Navigation */

    #navigation {
        display: block;
    }

    #menu_icon {
        display: none;
    }

    /* Home */

    #maria-title, #zisis-title {
        font-size: 1.5em;
    }

    .personalPhoto {
        max-width: 45%;
    }

    /* Premises */

    #premises>p {
        font-size: 1.2em;
    }

        /* Services */
    .serviceCard {
        width: 40%;
    }
}


/* Desktop */

@media only screen and (min-width: 900px) {

    /* Header & Navigation */
    
    #navigation {
        margin-left: 50px;
        margin-top: -22px;
    }
    
    #navigation>a:nth-child(2) {
        margin-right: 140px;
    }
    
    #navigation>a:nth-child(3) {
        margin-left: 140px;
    }


    /* Home */

    #home-info {
        top: 10%;
    }

    #home-logo {
        max-height: 50vh;
    }

    #social-media * {
        max-width: 12%;
    }

    /* Bio */
    
    .bio-card {
        max-width: 40%;
    }

}