/*home page*/
@media only screen{
    html{
        background:linear-gradient(rgb(53, 58, 1), rgba(114, 122, 2, 0.726));
        background-position: center 0;
        background-repeat: no-repeat;
        background-attachment: fixed;
        background-size: cover;
        -webkit-background-size: cover;
        -o-background-size: cover;
        -moz-background-size: cover;
        -ms-background-size: cover;
        padding-left: 11%;
        padding-right: 11%;
    }
    
    body{
        display: grid;
        grid-template-areas: "header" "div" "main" "footer";
    }
    
    body > header{
        grid-area: header;
    }
    
    body > div{
        grid-area: div;
        background-color: white;
    }
    
    body > main{
        grid-area: main;
        background-color: white;
    }
    
    body > footer{
        grid-area: footer;
    }
    
    .contact{
        text-align: right;
        padding-right: 1em;
        color: white;
        font-size: 0.85em;
    }
    
    .link{
        text-decoration: none;
        color: white;
    }

    .logo{
        display: grid;
    }
    
    .main{
        display: flex;
    }
    
    .aside{
        flex: 1 1 0;
        padding: 1%;
        padding-top: 0;
    }

    #navigationmanu{
        display: none;
    }

    .navigation{
        display: none;
    }
    
    .manuul{
        background-color: rgb(27, 83, 2);
        list-style-type: none;
        padding: 10px;
        line-height: 200%;
        font-family: Prompt;
        font-size: 90%;
    }
    
    .manuli{
        border-bottom: 1px dotted white;
        margin: 5px;
    }
    
    .currentpage{
        color: yellow;
        text-decoration: none;
    }
    
    .page{
        color: white;
        text-decoration: none;
    }
    
    .page:hover{
        color: yellow;
    }
    
    .maininfo{
        flex: 3.5 1 0;
        display: flex;
        flex-direction: column;
    }

    .maininfo > .text{
        flex: 1 1 auto;
    }

    .location{
        font-family: Prompt;
        margin: 1%;
        margin-top: 2%;
        color: gray;
        font-size: 0.8em;
    }

    .text{
        margin: 2%;
        margin-left: 1%;
        border: 1px dotted rgb(200, 200, 200);
        border-radius: 10px;
        box-shadow: 10px 10px 20px rgb(220, 220, 220) inset, 
        -10px -10px 20px rgb(220, 220, 220) inset;
        padding: 2%;
        font-family: Prompt;
    }

    .mainline{
        border: 0.8px solid rgb(180, 180, 180);
        margin: 2%;
    }
    
    #title{
        font-size: 1.2em;
        font-weight: bold;
        margin: 2%;
    }
    
    .info{
        font-size: 0.95em;
        text-align: justify;
        margin: 2%;
    }

    .bottompic{
        display: none;
    }

    .top{
        position: fixed;
        bottom: 70px;
        right: 20px;
        padding: 5px;
        background-color: rgba(0, 0, 0, 0.5);
    }

    .totop{
        color: white;
        text-decoration: none;
    }
    
    footer{
        text-align: center;
    }
    
    .footercolor1{
        background-color: white;
        padding-top: 1em;
        font-weight: lighter;
        font-size: 0.85em;
        border-radius: 5px 5px 0 0 ;
        display: block;
    }

    .footercolor2{
        background-color: white;
        padding-top: 1em;
        font-weight: lighter;
        font-size: 0.85em;
        border-radius: 0 0 5px 5px;
    }
    
    .footlink{
        text-decoration: none;
        color: black;
    }

    .footlink:hover{
        text-decoration: underline;
    }

    /*about page*/
    .photoinfo{
        text-align: center;
        color: rgb(65, 65, 65);
        font-weight: bold;
        font-family: sans-serif;
    }

    .photo{
        padding: 1px;
        border: 1px solid rgb(180, 180, 180);
    }

    /*scope page*/

    .indexbox{
        margin: 2%;
    }

    .index{
        display: inline-block;
        border: 1px solid rgb(27, 83, 2);
        margin: 3px;
        padding: 3px;
        background-color: rgb(27, 83, 2);
        color: white;
        text-decoration: none;
    }

    .title2{
        font-size: 1em;
        font-weight: bold;
        margin: 2%;
        margin-bottom: 1%;
        color: rgb(27, 83, 2);
    }

    .textline{
        margin: 2%;
        margin-top: 0;
        margin-bottom: 0;
    }

    .info2{
        font-size: 0.9em;
        text-align: justify;
        margin: 2%;
        margin-top: 1%;
    }

    .infopic{
        display: block;
        margin-left: auto;
        margin-right: auto;
    }

    /*treat page*/
    .treatpic{
        text-align: center;
    }

    .treattext{
        display: flex;
        flex-wrap: wrap;
        justify-content: space-around;
    }

    .treatinfo{
        border: 1px solid rgb(200, 200, 200);
        border-radius: 4px;
        background-color: white;
        margin: 1%;
        width: 47%;
        box-shadow: 0 0 10px rgb(200, 200, 200);
    }

    .title3{
        font-size: 1.2em;
        font-weight: bold;
        margin: 2%;
        margin-bottom: 0;
        color: rgb(27, 83, 2);
        padding: 2%;
    }

    .title4{
        font-size: 1.2em;
        font-weight: bold;
        margin: 2%;
        color: rgb(27, 83, 2);
        padding: 2%;
    }

    .treatul{
        margin-top: 0;
    }

    /*effective page*/
    .effectivetext{
        display: flex;
        flex-wrap: wrap;
        justify-content: space-around;
    }

    .effectivepic{
        display: block;
        width: 50%;
    }

    .effectiveinfo{
        width: 50%;
    }

    /*location page*/
    .loclink{
        text-decoration: none;
        color: rgb(27, 83, 2);
    }

    /*patient page*/
    .patientspic{
        text-align: center;
        padding-top: 3%;
    }
}

