html {
    scroll-behavior: smooth;
    scroll-padding-top: 0;
}

* {
    font-family: "Open Sans", "Lora", serif;
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}


::selection {
    background-color: var(--color) !important;
    color: #000000 !important;
}

::-webkit-scrollbar {
    width: 10px;
    background-color: transparent;
}

::-webkit-scrollbar-track {
    border-radius: 10px;
    background-color: transparent;
}

::-webkit-scrollbar-thumb {
    background-color: #aa0000;
    border-radius: 20px;
}

:root {
    --color: #ff0000;
    --color-description: #a5a5a5;
}

body {
    background-color: #000000;
    display: flex;
    justify-content: center;
}

/* صفحة التحميل */
.loading-page {
    background: #000000;
    background: linear-gradient(39deg, #000000 60%, #1b0000 100%);
    width: 100vw;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 3000;
    opacity: 1;
    transform: scale(1.2) rotate(0deg);
    transition: opacity 0.8s ease, transform 0.8s ease;
    /*تأثيرالتلاشيوالتدوير*/
}

.counter {
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.ICONS {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: row;
    gap: 30px;
    margin-bottom: -40px;
}

.ICONS .loading-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 25px;
    color: #222222;
    background: linear-gradient(40deg, #080808, #0f0f0f);
    height: 50px;
    width: 50px;
    border-radius: 50%;
}

.loading-icon:hover {
    box-shadow: 0 0 10px var(--color);
    color: var(--color);
}

.counter p {
    font-size: 40px;
    font-weight: bolder;
    color: #fff;
    letter-spacing: 1.3px;
    padding: 0 20px;
}

.P-W {
    letter-spacing: 1.3px;
    padding: 0 20px;
    background: linear-gradient(39deg, var(--color) 0%, #2e0000 50%, var(--color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.counter hr {
    margin-top: 20px;
    background: var(--color);
    border: none;
    border-radius: 20px;
    height: 4px;
    width: 0;
    transition: width 0.5s ease;
    box-shadow: 0 0 10px 5px var(--color);
}

/** content page*/
.container {
    display: flex;
    align-items: center;
    flex-direction: column;
    width: 70%;
    height: max-content;
    padding: 20px;
}

/** Nav Bar */
.navbar {
    width: 40%;
    height: 70px;
    border: 3px solid var(--color);
    box-shadow: 0 0 10px 1px inset var(--color);
    border-radius: 50px;
    padding: 0 20px;
    backdrop-filter: blur(20px);
    position: fixed;
    z-index: 1000;
    animation: shadow infinite 3s ease-in-out ;
    -webkit-animation: shadow infinite 3s ease-in-out ;
}

@keyframes shadow {
   0% {
        box-shadow: 0 0 10px 0px inset var(--color);
    }

    50% {
        box-shadow: 0 0 20px 1px inset var(--color);
    }

    100% {
        box-shadow: 0 0 10px 0px inset var(--color);
    }
}

.navbar .navbar-menu {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-direction: row;
    list-style-type: none;
    font-size: 20px;
    font-weight: 400;
    width: 100%;
    height: 100%;
}

/* --color-link */
.nav-menu {
    text-decoration: none;
    color: white;
    font-size: 18px;
    position: relative;
    cursor: pointer;
    transition: all 0.4s ease-in-out;
}

.nav-menu::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 3px;
    background-color: var(--color);
    border-radius: 50px;
    transition: all 0.4s ease-in-out;
}

.nav-menu:hover::after {
    width: 100%;
}

.nav-menu:hover {
    color: var(--color);
}

/**--------------------------------------------------------*/
/* For me */
.container .for-me {
    width: 100%;
    color: white;
    display: flex;
    align-items: center;
    flex-direction: row;
    justify-content: space-between;
    margin-bottom: 200px;
    margin-top: 200px;
}

.for-me .text-me {
    width: 60%;
}

.text-me .h1 {
    font-weight: bold;
    font-size: 50px;
}

.name {
    font-weight: bolder;
    font-size: 55px;
    font-style: normal;
    color: var(--color);
    letter-spacing: 1.5px;
}

.text-me .h2 {
    font-weight: 500;
    margin-bottom: 5px;
}

.skil {
    font-weight: 700;
    font-style: normal;
    color: var(--color);
}

.p {
    color: #9e9e9e;
    font-weight: 100;
    text-align: justify;
    font-size: 18px;
    margin-top: 20px;
}

.img-for-me {
    height: 500px;
}

.img-for-me:hover{
    transform: scale(1.1);
}

/**--------------------------------------------------------*/
/* Up and Down */
.up-and-down {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 200px;
}

.up-and-down .icon {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 60px;
    border: 3px solid var(--color);
    border-radius: 50px;
    transform: translateY(-10px);
    animation: up-and-down 3s infinite;

}

.arrow {
    height: 30px;
    fill: var(--color);
    rotate: 90deg;
}

@keyframes up-and-down {
    50% {
        transform: translateY(10px);
    }
}

.text {
    color: white;
    font-size: 30px;
    font-weight: bold;
    letter-spacing: 1.2px;
    white-space: nowrap;
    overflow: hidden;
    border-right: 2px solid white;
    width: 22ch;
    animation: typing2 4s steps(21, end), blink 0.5s step-end infinite alternate;
    -webkit-animation: typing2 4s steps(21, end), blink 0.5s step-end infinite alternate;
    animation-delay: 8s;
    animation-fill-mode: forwards;
}

@keyframes typing2 {
    from {
        width: 0;
    }

    to {
        width: 21ch;
    }
}

@keyframes blink {
    50% {
        border-color: transparent;
    }

    100% {
        opacity: 1;
    }
}

/**--------------------------------------------------------*/
/* About Me */
.about-me {
    width: 100%;
    color: white;
    display: flex;
    align-items: center;
    flex-direction: column;
    margin-bottom: 200px;
}

/* titles */
.about-me .title-about {
    font-weight: bold;
    font-size: 40px;
    margin-bottom: 100px;
    position: relative;
    transition: all 0.4s ease-in-out;
}

.title-about::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 5px;
    background-color: #ffffff;
    border-radius: 50px;
    transition: all 0.4s ease-in-out;
}

.title-about:hover::after {
    width: 0%;
    transform: translateX(50%);
}

.title-about:hover {
    scale: 1.1;
    color: var(--color);
}

.img-about-me {
    height: 650px;
}

/* Content */
.about-me .content-about {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.text-about {
    width: 60%;
    color: #d3d3d3;
    font-size: 25px;
    text-align: justify;
}

/**--------------------------------------------------------*/
/* Skills */
.skills {
    width: 100%;
    color: white;
    display: flex;
    align-items: center;
    flex-direction: column;
    margin-bottom: 200px;
}

/* titles */
.skills .title-skills {
    font-weight: bold;
    font-size: 40px;
    margin-bottom: 100px;
    position: relative;
    transition: all 0.4s ease-in-out;
}

.title-skills::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 5px;
    background-color: #ffffff;
    border-radius: 50px;
    transition: all 0.4s ease-in-out;
}

.title-skills:hover::after {
    width: 0%;
    transform: translateX(50%);
}

.title-skills:hover {
    scale: 1.1;
    color: var(--color);
}

/* slider */
.container .swiper {
    width: 100%;
    display: flex;
    justify-content: center;
    flex-direction: column;
    pointer-events: none;
}

.swiper .swiper-wrapper {
    width: 100%;
    display: flex;
    justify-content: space-between;
}

.swiper-wrapper .swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 160px;
    height: 160px;
}

