

/*! الخطوط */
@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@200..1000&display=swap');

/*! ألوان الموقع */
:root {
    --color-White: #fff;
    --color-black: #000;
    --main-color: #BCE008;
    --second-color: #8F9405;
}
body {
    direction: rtl;
    font-family: "Cairo", sans-serif;
    color: var(--color-black);
    background-image: url("../assets/images/bg-main.svg");

    height: 3000px;
}

* {
    outline: none;
    border: none;
}
ul {
    list-style: none;
    margin: 0;
    padding: 0;
}
li {
    display: block;
}
* {
    text-decoration: none;
    outline: none;
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
}
*:focus {
    outline: none;
}
button:focus,
a {
    outline: none;
}
a {
    text-decoration: none !important;
    color: var(--color-black);
    font-size: 18px;
    transition: .3s;
}
h1 {
    font-size: 40px;
    font-weight: 700;
}
h2 {
    font-size: 28px;
    font-weight: 700;
    margin: 0;
}
h3 {
    font-size: 34px;
    margin: 0;
}
h5 {
    font-size: 18px;
    font-weight: 700;
    text-align: center;
    margin: 0;
}
h6 {
    font-size: 18px;
    font-weight: 700;
    text-align: center;
    margin: 0;
}
p {
    font-size: 18px;
    font-weight: 400;
    margin: 0;
    line-height: 1.7;
}
::selection {
    background-color: var(--main-color);
    /* background-color: #bce0088e; */
    color: #fff;
}
/*! Globals */
.main-container {
    width: 90%;
    margin: auto;
}
.main-btn {
    background-color: var(--main-color);
    width: fit-content;
    height: 40px;
    color: var(--color-black);
    font-weight: 700;
    font-size: 16px;
    padding: 10px 25px;
    border-radius: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
    transition: color 0.4s ease;
}
.main-btn span {
    position: relative;
    z-index: 2;
}
.main-btn::before {
    content: "";
    position: absolute;
    top: 50%;
    left: -75%;
    width: 50%;
    height: 200%;
    background: rgba(255, 255, 255, 0.4);
    transform: rotate(25deg) translateY(-50%);
    transition: all 0.5s ease;
    z-index: 1;
}
.main-btn:hover::before {
    left: 125%;
}
.main-btn:hover a {
    color: var(--color-White);
}
.main-title {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 20px;
    text-align: center;
    max-width: 500px;
    margin: auto;
    padding-bottom: 50px;
}
.title {
    text-align: center;
    padding-bottom: 40px;
}


.to-top {
    position: fixed;
    right: 10px;
    bottom: 10px;
    background-color: var(--main-color);
    color: var(--color-White);
    box-shadow: 0 0 5px #fff;
    border: 1px solid #ffffff7a;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 1.25rem;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 999;
    transition: .5s;
    opacity: 0;
    animation: scrollTop 1s infinite alternate;
}

@keyframes scrollTop {
    0% {
        transform: translateY(0);
    }
    100% {
        transform: translateY(-15px);
    }
}