/* Google Fonts*/
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@200;300;400;500;600;700;800&family=Tektur:wght@400;600;800&display=swap');


/* Modify The default CSS */
* {
    margin: 0;
    padding: 0;
    font-family: 'Poppins', sans-serif;
    box-sizing: border-box;
}

/* night mode */

#sun {
    display: none;
}


body {
    height: 100vh;
    width: 100%;
    color: #181a21;
}

a {
    color: #181a21;
    text-decoration: none;
}
/* The Header Section */

header {
    display: flex;
    align-items: center;
    justify-content: space-around;
    width: 100%;
    height: 100px;
    margin-bottom: 20px;
}

.left,
.right {
    margin: 0 50px;
}
.menu {
    display: none;
}

.left, .right,ul li, main,main p, .right span, #Work p,.my-works .cards{
    display: flex;
    align-items: center;
    justify-content: center;
}

.left span, .menu span {
    padding: 15px;
    margin-right: 20px;
    margin-left: 20px;
    border-radius: 50%;
    cursor: pointer;
    border: 1px solid #e6e2e2;
    user-select: none;
}
.right span {
    margin-left: -30px;
    padding: 15px;
    border-radius: 50%;
    cursor: pointer;
    border: 1px solid #e6e2e2;
    user-select: none;
}

.left span:hover,.right span:hover, .menu span:hover {
    background-color: #aeabab25;
}
.left h5 {
    font-size: 1rem;
}
.right ul {
    display: flex;
    justify-content: space-between;
}

.right ul li {
    text-decoration: none;
    list-style: none;
    margin: 30px;
    font-size: 15px;
    font-weight: 600;
}

.right ul li a:hover{
    color: #0088CC;
}

/* End of the Header */


/* The Main */


main {
    flex-direction: column;
}

main .img img {
    margin-bottom: 0px;
    width: 250px;
    height: 250px;
    border-radius: 50%;
    padding: 3px;
    object-fit: cover;
    border: 5px solid #0088CC;
    user-select: none;
}

svg {
    position: absolute;
    width: 250px;
    color: #0088cc70;
    margin-top: 58px;
    margin-left: -265px;
    
}
main h3 {
    font-size: 1.3rem;
    letter-spacing: 5px;
    margin: 20px 5px;
}
main h1{
    text-align: center;
    letter-spacing: 5px;
    font-size: 3rem;
}
main h1 span {
    /* color: #0088CC; */
}
#provide {
    display: none;
    font-size: 1.1rem;
    margin: 20px 0;
    text-align: center;
}

main p a {
    text-decoration: none;
    color: #fff;
}
main p {
    margin-top: 20px;
    margin-bottom: 80px;
    color: #fff;
    width: 180px;
    height: 50px;
    background-color: #181a21;
    border-radius: 50px;
}
main p:hover {
    color: #fff;
    background-color: #292f44;
    cursor: pointer;
}


/* End Of the Main Section */




/* Work Section */


#Work, .resume, .service {
    display: flex;
    align-items: center;
    flex-direction: column;
    border-top: 1px solid #e4e1e1;
    border-bottom: 1px solid #e4e1e1;
}

#Work p, .resume p, .service p {
    margin-top: 80px;
    margin-bottom: 80px;
    height: 60px;
    width: 350px;
    border: 1px solid;
    font-size: 1.2rem;
    font-weight: 600;
    border-radius: 10px;
    font-size: 1.3rem;
    letter-spacing: 5px;
}

.my-works {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 50px;
}

.my-works .cards{
    height: 300px;
    width: 280px;
    padding: 10px 0;
    border-radius: 10px;
    border: 1px solid #c0bebe;
    overflow: hidden;
    flex-direction: column;
    transition: 100ms ease-in;
}

.my-works .cards:hover{
    cursor: pointer;
    border: 1px solid #8d8c8c;
    background-color: #dfdcdc;
}

.my-works .cards img {
    display: grid;
    place-items: center;
    width: 80%;
    height: 80%;
    object-fit: cover;
}

#Work .my-works .cards p {
    max-height: 80px;
    letter-spacing: 0;
    padding: 20px 0;
    margin-top: 10px;
    margin-bottom: 0px;
    background-color: transparent;
    border-top: 1px solid #c0bebe;
    border-bottom: none;
    font-size: 1.1rem;
}


/* The end of Work Section */


/* About me (Resume) */

.resume p, .service p {
    display: grid;
    place-items: center;
    margin-bottom: 150px;
}
.main-resume, .main-service {
    margin-top: -80px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 400px;
    
}

.left-side, .right-side p {
    display: flex;
    flex-direction: column;
    width: 530px;
    max-height: 550px;
    word-spacing: 5px;
    margin-left: 150px;
    background-color: #f0efef51;
    border-radius: 10px;
}
.main-service .left-side {
    background-color: transparent;
}
.main-service .left-side {
    margin-right: 20px;
}
.main-service .right-side p {
    margin-left: 0;
    margin-right: 150px;
}


.left-side p, .right-side p{
    color: #555353;
    width: 500px;
    border: none;
    font-size: 1.1rem;
    letter-spacing: 0;
    height: 50%;
    margin-top: 0px;
    margin-bottom: 50px;
    padding: 20px;
    line-height: 30px;
    
}
.left-side a {
    align-items: center;
    margin-top: -70px;
    padding: 20px;
}
.left-side button {
    padding: 10px 20px;
    font-size: 1rem;
    border-radius: 10px;
    outline: none;
    background-color: #0088CC;
    border: none;
    color: #e4e1e1;
}

.left-side button:hover{
    background-color: #07547a;
    cursor: pointer;
}
.right-side {
    width: 400px;
    margin-right: 150px;
}

.right-side img, .left-side img  {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 400px;

}

.right-side img {
    margin-left: 50px;
}
.left-side img {
    margin-left: -80px;
}

/* Contact Section */




/* Footer */

footer {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    margin-top: 20px; 
    margin-bottom: 40px; 
}

footer p{
    padding: 5px;
}



/* Responsive desing */


@media screen and (max-width: 767px) {
    /* Styles for phones */

    .menu {
        margin-right: -100px;
        display: flex;
        width: 0%;
        justify-content: right;
    }

    #closeMenu {
        display: none;
    }

    .right {
        display: none;
    }
    main h1 {
        font-size: 2rem;
    }
    .my-works {
        grid-template-columns: repeat(1, 1fr);
        gap: 16px;
    }

    .main-resume, .main-service {
        flex-direction: column;
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100px;
    }


    .left-side, .right-side p {
        background-color: red;
        width: 400px;
        margin-right: 0;
    }

    .main-resume p , .main-service p {
        font-size: 0.9rem;
        width: 360px;
    }

    
    footer p {
        font-size: 10px;
    }

}
  
  @media screen and (min-width: 768px) and (max-width: 1024px) {
    /* Styles for tablets */

    .menu {
        display: flex;
        width: 30%;
        justify-content: right;
    }

    #closeMenu {
        display: none;
    }

    .left {
        margin-left: -10px;
    }

    .right {
        display: none;
    }

    main h1 {
        font-size: 2.5rem;
    }

    main h1 svg {
        width: 200px;
        margin-left: -220px;
    }
    .my-works {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .main-resume, .main-service {
        flex-direction: column;
        display: flex;
        align-items: center;
        justify-content: center;
        width: auto;
    }

    .left-side, .right-side p {
        margin-left: 0px;
    }

    .main-service .left-side {
        margin-right: -250px;
    }
    .main-service .right-side p {
        margin-left: 25px;
    }   

  }