.svg-icon {
    width: 90px;
    fill: #3d3d3da8 !important;
}

.swiper-wrapper {
    transition-timing-function: linear !important;
}

/**--------------------------------------------------------*/
/* Project */
.container .project {
    width: 100%;
    color: white;
    display: flex;
    align-items: center;
    flex-direction: column;
    margin-bottom: 100px;
}

/* titles */
.project .title-project {
    font-weight: bold;
    font-size: 40px;
    margin-bottom: 100px;
    position: relative;
    transition: all 0.4s ease-in-out;
}

.title-project::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 5px;
    background-color: #ffffff;
    border-radius: 50px;
    transition: all 0.4s ease-in-out;
}

.title-project:hover::after {
    width: 0%;
    transform: translateX(50%);
}

.title-project:hover {
    scale: 1.1;
    color: var(--color);
}

/* Contact */
.container-project {
    width: 100%;
    color: white;
    display: flex;
    align-items: center;
    flex-direction: row;
    justify-content: space-between;
    margin-bottom: 150px;
}

/* Image */
.img-project {
    width: 550px;
    height: auto;
}

.img-project:hover {
    scale: 1.2;
}

/* Project Content */
.row {
    flex-direction: row-reverse;
}

.content-project {
    width: 50%;
    display: flex;
    flex-direction: column;
}