@media only screen and (max-width:1080px){
    html{
        background:linear-gradient(rgb(53, 58, 1), rgba(114, 122, 2, 0.726));
        background-position: center 0;
        background-repeat: no-repeat;
        background-attachment: fixed;
        background-size: cover;
        -webkit-background-size: cover;
        -o-background-size: cover;
        -moz-background-size: cover;
        -ms-background-size: cover;
        padding: 0;
    }

    .main{
        display: grid;
    }

    .navigation{
        display: grid;
        padding: 0;
        background-color: rgb(27, 83, 2);
    }

    .navigationfont{
        margin: 1%;
        margin-left: 2%;
        margin-right: 2%;
        font-size: 1.5em;
        color: white;
    }

    button{
        float: right;
        background-color:rgb(70, 70, 70);
        border-radius: 4px;
        outline: none;
    }

    button:hover{
        background-color: black;
    }

    .icon{
        margin-top: 2px;
    }

    .aside{
        display: none;
    }
    
    .manuul{
        background-color: white;
        list-style-type: none;
        line-height: 200%;
        font-family: Prompt;
        font-size: 90%;
        margin: 0;
        
    }
    
    .manuli{
        border-bottom: 1px dotted black;
    }
    
    .currentpage{
        color: rgb(107, 187, 2);
        text-decoration: none;
    }
    
    .page{
        color: black;
        text-decoration: none;
    }
    
    .page:hover{
        color: rgb(107, 187, 2);
    }
    
    .text{
        margin: 0;
        margin-top: 10px;
        border: 1px dotted rgb(200, 200, 200);
        border-radius: 10px;
        box-shadow: 10px 10px 20px rgb(220, 220, 220) inset, 
        -10px -10px 20px rgb(220, 220, 220) inset;
        font-family: Prompt;
    }

    .bottompic{
        display: inline;
    }

    .footercolor1{
        padding-left: 5%;
        padding-right: 5%;
    }

    .footercolor2{
        padding-left: 5%;
        padding-right: 5%;
    }
}

@media only screen and (max-width:700px){
    /*scope page*/
    .infopic{
        width: 100%;
    }

    /*treat page*/
    .treatinfo{
        width: 90%;
    }

    /*effective page*/
    .effectivepic{
        width: 80%;
    }

    .effectiveinfo{
        width: 100%;
    }
}

@media only screen and (max-width:500px){
    .bottompic{
        text-align: center;
    }
}

