* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
    text-transform: capitalize;
    font-family: "LBC";
    font-style: normal;
    transition: 0.3s all;
    scroll-behavior: smooth;
    font-family: "Cairo", sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
}

.divetion {
    /* border: 1px solid red; */
    width: 100%;
    /* padding: 10px; */
    height: 100%;

    /* margin: 10px; */
    background-image: linear-gradient(
            rgba(31, 31, 31, 0.87),
            rgba(31, 31, 31, 0.87)
        ),
        url(/Src/images/back.jpg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

.homePage {
    /* border: 1px solid green; */
    display: flex;
    /* justify-content: center; */
    align-items: center;
    flex-direction: column;
    /* padding: 1% 5%; */
    width: 100%;
    height: 100%;
    direction: rtl;
    /* direction: ltr; */
}

.homePage > section {
    width: 100%;
    height: 90vh;
    /* border: 1px solid green; */
    /* margin: 5px; */
}

.homePage > .sec1 {
    width: 100%;
    height: 90vh;
    /* margin-bottom: 20px; */
    /* border: 1px solid green; */
    /* background-color: aqua; */
    display: flex;
    justify-content: space-between;
    padding: 0 10%;
    align-items: center;
}

.homePage > .sec1 > img {
    /* width: 100%; */
    height: 60%;
}
.homePage > .sec1 > div {
    width: 100%;
    /* border: 1px solid red; */
    padding: 5px;
}

.homePage > .sec1 > div > h1 {
    color: #818286;
    margin-bottom: 5px;
    font-size: 350%;
    /* border: 1px solid red; */
}
.homePage > .sec1 > div > div {
    /* border: 1px solid red; */
    display: flex;
    justify-content: start;
    align-items: center;
}

.homePage > .sec1 > div > div a {
    color: #818286;
    font-size: 350%;
    border: 1px solid white;
    display: flex;
    justify-content: start;
    align-items: center;
    margin: 10px;
    font-size: 150%;
    font-weight: 700;
    letter-spacing: 0px;
    padding: 1% 7%;
    border-radius: 20px;
    outline: none;
}
.homePage > .sec1 > div > div a:hover {
    padding: 1% 7.2%;
    background-color: white;
    border: none;
}

.homePage > .sec2 {
    /* padding: 20px; */
    height: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}
.homePage > .sec2 > .cards {
    /* border: 1px solid red; */
    /* display: flex;
    justify-content: center;
    align-items: center; */
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    grid-template-rows: 1fr;
    width: 100%;
    height: 100%;
    padding: 10px;
    background-color: #1f1f1f;
    transition: ease-in-out 0.3s;
}
.homePage > .sec2 > .cards > .card {
    border: 1px solid #f5f5f5;
    /* border-top: 5px solid #e0e0e0; */
    /* border-bottom: 1px solid #e0e0e0; */
    /* background-color: #fafafa; */
    border-radius: 10px;
    width: 85%;
    height: 400px;
    padding: 10px;
    margin: 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-direction: column;
}
.homePage > .sec2 > .cards > .card:hover {
    border: 1px solid #f5f5f5;
    border-radius: 10px;
    width: 85%;
    height: 400px;
    padding: 10px;
    margin: 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-direction: column;
    background-color: #f5f5f5;
    transition: ease-in-out 0.3s;
    transform: scale(1.1);
}
.homePage > .sec2 > .cards > .card > i {
    /* border: 1px solid red; */
    color: #f5f5f5;
    font-size: 350%;
    width: 100%;
    height: 40%;
    display: flex;
    justify-content: center;
    align-items: center;
}
.homePage > .sec2 > .cards > .card:hover > i {
    color: #1f1f1f;
}
.homePage > .sec2 > .cards > .card > h1 {
    padding: 20px;
    color: #f5f5f5;
    text-align: center;
    /* border: 1px solid red; */
    /* height: 10%; */
    width: 100%;
}
.homePage > .sec2 > .cards > .card:hover > h1 {
    color: #1f1f1f;
}
.homePage > .sec2 > .cards > .card > span {
    padding: 20px;
    font-size: large;
    font-weight: 600;
    color: #f5f5f5;
    text-align: center;
    /* border: 1px solid red; */
    height: 40%;
    width: 100%;
}
.homePage > .sec2 > .cards > .card:hover > span {
    color: #1f1f1f;
}

.homePage > .sec3 {
    padding: 20px 0px;
    /* height: 50%; */
    /* border: 1px solid red; */
    display: flex;
    justify-content: center;
    align-items: center;
    /* padding: 20px; */
}

.homePage > .sec3 > div {
    /* border: 1px solid red; */
    background-color: rgb(31, 31, 31);
    width: 100%;
    height: 80%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1% 5%;
}
.homePage > .sec3 > div > img {
    /* border: 1px solid red; */
    width: 50%;
    height: 50%;
    margin: 1%;
}
.homePage > .sec3 > div > span {
    /* border: 1px solid red; */
    width: 65%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 150%;
    font-weight: 700;
    margin: 1%;
    color: #f5f5f5;
}

@media (max-width: 1465px) {
    .homePage > .sec2 > .cards {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 1fr 1fr;
    }
}

@media (max-width: 1100px) {
    .homePage > .sec1 {
        width: 100%;
        height: 90vh;
        /* margin-bottom: 20px; */
        /* border: 1px solid green; */
        /* background-color: aqua; */
        display: flex;
        justify-content: center;
        padding: 0 10%;
        align-items: center;
        flex-direction: column-reverse;
    }

    .homePage > .sec1 > img {
        height: 30%;
    }

    .homePage > .sec1 > div > h1 {
        text-align: center;
    }
    .homePage > .sec1 > div > div {
        justify-content: center;
    }

    .homePage > .sec2 {
        /* padding: 20px; */
        height: 50%;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    .homePage > .sec2 > .cards {
        display: grid;
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 1fr 1fr;
        width: 100%;
        height: 100%;
        padding: 10px;
        background-color: rgb(31, 31, 31);
        transition: ease-in-out 0.3s;
    }
    .homePage > .sec2 > .cards > .card {
        border: 1px solid #f5f5f5;
        border-radius: 10px;
        width: 85%;
        height: 400px;
        padding: 10px;
        margin: 50px;
        display: flex;
        justify-content: space-between;
        align-items: center;
        flex-direction: column;
    }
    .homePage > .sec2 > .cards > .card > h1 {
        font-size: 120%;
    }
    .homePage > .sec2 > .cards > .card > span {
        padding: 20px;
        font-size: large;
        font-weight: 600;
        color: #f5f5f5;
        text-align: center;
        font-size: 100%;
        /* border: 1px solid red; */
        height: 40%;
        width: 100%;
    }
    .homePage > .sec3 {
        /* padding: 20px; */
        /* height: 50%; */
        /* border: 1px solid red; */
        display: flex;
        justify-content: center;
        align-items: center;
        /* padding: 20px; */
    }

    .homePage > .sec3 > div {
        /* border: 1px solid red; */
        background-color: rgb(31, 31, 31);
        width: 100%;
        height: 50%;
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
        padding: 1% 5%;
    }
    .homePage > .sec3 > div > img {
        /* border: 1px solid red; */
        width: 100%;
        height: 40%;
        margin: 1%;
    }
    .homePage > .sec3 > div > span {
        /* border: 1px solid red; */
        width: 95%;
        text-align: center;
        height: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
        font-size: 100%;
        font-weight: 700;
        margin: 1%;
        color: #f5f5f5;
    }
}

@media only screen and (max-width: 768px) {
    .homePage > .sec2 > .cards {
        grid-template-columns: 1fr;
        grid-template-rows: 1fr 1fr 1fr 1fr;
    }
    .homePage > .sec2 > .cards {
        /* display: grid;
      grid-template-columns: 1fr 1fr;
      grid-template-rows: 1fr 1fr; */
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
        width: 100%;
        height: 100%;
        padding: 10px;
        background-color: rgb(31, 31, 31);
        transition: ease-in-out 0.3s;
    }
    .homePage > .sec2 > .cards > .card {
        border: 1px solid #f5f5f5;
        border-radius: 10px;
        width: 100%;
        height: 400px;
        padding: 10px;
        margin: 10px;
        display: flex;
        justify-content: space-between;
        align-items: center;
        flex-direction: column;
    }
    .homePage > .sec1 > div > h1 {
        color: #818286;
        margin-bottom: 5px;
        font-size: 120%;
        /* border: 1px solid red; */
    }
    .homePage > .sec1 > div > div a {
        font-size: 120%;
    }

    .homePage > .sec3 {
        padding: 20px 0px;
        height: 50%;
        /* border: 1px solid red; */
        display: flex;
        justify-content: center;
        align-items: center;
        /* padding: 20px; */
    }

    .homePage > .sec3 > div {
        /* border: 1px solid red; */
        background-color: rgb(31, 31, 31);
        width: 100%;
        height: 80%;
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 1% 5%;
    }
    .homePage > .sec3 > div > img {
        /* border: 1px solid red; */
        width: 50%;
        height: 50%;
        margin: 1%;
    }
    .homePage > .sec3 > div > span {
        /* border: 1px solid red; */
        width: 90%;
        height: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
        font-size: 100%;
        font-weight: 700;
        margin: 1%;
        color: #f5f5f5;
    }
}

.homePage > .sec2 {
    display: none;
}