/* Titles */
.content-project .project-title {
    font-weight: bold;
    font-size: 35px;
    margin-bottom: 25px;
}

/* Information */
.content-project .information {
    display: flex;
    align-items: center;
    flex-direction: column;
    font-size: 20px;
}

.information .description-project {
    color: #bebebe;
    font-weight: 100;
    text-align: justify;
    margin-bottom: 30px;
}

/* Buttom  Instagram */
.information .btn-instagram {
    text-decoration: none;
    color: var(--color);
    padding: 10px 30px;
    border: 3px solid var(--color);
    border-radius: 50px;
    position: relative;
    transition: all 0.4s ease-in-out;
    display: flex;
    justify-content: center;
}

.btn-instagram::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 100%;
    background-color: var(--color);
    border-radius: inherit;
    transition: all 0.4s ease-in-out;
    transform: translateX(100%);
    z-index: -1;
}

.btn-instagram:hover::before {
    width: 100%;
    transform: translateX(0%);
}

.btn-instagram:hover {
    color: black;
    font-weight: bold;
    letter-spacing: 1.2px;
    border: none;
}

.btn-instagram::after {
    content: "";
    position: absolute;
    top: -10px;
    width: 0px;
    height: 0px;
    background-image: url(image/instagram-img.png);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: top;
    border-radius: 10px;
    transition: all 0.5s ease-out;
    pointer-events: none;

}

.btn-instagram:hover::after {
    top: -160px;
    width: 250px;
    height: 150px;
}

/* Buttom  Behance */
.information .btn-behance {
    text-decoration: none;
    color: var(--color);
    padding: 10px 30px;
    border: 3px solid var(--color);
    border-radius: 50px;
    position: relative;
    transition: all 0.4s ease-in-out;
    display: flex;
    justify-content: center;
}

.btn-behance::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 100%;
    background-color: var(--color);
    border-radius: inherit;
    transition: all 0.4s ease-in-out;
    transform: translateX(100%);
    z-index: -1;
}

.btn-behance:hover::before {
    width: 100%;
    transform: translateX(0%);
}

.btn-behance:hover {
    color: black;
    font-weight: bold;
    letter-spacing: 1.2px;
    border: none;
}

.btn-behance::after {
    content: "";
    position: absolute;
    top: -10px;
    width: 0px;
    height: 0px;
    background-image: url(image/behance-img.png);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: left top;
    border-radius: 10px;
    transition: all 0.5s ease-out;
    pointer-events: none;

}

.btn-behance:hover::after {
    top: -160px;
    width: 250px;
    height: 150px;
}

/* Buttom  linkedin */
.information .btn-linkedin {
    text-decoration: none;
    color: var(--color);
    padding: 10px 30px;
    border: 3px solid var(--color);
    border-radius: 50px;
    position: relative;
    transition: all 0.4s ease-in-out;
    display: flex;
    justify-content: center;
}

.btn-linkedin::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 100%;
    background-color: var(--color);
    border-radius: inherit;
    transition: all 0.4s ease-in-out;
    transform: translateX(100%);
    z-index: -1;
}

.btn-linkedin:hover::before {
    width: 100%;
    transform: translateX(0%);
}

.btn-linkedin:hover {
    color: black;
    font-weight: bold;
    letter-spacing: 1.2px;
    border: none;
}

.btn-linkedin::after {
    content: "";
    position: absolute;
    top: -10px;
    width: 0px;
    height: 0px;
    background-image: url(image/linkedIn-img.png);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: top;
    border-radius: 10px;
    transition: all 0.5s ease-out;
    pointer-events: none;

}

.btn-linkedin:hover::after {
    top: -160px;
    width: 250px;
    height: 150px;
}

/**--------------------------------------------------------*/
/* Services */
.container .services {
    width: 100%;
    color: white;
    display: flex;
    align-items: center;
    flex-direction: column;
    margin-bottom: 200px;
}

