﻿@font-face {
    font-family: IRANSans;
    src: url(IRANSans.ttf)
}


body {
    background-color: white;
    font-family:IRANSans;
}


#scroll-container {
    background-color: rgb(0, 177, 106);
    overflow: hidden;
    font-family:IRANSans;
    height:auto
}

#scroll-text {
    text-align: right;
    /* animation properties */
    -moz-transform: translateX(-100%);
    -webkit-transform: translateX(-100%);
    transform: translateX(-100%);
    -moz-animation: my-animation 15s linear infinite;
    -webkit-animation: my-animation 15s linear infinite;
    animation: my-animation 15s linear infinite;
}
}

/* for Firefox */
@-moz-keyframes my-animation {
    from {
        -moz-transform: translateX(-100%);
    }

    to {
        -moz-transform: translateX(60%);
    }
}

/* for Chrome */
@-webkit-keyframes my-animation {
    from {
        -webkit-transform: translateX(-100%);
    }

    to {
        -webkit-transform: translateX(60%);
    }
}

@keyframes my-animation {
    from {
        -moz-transform: translateX(-100%);
        -webkit-transform: translateX(-100%);
        transform: translateX(-100%);
    }

    to {
        -moz-transform: translateX(60%);
        -webkit-transform: translateX(60%);
        transform: translateX(60%);
    }
}
/*menu*/

.sticky {
    position: fixed !important;
    top: 0;
    width: 100%;
    z-index: 1000
}



#TopMenu {
    display: grid;
    background-color: #F4F4F8;
    grid-template-areas:
        'catchword catchword catchword catchword catchword catchword'
        ' x menu menu menu logo logo';
    height: auto
}

.grid-item1 {
    color: white;
    text-align: center;    
    font-size: 20px;
}

.grid-item2 {
    text-align: center;
    
}

.grid-item3 {
    text-align: center;
    font-size:18px
}

#scroll-container {
    grid-area: catchword
}

#item2{
    grid-area:logo
}

#item3{
    grid-area:menu
}



/*menu*/

.panelbt {
    background-color: rgb(0, 177, 106);
    color: white;
    height: 40px;
    width: 150px;
    border: none;
    border-radius: 0px;
    text-align: center;
    text-decoration: none;
    font-size: 18px
}

.logo {
    font-weight: bolder;
    font-size: 24px;
    height:85px;
    width:150px;
   
}

.top-nav {
    display: flex;
    flex-direction: row;
    align-items: center;
    font-family: IRANSans;
    justify-content: space-between;
    background-color: #F4F4F8;
    color: rgb(0, 177, 106);
    padding: 1.5em;
}

a.menuA {
    text-decoration: none;
    color: black
}

a.menuClinic {
    color: rgb(0, 177, 106);
}

.menu-item > a:hover {
    color: rgb(0, 177, 106);
}

.menu {
    display: flex;
    flex-direction: row;
    list-style-type: none;
    margin: 0;
    padding: 0;
}

    .menu > li {
        margin: 0 1rem;
        overflow: hidden;
    }

.menu-button-container {
    display: none;
    height: 100%;
    width: 30px;
    cursor: pointer;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

#menu-toggle {
    display: none;
}

.menu-button,
.menu-button::before,
.menu-button::after {
    display: block;
    background-color: rgb(0, 177, 106);
    position: absolute;
    height: 10px;
    width: 40px;
    transition: transform 400ms cubic-bezier(0.23, 1, 0.32, 1);
    border-radius: 2px;
}

    .menu-button::before {
        content: '';
        margin-top: -8px;
    }

    .menu-button::after {
        content: '';
        margin-top: 8px;
    }

#menu-toggle:checked + .menu-button-container .menu-button::before {
    margin-top: 0px;
    transform: rotate(405deg);
}

#menu-toggle:checked + .menu-button-container .menu-button {
    background: rgba(255, 255, 255, 0);
}

    #menu-toggle:checked + .menu-button-container .menu-button::after {
        margin-top: 0px;
        transform: rotate(-405deg);
    }

@media (min-width:2000px){
    .menuClinic{
        margin-right:700px
    }

}

@media (min-width:1440px){
    .menuClinic{
        margin-right:100px
    }
}

@media (min-width:1270px){
    .empty{
        display:none
    }
}

@media(min-width:1000px) {
    #openbt {
        display: none
    }
}

@media(max-width:1200px){
    #empty{
        display:none
    }
}

@media (max-width: 1000px) {
    .menu {
        display: none
    }

    #TopMenu {
        display: grid;
        background-color: #F4F4F8;
        grid-template-areas:
            'catchword catchword catchword catchword catchword catchword'
            ' menu menu menu menu logo logo';
        height: auto
    }
}



.sidepanel {
    height: 100vh; 
    width: 0;
    position: fixed; 
    z-index: 1; 
    top: 0;
    right: 0;
    background-color: #F4F4F8; 
    overflow-x: hidden; 
    padding-top: 60px; 
    transition: 0.1s; 
}

    .sidepanel a {
        padding: 8px 8px 8px 32px;
        text-decoration: none;
        font-size: 18px;
        color: #818181;
        display: block;
        transition: 0s;
    }

        .sidepanel a:hover {
            color: rgb(0, 177, 106);
        }

    .sidepanel .closebtn {
        position: absolute;
        top: 0;
        right: 0;
        font-size: 32px;
        margin-right: 10px;
    }

.openbtn {
    font-size: 20px;
    cursor: pointer;
    background-color: #F4F4F8;
    color: black;
    padding: 10px 15px;
    border: none;
    border-radius: 5px
}

    .openbtn:hover {
        background-color: rgb(0, 177, 106);
    }
    