* {
    padding: 0;
    margin: 0;
    font-family: 'Cairo', sans-serif;
}

html {
    overflow-x: hidden;
}

a {
    text-decoration: none;
}

nav {
    transition-duration: 2s;
}

.logo-photo a {
    height: 100%;
    display: flex;
    align-items: center;
}

.sidbar-all {
    display: none;
}

.skills-sec {
    position: relative;
}

.all-skills span {
    transition-duration: .6s;
}

.list {
    display: none;
}

::-webkit-scrollbar {
    width: 8px;
    /* width of the scrollbar */
}

::-webkit-scrollbar-thumb {
    background-color: var(--mainColor);
    /* color of the scrollbar thumb */
    border-radius: 0px;
    /* roundness of the scrollbar thumb */
}

::-webkit-scrollbar-track {

    background-color: var(--secondColor);
    /* color of the scrollbar track */
}

:root {
    --mainColor: #0075FF;
    --secondColor: #F8F6F6;
}

.custom-shape-divider-bottom-1700762937 {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

.custom-shape-divider-bottom-1700762937 svg {
    position: relative;
    display: block;
    width: calc(105% + 1.3px);
    height: 118px;
}

.custom-shape-divider-bottom-1700762937 .shape-fill {
    fill: #0075FF;
}


.waves {
    width: 100%;
    position: relative;
    height: 100px;
}

.wav {
    width: 100%;
    height: 100%;
    background-size: 1000px 100px;
    background-repeat: repeat;
    position: absolute;

}

.wav1 {
    background-image: url("../../img/wv.svg");
    width: 100%;
    height: 100%;
    opacity: .2;
    animation: dani 30s linear infinite;
    bottom: -15px;
}

@keyframes dani {
    0% {
        background-position-x: 250px;
    }

    100% {
        background-position-x: 1000px;
    }
}


.wav2 {
    background-image: url("../../img/wv.svg");
    width: 100%;
    height: 100%;
    opacity: .5;
    animation: dani2 30s linear infinite;
    bottom: -20px;
}

@keyframes dani2 {
    0% {
        background-position-x: 1000px;
    }

    100% {
        background-position-x: 0px;
    }
}


.wav3 {
    background-image: url("../../img/wv.svg");
    width: 100%;
    height: 100%;
    opacity: 1;
    animation: dani3 25s linear infinite;
    bottom: -20px;
}

@keyframes dani3 {
    0% {
        background-position-x: 1000px;
    }

    100% {
        background-position-x: 2500px;
    }
}



.wav4 {
    background-image: url("../../img/wv.svg");
    width: 100%;
    height: 100%;
    opacity: 0.6;
    animation: dani4 20s linear infinite;
    bottom: -13px;

}

@keyframes dani4 {
    0% {
        background-position-x: 500px;
    }

    100% {
        background-position-x: -1000px;
    }
}


.content-sec-one .information-section1 h1 {
    font-size: 30px;
    line-height: 1.2;
    text-transform: uppercase;
}

.information-section1 ul li i {
    color: var(--mainColor);
}

.information-section1 ul li i:hover {
    color: var(--mainColor);
}



/*skills*/
.skills {
    background-image: url("../../img/gala.png");
    width: 100%;
    height: calc(100vh - 70px);
    padding-top: 15px;
}


.sec2-titel {
    display: flex;
    justify-content: center;

    width: 100%;
    align-items: center;
    text-align: center;


}

.sec2-titel h2 {
    color: var(--secondColor);
}

.sec2-titel span {
    height: 3px;
    background-color: var(--secondColor);
    width: 5%;
    margin-left: 15px;
    margin-right: 15px;
    border-radius: 10px;

}

.skill-info {

    width: 90%;
    margin: auto;
    display: flex;
    justify-content: space-between;
    color: var(--secondColor);

}

.skill-info h1 {
    font-weight: 100;
}

.one-skills span {
    margin-left: 5%;
    background-color: var(--secondColor);
    display: block;
    border-radius: 10px;
}

.all-skills {

    width: 90%;
    margin: auto;
    margin-top: 10px;
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    justify-content: center;
    height: 90%;

}


/*projects*/
.project-cards {
    margin: auto;
    width: 90%;

    display: flex;
    justify-content: space-evenly;
    flex-wrap: wrap;

}

.projects .sec2-titel {
    margin-top: 25px;
}

.projects .sec2-titel h2 {
    color: var(--mainColor);
}

.projects .sec2-titel span {
    background-color: var(--mainColor);
}

.card {

    max-width: 280px;
    margin: 10px;
    margin-bottom: 40px;
    border-radius: 20px;
    transition-duration: .4s;
    background-color: var(--secondColor);
}

.card:hover {
    scale: 1.1;
}

.top-card::before,
.top-card::after {
    content: '';
    width: 40px;
    height: 40px;
    position: absolute;

    background-color: var(--mainColor);
    right: 0;
    bottom: -40px;
}

.top-card {
    background-color: #0075FF;
    padding-top: 15px;
    padding-bottom: 15px;
    border-radius: 25px 25px 0px 25px;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
}

.top-card img {
    width: 80px;
    height: 80px;
    margin: auto;
    border-radius: 1000px;
    border: var(--secondColor) 2px solid;
}

.top-card h4 {
    color: var(--secondColor);
    text-align: center;
}

.bottom-card {
    height: 164px;


}

.top-card::after {
    background-color: var(--secondColor);
    border-radius: 0 25px 0 0;
}


.bottom-card p {
    text-align: center;
    padding-left: 15px;
    padding-right: 15px;
    height: 100%;
    display: flex;
    align-items: center;
    background-color: var(--secondColor);
    border-radius: 0px 0px 25px 25px;
    -webkit-box-shadow: 2px 4px 6px 0px rgba(171, 171, 171, 1);
    -moz-box-shadow: 2px 4px 6px 0px rgba(171, 171, 171, 1);
    box-shadow: 2px 4px 6px 0px rgba(171, 171, 171, 1);
}




.more-project {
    background-color: var(--mainColor);
    width: 200px;
    border-radius: 12px;
    display: block;
    padding: 10px;
    padding-left: 15px;
    padding-right: 15px;
    margin: auto;
    color: var(--secondColor);
    text-align: center;
    -webkit-box-shadow: 2px 4px 6px 0px rgba(171, 171, 171, 1);
    -moz-box-shadow: 2px 4px 6px 0px rgba(171, 171, 171, 1);
    box-shadow: 2px 4px 6px 0px rgba(171, 171, 171, 1);

    transition-duration: .4s;
}

.more-project:hover {
    scale: 1.1;
}





.links h5 {

    display: inline-block;

    position: relative;
    font-size: 15px;
    font-weight: 300;
    transition-duration: .5s;
}


footer h5 {

    text-align: center;
    color: var(--secondColor);
}

.links {
    width: 80%;
    margin: auto;
    color: var(--secondColor);
    padding: 15px;

    position: relative;
}

.links h5::before {
    content: '';
    width: 0px;
    height: 2px;
    position: absolute;
    bottom: 0;
    background-color: var(--secondColor);
    color: var(--secondColor);
    z-index: 100000;
    transition-duration: .5s;
}

.links h5:hover::before {
    width: 100%;
}

.social-media-link .social-media {
    display: flex;
    width: 100%;
    justify-content: center;
}

.social-media-link .social-media i {
    margin: 0;
    margin-left: 10px;
    margin-right: 10px;
}

footer {
    width: 100%;

    background-color: var(--mainColor);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}


@media only screen and (min-width: 1024px) {

    /* Styles for desktops */
    nav {

        display: flex;
        padding-left: 5%;
        padding-right: 5%;
        position: sticky;
        top: 0;
        height: 70px;
        background-color: var(--mainColor);
        justify-content: space-between;
        flex-direction: row;
        align-items: center;
        box-shadow: 0px 5px 6px -3px rgba(0, 0, 0, 0.56);
        -webkit-box-shadow: 0px 5px 6px -3px rgba(0, 0, 0, 0.56);
        -moz-box-shadow: 0px 5px 6px -3px rgba(0, 0, 0, 0.56);

        z-index: 9999;


    }

    .logo-photo {
        display: flex;
        justify-content: center;
        align-items: center;
        height: 100%;
        width: 22.5%;

    }

    .logo-photo .photo {
        height: 90%;
        margin-right: 20px;
    }

    .logo-photo .logo {
        height: 50%;
    }

    nav ul {
        color: var(--secondColor);
        width: 40%;
        margin-left: 2.5%;
        margin-right: 2.5%;
        display: flex;
        justify-content: space-around;
        flex-direction: row;
        align-items: center;
        height: 100%;
    }

    nav .pages li a {
        display: flex;
        justify-content: center;
        align-items: center;
        height: 100%;
        width: 100%;
        color: var(--secondColor);
        transition: .4s;

    }

    nav .pages li {
        margin-left: 2px;
        margin-right: 2px;
        text-align: center;
        width: 100%;
        height: 100%;
        list-style: none;

    }

    li {
        list-style: none;
    }

    .pages li a:hover {
        background-color: var(--secondColor);
        color: var(--mainColor);
    }

    .social-media {
        justify-content: space-between;
        width: 22.5%;
        font-size: 25px;
        height: 100%;

    }

    .social-media i {
        margin-left: 20px;
        color: var(--secondColor);
        transition-duration: .3s;
    }

    .social-media i:hover {
        scale: 1.2;
        color: var(--secondColor);
    }


    /*
   section one
   */

    .first-section {
        height: calc(100vh - 70px);
        background: url('../../img/bck.jpg') center/cover no-repeat;
    }



    .content-sec-one {
        display: flex;
        margin: auto;
        width: 90%;
        height: 100%;
        justify-content: space-evenly;
        align-items: center;
    }



    .code-icon {



        text-align: center;
    }

    .code-icon img {
        position: relative;
        transition-duration: 1s;


    }

    .code-icon img:hover {
        transform: rotate(5deg);
    }

    .all-content-section1 {

        display: flex;
        flex-direction: row;
        width: 40%;

    }

    .line-deco {
        width: 3px;
        margin-right: 3%;
        background-color: var(--mainColor);

        height: inherit;
        border-radius: 10px;
    }


    .information-section1 {
        text-align: left !important;
        width: 98%;
        display: flex;
        flex-direction: column;
    }

    .information-section1 ul {
        display: flex;

    }

    .content-sec-one .information-section1 p {
        margin-top: 10px;
        font-size: 18px;
    }

    .one-skills span {
        height: 5px;
        margin-bottom: 45px;
    }



    .all-skills {
        max-width: 1000px;
    }

    .skill-info h1 {

        font-size: 25px;
    }
    .card {
        width: 25%;
    }
}


@media only screen and (max-width: 767px) {
    /* Styles for mobile devices */

    nav {

        background-color: var(--mainColor);
        position: relative;
    }

    .logo-photo {
        display: flex;
        flex-direction: column;
        position: relative;
    }

    .logo-photo .photo {
        display: block;
        width: 15%;
        margin: auto;

    }

    .logo-photo .logo {
        display: block;
        width: 10%;
        margin: auto;
    }

    .opacity-dark {
        background-color: #0075FF;
        width: 100vw;
        height: 100vh;
        position: absolute;
        opacity: 0;
        z-index: -1;
        top: 0;
    }

    .pages {
        background-color: var(--secondColor);
        width: 40%;
        height: 100vh;
        position: absolute;
        top: 0;
        opacity: .9;

        display: flex;
        flex-direction: column;
        justify-content: center;
        text-align: center;
        left: -40%;
        z-index: 13;
        transition-duration: .4s;
    }

    .list {
        display: block;
        position: absolute;
        top: 40px;
        z-index: 11;
        left: 40px;
        transition-duration: 1s;
    }

    .list i {
        font-size: 30px;
        color: var(--secondColor);
        cursor: pointer;
    }

    .pages li {
        padding-top: 10px;
        padding-bottom: 10px;
    }

    .pages li a {
        display: block;
        justify-content: center;
        align-items: center;
        height: 100%;
        width: 100%;
        color: var(--mainColor);
        padding-top: 10px;
        transition-duration: .3s;
    }

    .pages li:hover a {
        color: var(--secondColor);
        background-color: var(--mainColor);
        border-bottom-right-radius: 33333px;
        border-top-left-radius: 33333px;

    }

    .waves {
        width: 100%;
        position: relative;
        height: 40px;
    }

    .social-media {
        padding: 10px;
        display: flex;
        width: 70%;
        list-style: none;
        justify-content: space-evenly;
        margin: auto;
        font-size: 25px;
    }

    .social-media a {
        color: var(--secondColor);
        transition-duration: .3s;
    }

    .social-media li {
        transition-duration: .3s;
    }

    .social-media li:hover {
        transform: rotate(360deg);
        scale: 1.4;

    }
    /*second  first section*/
    .first-section {
        height: calc(100vh - 32vh);
        background: url('../../img/bck.jpg') center/cover no-repeat;
    }


    .content-sec-one {
        width: 90%;
        display: flex;
        flex-direction: column-reverse;
        margin: auto;
    }

    .content-sec-one .code-icon img {
        width: 100%;
    }

    .content-sec-one .code-icon {
        width: 40%;
        margin: auto;
        overflow: hidden;
    }
    .all-content-section1 {
        margin: auto;
        margin-top: 10%;
        display: flex;
        flex-direction: row;
        width: 90%;
        height: inherit;
    }
    .information-section1 {
        text-align: center;
    }
    .dani-social {
        margin: auto;
    }

    .dani-social ul {
        margin: 0;
        padding-left: 0;
        justify-content: space-between;
        width: 100%;
    }

    .one-skills span {
        height: 5px;
        margin-bottom: 35px;
    }

    .skill-info h1 {

        font-size: 15px;
    }
    .card {
        width: 250px;
    }

}

@media only screen and (min-width: 768px) and (max-width: 1023px) {
    /* Styles for tablets */

    nav {
        position: relative;
        background-color: var(--mainColor);
        width: 100%;
        box-shadow: 0px 5px 6px -3px rgba(0, 0, 0, 0.56);
        -webkit-box-shadow: 0px 5px 6px -3px rgba(0, 0, 0, 0.56);
        -moz-box-shadow: 0px 5px 6px -3px rgba(0, 0, 0, 0.56);
        z-index: 2;
    }

    .logo-photo .photo {
        display: block;
        width: 15%;
        margin: auto;

    }

    .logo-photo .logo {
        display: block;
        width: 10%;
        margin: auto;
    }


    nav .pages {
        display: flex;
        list-style: none;
        width: 70%;
        margin: auto;
        justify-content: space-between;
        margin-top: 30px;
        margin-bottom: 10px;

    }

    .pages li {
        width: 90%;
        text-align: center;
        margin-left: 10px;
        margin-right: 10px;
    }

    .pages li a {
        display: block;
        width: 100%;
        color: var(--secondColor);

        transition-duration: .4s;
    }

    .pages li a:hover {
        color: var(--mainColor);
        background-color: var(--secondColor);
        border-radius: 100000px;
        scale: 1.1;
    }

    .social-media {
        padding: 10px;
        display: flex;
        width: 40%;
        list-style: none;
        justify-content: space-evenly;
        margin: auto;
        font-size: 25px;
    }


    .social-media a {
        color: var(--secondColor);
        transition-duration: .3s;
    }

    .social-media li {
        transition-duration: .3s;
    }

    .social-media li:hover {
        transform: rotate(360deg);
        scale: 1.4;

    }
    /*second  first section*/
    .first-section {
        height: calc(100vh - 32vh);

        background: url('../../img/bck.jpg') center/cover no-repeat;

    }
    .content-sec-one {
        width: 90%;
        display: flex;
        flex-direction: column-reverse;
        margin: auto;
    }

    .content-sec-one .code-icon img {
        width: 100%;
    }

    .content-sec-one .code-icon {
        width: 40%;
        margin: auto;
        overflow: hidden;
    }
    .line-deco {
        width: 5px;
        margin-right: 2%;
        background-color: var(--mainColor);
        height: inherit;
        border-radius: 10px;
    }
    .all-content-section1 {
        margin-top: 10%;
        display: flex;
        flex-direction: row;
        width: 90%;
        height: inherit;
    }
    .dani-social ul {
        margin: 0;
        padding-left: 0;
        justify-content: space-between;
        width: 30%;
    }
    .one-skills span {
        height: 7px;
        margin-bottom: 25px;
    }
    .skill-info h1 {

        font-size: 20px;
    }

    .card {
        width: 250px;
    }

}