/* titles */
.services .title-services {
    font-weight: bold;
    font-size: 40px;
    margin-bottom: 100px;
    position: relative;
    transition: all 0.4s ease-in-out;
}

.title-services::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 5px;
    background-color: #ffffff;
    border-radius: 50px;
    transition: all 0.4s ease-in-out;
}

.title-services:hover::after {
    width: 0%;
    transform: translateX(50%);
}

.title-services:hover {
    scale: 1.1;
    color: var(--color);
}

/* Service Boxes */
.fa-solid {
    font-size: 4rem;
    color: #d30000;
    margin-bottom: 50px;
}

.container-services {
    display: flex;
    justify-content: center;
    gap: 40px;
}

.box-services {
    background: linear-gradient(80deg, #0f0f0f, #141414);
    width: calc(100% /3);
    display: flex;
    align-items: center;
    flex-direction: column;
    text-align: center;
    padding: 50px 30px;
    border-radius: 30px;
    transition: all 0.2s ease;
    z-index: 1;
}

.box-services:hover {
    box-shadow: 0 0 20px var(--color);
    scale: 1.1;
    color: var(--color);
}

.box-services .serves-title {
    font-weight: bold;
    font-size: 30px;
    margin-bottom: 20px;
}

.box-services .description-services {
    font-size: 18px;
    color: #bebebe;
    margin-bottom: 20px;
    text-align: center;
}

/* link animations*/
.box-services .btn-services {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 20px;
    font-weight: bold;
    text-decoration: none;
    color: var(--color);
    padding: 10px 40px;
    border: 4px solid var(--color);
    border-radius: 50px;
    margin-bottom: 20px;
    position: relative;
    transition: all 0.4s ease-in-out;
}

.btn-services::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 100%;
    background-color: var(--color);
    border-radius: inherit;
    transition: all 0.4s ease-in-out;
    transform: translateX(100%);
    z-index: -1;
}

.btn-services:hover::before {
    width: 100%;
    transform: translateX(0%);
}

.btn-services:hover {
    color: black;
    border: none;
}

.btn-services::after {
    content: "";
    position: absolute;
    top: -10px;
    width: 0px;
    height: 0px;
    background-image: url(image/whatsApp.png);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    border-radius: 10px;
    transition: all 0.5s ease-out;
    pointer-events: none;
}

.btn-services:hover::after {
    top: -160px;
    width: 250px;
    height: 150px;
}

.email {
    font-size: 18px;
    color: var(--color);
    text-decoration: none;
    cursor: pointer;
    transition: all 0.4s ease-out;
    display: flex;
    justify-content: center;
    position: relative;
}

.email:hover {
    text-decoration: underline;
}

.email::after {
    content: "";
    position: absolute;
    top: -10px;
    width: 0px;
    height: 0px;
    background-image: url(image/email.png);
    background-repeat: no-repeat;
    background-size: cover;
    border-radius: 10px;
    transition: all 0.5s ease-out;
    pointer-events: none;
}

.email:hover::after {
    top: -160px;
    width: 250px;
    height: 150px;
}

/**--------------------------------------------------------*/
/* Footer */
/* Contact */
.container .contact {
    width: 100%;
    color: white;
    display: flex;
    align-items: center;
    flex-direction: column;
    margin-bottom: 200px;
}

/* titles */
.contact .title-contact {
    font-weight: bold;
    font-size: 40px;
    margin-bottom: 100px;
    position: relative;
    transition: all 0.4s ease-in-out;
}

.title-contact::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 5px;
    background-color: #ffffff;
    border-radius: 50px;
    transition: all 0.4s ease-in-out;
}

.title-contact:hover::after {
    width: 0%;
    transform: translateX(50%);
}

.title-contact:hover {
    scale: 1.1;
    color: var(--color);
}

/* Contact Icon */
.container .wrapper {
    display: inline-flex;
    list-style: none;
    width: 95%;
    justify-content: center;
    gap: 20px;
}

.wrapper .link-contact {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ff0000;
}

.wrapper .icon {
    position: relative;
    background: #000000;
    border-radius: 50%;
    margin: 10px;
    width: 70px;
    height: 70px;
    font-size: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    box-shadow: 0 10px 10px #2c2c2c96;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.wrapper .tooltip {
    position: absolute;
    top: 0;
    font-size: 18px;
    background: #fff;
    color: #fff;
    padding: 5px 12px;
    border-radius: 5px;
    box-shadow: 0 10px 10px rgba(0, 0, 0, 0.1);
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease-in-out;
}

