:root {
    --background: #ffffff;
    --red: #ac0203;
    --blue: #000431;
    --grey: #e5e5e5;

    --font1: "DiodrumArabic";
    --font2: "Arial";
    --font3: "Oswald";
}

* {
    margin: 0;
    padding: 0 !important;
    font-family: var(--font3);
    list-style-type: none;
    font-size: 4.267vw;
}

body {
    position: relative;
    background-color: var(--background);
    height: 100vh;
}

ul {
    position: absolute;
    display: table;
    margin: 0 auto;
    width: 50vw;
    left: 50% !important;
    top: 17%;
    transform: translateX(-50%);
}

li {
    width: 100%;

    text-align: center;
}

ul li:nth-child(2) {
    margin-bottom: -1.799vw;
    font-family: var(--font1);
    color: var(--blue);
    font-weight: bold;
}

ul li:nth-child(3) {
    margin-bottom: 58px;
    font-family: var(--font2);
    color: var(--grey);
    font-weight: bold;
}

.clinic {
    width: 33vw;
    text-align: center;
}

li.logo {
    width: 100%;
}

.btn.btn-outline-primary {
    height: 4.648vh;
    line-height: 4.648vh;
    margin-bottom: 2.849vh;
    display: inline-block;
    width: 100%;
    text-decoration: none;
    color: var(--blue);
    border: var(--red);
    border-radius: 70px;
    border-width: 1px;
    border-style: solid;
}

.btn.btn-outline-primary:hover {
    background-color: var(--red);
    color: var(--background);
}

.sign {
    position: absolute;
    width: 71.467vw;
    bottom: 0;
    right: 0;
    z-index: -99;
}

.G360C {
    position: absolute;
    bottom: 4.198vw;
    width: 8.267vw;
    left: 50%;
    transform: translateX(-50%);
}

.left {
    opacity: 0;
    rotate: 180deg;

    transition: rotate(180deg);
    animation: show 2s ease forwards;
    animation-delay: 2s;
}

@keyframes show {
    0% {
        opacity: 0;
        rotate: 180deg;
        transition: rotate(180deg);
    }

    80% {
        rotate: 0deg;

        transition: rotate(0deg);
    }

    100% {
        opacity: 1;
        transition: rotate(0deg);

        rotate: 0deg;
    }
}

.right {
    opacity: 0;
    rotate: 180deg;
    transition: rotate(180deg);
    animation: showR 2s ease forwards;
    animation-delay: 2s;
}

@keyframes showR {
    0% {
        opacity: 0;
        rotate: 180deg;
        transition: rotate(180deg);
    }

    80% {
        rotate: 360deg;
        transition: rotate(360deg);
    }

    100% {
        opacity: 1;
        rotate: 360deg;
        transition: rotate(360deg);
    }
}

.middle {
    opacity: 0;
    animation: showM 8s linear infinite;
}

@keyframes showM {
    0% {
        opacity: 0;
    }

    50% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

.typed {
    overflow: hidden;
    width: 0;
    white-space: nowrap;
    animation: typing;
    animation-duration: 1.5s;
    animation-timing-function: steps(30, end);
    animation-fill-mode: forwards;
}

.typedContent {
    transform: translateY(-15px);
    animation: typingContent;
    
    opacity: 0;
    animation-duration: 1.5s;
    animation-delay: 1s;
    animation-fill-mode: forwards;
}

@keyframes typingContent {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }

    to {
        opacity: 1;
        transform: translateY(0px);
    }
}

@keyframes typing {
    from {
        width: 0;
    }

    to {
        width: 100%;
    }
}