/* Import Google Font first */
@import url('https://fonts.googleapis.com/css2?family=M+PLUS+Rounded+1c&family=Montserrat:ital,wght@0,100..900;1,100..900&family=Noto+Naskh+Arabic:wght@400..700&display=swap');

* {
    margin: 0;
    padding: 0;
}

:root {

    --common: #ffce10;
    --design: #131211;
    --ok: #ffffff;
    --ko: gold;
}

body {
    background-color: var(--common);
}

nav {
    background-color: var(--common);
    box-shadow: 3px 3px 5px var(--design);
    height: 90px;
    width: 100%;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 15px;
}

nav ul {
    width: 100%;
    list-style: none;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

nav li {
    height: 50px;
    color: var(--design);
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding: 0 10px;

}

nav li:hover>a {

    border-bottom: 2px solid var(--design);
    transition: all .01s ease-in;
    transform: scale(1.1);
}

nav img {
    width: 100px;
    height: 100px;
    margin-left: 50px;
    margin-right: 0px;
}

.navtext {
    font-size: 22px;
    font-weight: 800;
    font-family: 'M PLUS Rounded 1c', sans-serif;
}

nav a {
    height: 100%;
    padding: 0 26px;
    text-decoration: none;
    display: flex;
    align-items: center;
    color: var(--design);
    font-size: 17px;
    font-weight: 500;
}

.navtext a {
    height: 100%;
    padding: 0px;
    text-decoration: none;
    display: flex;
    align-items: center;
}

.navtext:hover a {
    border-bottom: none;
    transition: none;
    transform: none;
}

nav li:first-child {
    margin-right: auto;
}

nav svg {
    color: var(--ok);
}

nav ul li ul li {
    width: 100%;
    padding: 2px 0;
    border: 1px solid rgba(0, 0, 0, .1);
    justify-content: center;
    align-items: center;
}

nav ul li ul {
    position: absolute;
    width: 14%;
    display: none;
    justify-content: center;
    align-items: center;
    top: 73px;
    right: 330px;
    border-radius: 5px;
    background-color: var(--common);
    z-index: 2;
}

.first_ul_li {
    position: absolute;
    width: 15%;
    display: none;
    justify-content: center;
    align-items: center;
    top: 73px;
    right: 485px;
    border-radius: 5px;
    background-color: var(--common);
    z-index: 2;
}

nav a svg {

    fill: black;

}

nav ul li:focus-visible>ul,
nav ul li:hover>ul {
    display: initial;
}

.sidebar {
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: 250px;
    z-index: 999;
    background-color: var(--common);
    backdrop-filter: blur(10px);
    box-shadow: 30px 0 104px var(--design);
    display: none;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;

}

.sidebar li {
    width: 100%;
}

.sidebar a {
    width: 100%;
}

.sepration {
    height: 5px;
    width: auto;
    margin: 0 4px;
    background-color: var(--design);
    border-radius: 1000px;

}

.seprations {
    height: 5px;
    width: auto;
    margin: 0 4px;
    background-color: var(--common);
    border-radius: 1000px;

}

.subpage {
    background-color: var(--ok);
    background-position: center center;
    background-size: cover;
    object-fit: contain;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
}

.io h1 {
    text-align: center;
    font-size: 80px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-weight: 700;
    color: #4a3381e8;
    line-height: 1.38;
    padding: 45px;
    text-decoration: underline;
}

.io p {
    font-family: 'M PLUS Rounded 1c', sans-serif;
    font-size: 20px;
    font-weight: lighter;
    text-align: center;
    line-height: 1.60;
    color: var(--design);
    z-index: 1;
    padding: 0 160px 50px 160px;
    text-shadow: none;
}

.five {
    display: flex;
    align-items: center;
    justify-content: center;
}

.five button {
    padding: 1em 3em;
    color: var(--design);
    background-color: var(--common);
    margin: 5px;
    border: none;
    width: 25em;
    height: 3em;
    border-radius: 1000px;
    font-weight: 900;
    font-size: 12px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    cursor: pointer;
    transition: all 0.1s ease;
}

.five a {
    font-weight: 900;
    font-size: 12px;
    text-decoration: none;
    color: var(--ok);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;

}

.five button:hover {
    z-index: 0;
    transform: scale3d(1.1, 1.1, 1.1);
    box-shadow: 0px 0 100px var(--common),
        -10px 0 100px var(--common);
}

.six {
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 100px;
    background-color: rgba(0, 0, 0, .3);
    position: fixed;
    width: 100%;
    top: 0;
    right: 0;
    z-index: 2;
    opacity: 0;
    transform: translateX(100px);
    animation: fadeSlideUp 1s ease-out forwards;
    animation-delay: 2.4s;

}

.six .five a {
    color: var(--design);
}

@keyframes fadeSlideUp {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.six-btn {
    position: fixed;
    top: 120px;
    right: 170px;
    z-index: 2;
    background-color: var(--ok);
    border: 2px solid var(--design);
    border-radius: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.six-btn svg {
    fill: black;
    padding: 2px;
}

.six-btn svg:hover {
    fill: red;
}

.fer {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    animation: true both;
    animation-timeline: view();
    animation-range: entry 10% cover 100vh;
}

@keyframes true {
    from {
        opacity: 0;
        transform: translateY(-100px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }

}

.fer h2 {
    margin-top: 15px;
    margin-bottom: 0px;
    color: var(--common);
    padding: 15px 20px;
    background-color: var(--design);
    border-top-left-radius: 20px;
    border: 2px solid var(--common);
    border-top-right-radius: 20px;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

.free {
    height: 70vh;
    width: 80vw;
    background-color: var(--ok);
    margin-top: 0px;
    margin-bottom: 125px;
    border-bottom-left-radius: 50px;
    border-top-right-radius: 50px;
    border: 1px solid var(--design);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: row;
}

.sbox {
    width: 60vw;
    height: 32vw;
    border-bottom-left-radius: 50px;
    position: relative;
}

.sbox h3 {
    margin: 20px;
    color: var(--design);
    font-size: 28px;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

.sbox h4 {
    margin: 20px;
    font-weight: 500;
    color: var(--design);
    font-size: 22px;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

.sbox ul li {
    margin: 20px;
    font-weight: 500;
    color: var(--design);
    font-size: 18px;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

.sbox ul li span {
    color: purple;
}

.sbox ul {
    list-style: none;
}

.sbox div {
    position: absolute;
    bottom: 20px;
    left: 10px;
}

.ssbox {
    width: 60vw;
    height: 32vw;
    background-image: url(accessrioes/fer.avif);
    background-repeat: no-repeat;
    background-position: center;
    object-fit: contain;
    background-size: cover;
    fill-opacity: 100%;
    border-top-right-radius: 48px;
    border-left: 1px solid var(--design);
    display: flex;
    align-items: center;
    justify-content: center;
}

.what img {
    width: 50px;
    height: auto;
    position: fixed;
    right: 50px;
    bottom: 40px;
    border-radius: 14px;
    border: 2px solid white;
    box-shadow: 0px 0px 5px yellow;
}

.what img:hover {
    box-shadow: 0px 0px 10px white;
}

footer {
    color: var(--ok);
    background-color: var(--design);
}

.qwerty {
    width: 700px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-weight: bolder;
    display: flex;
    justify-content: center;
    padding: 40px;
    flex-direction: column;
}

.qwerty label {
    font-family: 'M PLUS Rounded 1c', sans-serif;
    font-size: 30px;
    text-decoration: underline;
}

.qwerty ul li {
    list-style: none;
    padding: 10px 0;
}

.qwerty ul li a {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-weight: lighter;
    font-size: 16px;
    color: var(--ok);
    text-decoration: none;
}

.qwerty div {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-weight: lighter;
    font-size: 20px;
    padding: 14px 0;
}

.ytrewq {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-weight: bolder;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 25px;
}

@media screen and (min-width: 1300px) {
    .displayonmobile {
        display: none;
    }
}

@media screen and (max-width:1300px) {
    nav {

        height: 60px;
    }

    .navtext {
        font-size: 14px;
        font-weight: 700;
    }

    nav img {
        width: 60px;
        height: 60px;
        margin-left: 15px;
    }

    .hideonmobile {
        display: none;
    }

    .io h1 {
        font-size: 32px;
        padding: 15px 5px;
    }

    .io p {
        font-size: 13px;
        padding: 0 10px 10px 10px;
    }

    .what img {
        left: 20px;
        bottom: 30px;

    }

    .qwerty ul li {
        padding: 5px 0;
    }

    .qwerty h3 {
        font-size: 17px;
    }

    .qwerty label {
        font-size: 25px;
    }

    .qwerty div {
        font-size: 15px;
    }

    .qwerty {
        width: 300px;
        padding: 20px;
    }

    .ytrewq {
        padding: 20px;
    }

    .fer h2 {
        font-size: 18px;
        border-top-left-radius: 20px;
        border-top-right-radius: 20px;
        padding: 10px 5px;
        border: 1px solid var(--common);
    }

    .free {
        height: 80vh;
        width: 80vw;
        border-bottom-left-radius: 0px;
        border-top-right-radius: 0px;
        border-radius: 50px;
        flex-direction: column-reverse;
    }

    .ssbox {
        width: 80vw;
        height: inherit;
        background-image: url(accessrioes/fer.avif);
        background-repeat: no-repeat;
        background-position: center;
        object-fit: contain;
        background-size: cover;
        fill-opacity: 100%;
        border-top-left-radius: 50px;
        border-top-right-radius: 50px;
        border-left: 0px solid var(--design);
    }

    .sbox {
        width: 80vw;
        height: auto;
        position: relative;
    }

    .sbox h3 {
        margin: 10px;
        font-size: 20px;
    }

    .sbox h4 {
        margin: 10px;
        font-size: 15px;
    }

    .sbox ul li {
        margin: 10px;
        font-size: 15px;
    }

    .sbox div {
        position: revert;
    }

    .sbox .five button {
        width: 16em;
        height: 2.5em;
    }

    .six .five a {
        color: floralwhite;
    }

    .six-btn {
        top: 65px;
        right: 0px;
    }

    .six {
        padding-top: 40px;
        background-color: transparent;
        margin-left: 25px;
        position: fixed;
        width: 300px;
        z-index: 2;
        opacity: 0;
        left: 0;
        transition: none;
        transform: translateX(-100px);
        animation: fadeSlideUp 1s ease-out forwards;
        animation-delay: 2.4s;

    }


    @keyframes fadeSlideUp {
        to {
            opacity: 1;
            transform: translateX(0);
        }
    }
}