.wrapper .tooltip::before {
    position: absolute;
    content: "";
    height: 8px;
    width: 8px;
    background: #fff;
    bottom: -5px;
    left: 50%;
    transform: translate(-50%) rotate(45deg);
    transition: all 0.3s ease-in-out;
}

.wrapper .icon:hover .tooltip {
    top: -50px;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.wrapper .icon:hover span,
.wrapper .icon:hover .tooltip {
    text-shadow: 0px -1px 0px rgba(0, 0, 0, 0.1);
}

.wrapper .facebook:hover,
.wrapper .facebook:hover .tooltip,
.wrapper .facebook:hover .tooltip::before {
    background: #1877f2;
    color: #fff;
}


.wrapper .whatsapp:hover,
.wrapper .whatsapp:hover .tooltip,
.wrapper .whatsapp:hover .tooltip::before {
    background: #25D366;
    color: #fff;
}

.wrapper .instagram:hover,
.wrapper .instagram:hover .tooltip,
.wrapper .instagram:hover .tooltip::before {
    background: #e4405f;
    color: #fff;
}


.wrapper .behance:hover,
.wrapper .behance:hover .tooltip,
.wrapper .behance:hover .tooltip::before {
    background: #e4405f;
    color: #fff;
}

.wrapper .Linkedin:hover,
.wrapper .Linkedin:hover .tooltip,
.wrapper .Linkedin:hover .tooltip::before {
    background: #0e76a8;
    color: #fff;
}

.wrapper .GitHub:hover,
.wrapper .GitHub:hover .tooltip,
.wrapper .GitHub:hover .tooltip::before {
    background: #171515;
    color: #fff;
}

/* ---------------------------- */
/** Media Queries */

/* الشاشات العملاقة */
@media (min-width: 1399.98px) and (max-width: 1600px) {

    /** content page*/
    .container {
        width: 85%;
    }

    .p {
        margin-top: 20px;
    }
}

/* الشاشات الكبيرة */
@media (min-width: 1200px) and (max-width: 1399.98px) {

    /** content page*/
    .container {
        width: 85%;
    }

    /** Nav Bar */
    .navbar {
        width: 45%;
    }

    /* For Me*/
    .p {
        margin-top: 20px;
    }

    /**--------------------------------------------------------*/
    /* About Me */
    .img-about-me {
        height: 430px;
    }

    /**--------------------------------------------------------*/
    /* Skills */
    .swiper-wrapper .swiper-slide {
        width: 120px;
        height: 120px;
    }

    .svg-icon {
        width: 70px;
        fill: #3d3d3da8 !important;
    }

    /**--------------------------------------------------------*/

    /* Project */

    /* Image */
    .img-project {
        width: 450px;
        height: auto;
    }

    /* Project Content */
    .content-project {
        width: 50%;
    }

    /* Titles */
    .content-project .project-title {
        font-size: 32px;
    }

    /**--------------------------------------------------------*/
    /* Services */

    /* Service Boxes */
    .fa-solid {
        font-size: 3.5rem;
    }

    /* link animations*/
    .btn-services:hover::after {
        width: 230px;
        height: 130px;
    }

    .email:hover::after {
        width: 230px;
        height: 130px;
    }

}

/* الشاشات المتوسطة */
@media (min-width: 992px) and (max-width: 1199.98px) {

    /** content page*/
    .container {
        width: 90%;
        flex-wrap: wrap;
    }

    /** Nav Bar */
    .navbar {
        width: 60%;
    }

    /**--------------------------------------------------------*/
    /* For me */

    .text-me .h1 {
        font-size: 42px;
    }

    .p {
        margin-top: 20px;
    }


    .img-for-me {
        height: 420px;
    }

    /**--------------------------------------------------------*/
    /* About Me */
    .img-about-me {
        height: 430px;
    }

    .text-about {
        font-size: 22px;
    }

    /**--------------------------------------------------------*/
    /* Skills */
    .swiper-wrapper .swiper-slide {
        width: 110px;
        height: 110px;
    }

    .svg-icon {
        width: 70px;
        fill: #3d3d3da8 !important;
    }

    /**--------------------------------------------------------*/

    /* Project */

    /* Image */
    .img-project {
        width: 400px;
        height: auto;
    }

    /* Project Content */
    .content-project {
        width: 50%;
    }

    /* Titles */
    .content-project .project-title {
        font-size: 30px;
    }

    /* Information */
    .content-project .information {
        display: flex;
        align-items: center;
        flex-direction: column;
        font-size: 18px;
    }

    /**--------------------------------------------------------*/
    /* Services */

    /* Service Boxes */
    .fa-solid {
        font-size: 3rem;
    }

    .box-services .serves-title {
        font-size: 25px;
    }

    .box-services .description-services {
        font-size: 16px;
    }

    /* link animations*/
    .btn-services:hover::after {
        width: 210px;
        height: 110px;
    }

    .email:hover::after {
        width: 210px;
        height: 110px;
    }

}

/* الأجهزة اللوحية */
@media (min-width: 768px) and (max-width: 991.98px) {

    /** content page*/
    .container {
        display: flex;
        align-items: center;
        flex-direction: column;
        flex-wrap: wrap;
        width: 100%;
        height: max-content;
        padding: 20px;
    }

    /* Nav Bar */
    .navbar {
        width: 80%;
    }

    /**--------------------------------------------------------*/
    /* For me */
    .container .for-me {
        flex-direction: column-reverse;
        text-align: center;
    }

    .for-me .text-me {
        width: 80%;
    }

    .p {
        font-size: 20px;
        text-align: center;
        margin-top: 20px;
    }

    .img-for-me {
        height: 450px;
        margin-bottom: 40px;
    }

    /**--------------------------------------------------------*/
    /* About Me */

    .img-about-me {
        height: 450px;
        margin-bottom: 40px;
    }

    /* Content */
    .about-me .content-about {
        flex-direction: column;
    }

    .text-about {
        width: 80%;
        text-align: center;
        font-size: 22px;
    }

    /**--------------------------------------------------------*/
    /* Skills */

    /* slider */
    .swiper-wrapper .swiper-slide {
        width: 130px;
        height: 150px;
    }

    .svg-icon {
        width: 85px;
        fill: #3d3d3da8 !important;
    }

    /*--------------------------------------------------------*/
    /* Project */

    /* Contact */
    .container-project {
        flex-direction: column;
    }

    /* Image */
    .img-project {
        margin-bottom: 40px;
    }

    /* Project Content */
    .content-project {
        width: 80%;
        text-align: center;
    }

    /* Titles */
    .row {
        flex-direction: column;
    }

    .content-project .project-title {
        font-size: 35px;
    }

    /* Information */
    .information .description-project {
        text-align: center;
    }

    /**--------------------------------------------------------*/
    /* Services */

    /* Service Boxes */
    .container-services {
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
        gap: 50px;
    }

    .fa-solid {
        font-size: 4.5rem;
    }

    .box-services {
        width: 70%;
    }

    .box-services .serves-title {
        font-size: 35px;
    }

    .box-services .description-services {
        font-size: 25px;
    }

}

/* الهواتف المتوسطة */
@media (min-width: 576px) and (max-width: 767.98px) {

    /** content page*/
    .container {
        display: flex;
        align-items: center;
        flex-direction: column;
        flex-wrap: wrap;
        width: 100%;
        height: max-content;
        padding: 20px;
    }

    /* Nav Bar */
    .navbar {
        width: 80%;
    }

    /**--------------------------------------------------------*/
    /* For me */
    .container .for-me {
        flex-direction: column-reverse;
        text-align: center;
    }

    .for-me .text-me {
        width: 80%;
    }

    .p {
        font-size: 18px;
        text-align: center;
        margin-top: 20px;
    }

    .img-for-me {
        height: 400px;
        margin-bottom: 40px;
    }

    /**--------------------------------------------------------*/
    /* About Me */

    .img-about-me {
        height: 400px;
        margin-bottom: 40px;
    }

    /* Content */
    .about-me .content-about {
        flex-direction: column;
    }

    .text-about {
        width: 80%;
        text-align: center;
        font-size: 19px;
    }

    /**--------------------------------------------------------*/
    /* Skills */

    /* slider */
    .swiper-wrapper .swiper-slide {
        width: 130px;
        height: 150px;
    }

    .svg-icon {
        width: 75px;
        fill: #3d3d3da8 !important;
    }

    /*--------------------------------------------------------*/
    /* Project */

    /* Contact */
    .container-project {
        flex-direction: column;
    }

    /* Image */
    .img-project {
        width: 400px;
        margin-bottom: 40px;
    }

    /* Project Content */
    .content-project {
        width: 80%;
        text-align: center;
    }

    /* Titles */
    .row {
        flex-direction: column;
    }

    .content-project .project-title {
        font-size: 35px;
    }

    /* Information */
    .information .description-project {
        text-align: center;
    }

    /**--------------------------------------------------------*/
    /* Services */

    /* Service Boxes */
    .container-services {
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
        gap: 40px;
    }

    .fa-solid {
        font-size: 4.5rem;
    }

    .box-services {
        width: 80%;
    }

    .box-services .serves-title {
        font-size: 35px;
    }

    .box-services .description-services {
        font-size: 25px;
    }

    /**--------------------------------------------------------*/
    /* Footer */
    /* Contact */
    .container .contact {
        flex-wrap: wrap;
    }

    /* Contact Icon */
    .container .wrapper {
        width: 80%;
        flex-wrap: wrap;
        gap: 30px;
    }

}

/* الهواتف الصغيرة جدًا */
@media (max-width: 575.98px) {

    /* صفحة التحميل */

    .ICONS {
        gap: 30px;
        margin-bottom: -25px;
    }

    .counter p {
        font-size: 25px;
        padding: 0;
        margin: 0;
        margin-bottom: 10px;
    }


    /** content page*/
    .container {
        display: flex;
        align-items: center;
        flex-direction: column;
        flex-wrap: wrap;
        width: 100%;
        height: max-content;
        padding: 20px;
    }

    /* Nav Bar */
    .navbar {
        visibility: hidden;
    }

    /**--------------------------------------------------------*/
    /* For me */
    .container .for-me {
        flex-direction: column-reverse;
        text-align: center;
        margin-top: 50px;
    }

    .for-me .text-me {
        width: 80%;
    }

    .p {
        font-size: 18px;
        text-align: center;
        margin-top: 20px;
    }

    .img-for-me {
        height: 350px;
        margin-bottom: 40px;
    }

    /**--------------------------------------------------------*/
    /* Up and Down */
    .up-and-down {
        flex-direction: column-reverse;
        gap: 30px;
    }

    .text {
        font-size: 20px;
    }

    /**--------------------------------------------------------*/
    /* About Me */

    .img-about-me {
        height: 350px;
        margin-bottom: 40px;
    }

    /* Content */
    .about-me .content-about {
        flex-direction: column;
    }

    .text-about {
        width: 80%;
        text-align: center;
        font-size: 17px;
    }

    /**--------------------------------------------------------*/
    /* Skills */

    /* slider */
    .swiper-wrapper .swiper-slide {
        width: 101px;
        height: 100px;
    }

    .svg-icon {
        width: 70px;
        fill: #3d3d3da8 !important;
    }

    .swiper-wrapper {
        transition-timing-function: linear !important;
    }

    /*--------------------------------------------------------*/
    /* Project */

    /* Contact */
    .container-project {
        flex-direction: column;
    }

    /* Image */
    .img-project {
        width: 300px;
        margin-bottom: 40px;
    }

    /* Project Content */
    .content-project {
        width: 80%;
        text-align: center;
    }

    /* Titles */
    .row {
        flex-direction: column;
    }

    .content-project .project-title {
        font-size: 35px;
    }

    /* Information */
    .information .description-project {
        text-align: center;
        font-size: 15px;
    }

    /**--------------------------------------------------------*/
    /* Services */

    /* Service Boxes */
    .container-services {
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
        gap: 40px;
    }

    .fa-solid {
        font-size: 3.5rem;
    }

    .box-services {
        width: 85%;
    }

    .box-services .serves-title {
        font-size: 30px;
    }

    .box-services .description-services {
        font-size: 15px;
    }

    /**--------------------------------------------------------*/
    /* Footer */
    /* Contact */
    .container .contact {
        flex-wrap: wrap;
    }

    /* Contact Icon */
    .container .wrapper {
        width: 80%;
        flex-wrap: wrap;
        gap: 30px;
    }

}