/*------------------------- media query -------------------------*/

@media (max-width: 1370px) {
    header .hosp-logo-and-name .hosp-name {
        font-size: 4rem;
        color: rgb(46, 142, 88);
        transition: 1s;
    }
}

@media (max-width: 915px) {
    header .hosp-logo-and-name .hosp-name {
        font-size: 3.5rem;
        transition: 1s;
    }

    .mobile-search form input {
        display: flex;
    }
}

@media (max-width: 820px) {
    header .hosp-logo-and-name .hosp-name {
        font-size: 3rem;
        transition: 1s;
    }

    .mobile-search form input {
        display: flex;
    }
}

/* ***************************************************************************************************************************************************
                                                                  max-width: 725px
*************************************************************************************************************************************************** */

@media (max-width: 725px) {
    /* ----------------------------------------- common ----------------------------------------- */
    /*********** common | footer ***********/
    header {
        border-bottom: 0.5em solid rgb(46, 142, 88);
    }

    header .hosp-logo-and-name a .hosp-logo {
        width: 4em;
    }

    header .hosp-logo-and-name .hosp-name {
        font-size: 2.5rem;
        transition: 1s;
    }

    header nav .nav-items {
        display: block;
        margin-left: 10px;
        margin-bottom: 10px;
        border-bottom: none;
    }

    header nav .nav-items .nav-item {
        display: none;
    }

    header nav .nav-items .menu-icon {
        display: flex;
    }

    header .background-image-change-indicator {
        display: flex;
        justify-content: center;
    }
    
    header .background-image-change-indicator .indicator {
        width: 0.65em;
        height: 0.65em;
    }

    .desktop-search {
        display: none;
    }

    .mobile-search {
        display: flex;
    }

    .mobile-search form input {
        display: flex;
        width: 9rem;
    }

    .main .page-name {
        display: flex;
        justify-content: center;
        font-size: small;
        padding: 0;
    }

    .main .page-name h1 {
        font-size: 1.5em;
    }

    /*********** common | footer ***********/

    footer {
        padding-left: 20px;
        height: 55em;
    }

    footer .sub-footer {
        display: block;
        padding-bottom: 10px;
    }

    footer .sub-footer .footer-div .footer-item {
        display: block;
    }

    footer .sub-footer .footer-div form .form-item {
        display: flex;
        align-items: center;
    }

    footer .sub-footer .footer-div form .form-item div{
        display: flex;
        justify-content: center;
        align-items: center;
    }

    footer .copyright-footer {
        display: block;
        padding-bottom: 10px;
    }

    /* ----------------------------------------- index.php ----------------------------------------- */

    .main .home-welcome-title {
        font-size: 1.5em;
        transition: 1s;
    }

    .main .welcome-title-text {
        font-size: 2em;
        transition: 1s;
    }

    .main .home-welcome-message {
        margin: auto;
        width: 90%;
    }
    
    .main .find-doc-appointment a{
        padding: 1em 2em;
        border-radius: 50px;
    }
    
    .about {
        display: block;
        padding: 5px;
    }

    .about img {
        border-radius: 10px;
        width: 93%;
        height: 10%;
    }
    
    .about .about-contents {
        width: 93%;
    }
    
    .about .about-content-title {
        width: 93%;
    }
    
    /* ----------------------------------------- display_content / (visitoruse-service-display.php) ----------------------------------------- */

    .main .sub-main .service .service-content-display {
        display: flex;
        flex-direction: column;
        padding: 0;
    }

    .main .sub-main .service-content-display .service-content-display-main {
        text-align: left;
        width: 96%;
        margin: 1em;
    }

    /* ----------------------------------------- nav_pages / (visitoruse-contact.php) ----------------------------------------- */
    
    /* ----------------------------------------- nav_pages / (visitoruse-service.php) ----------------------------------------- */

    .service-main {
        width: 100%;
    }

    .service {
        display: flex;
        justify-content: center;
    }

    .service .service-contents {
        display: flex;
    }

    .service .service-contents .service-content {
        width: 99%;
        transition: 1s;
    }

    .contact .contact-contents .contact-content-div {
        display: block;
        padding: 5px;
    }

    .contact .contact-contents .contact-content-1,
    .contact .contact-contents .contact-content-2 {
        border-bottom: 1px solid rgb(194, 194, 194);
    }

    .contact .contact-contents .contact-content-form form {
        width: 70%;
    }
}

@media (max-width: 675px) {
    header .hosp-logo-and-name a .hosp-logo {
        width: 3em;
    }

    header .hosp-logo-and-name .hosp-name {
        font-size: 1.5rem;
        transition: 1s;
    }
}

@media (max-width: 424px) {
    header .hosp-logo-and-name a .hosp-logo {
        width: 2em;
    }

    header .hosp-logo-and-name .hosp-name {
        font-size: 1.3rem;
        transition: 1s;
    }
}