* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
}
img.profile {
    width: 30%;
    height: 75%;
    border-radius: 50%;
    border: 5px solid gray;
    position: fixed;
    top: 3rem;
    right: 3rem;
    z-index: -1;
}
.container {
    padding: 3rem 6rem;
    overflow-x: hidden;
    width: 70%;
}
/* The Section : Main */
main {
    display: flex;
    justify-content: space-between;
}
main .content::-webkit-scrollbar {
    width: 0;
}
main .content h1, main .content p {
    margin-bottom: 25px;
    line-height: 30px;
}
main p.icon {
    display: inline-block;
}
main i {
    font-size: 30px;
    margin: 10px 8px;
    color: black;
    transition: 1.5s;
}
main i:hover {
    transform: rotate(360deg);
}
/* The Section : Services */
h2.title {
    padding: 30px 0;
}
#services div h3 {
    font-size: 18px;
    margin-bottom: 10px;
}
#services div p {
    font-size: 14px;
    margin-bottom: 10px;
}
#services .cards {
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: center;
}
#services .card {
    width: calc(85%/3);
    box-shadow: 0 0 10px gray;
    padding: 20px;
    border-radius: 15px;
    transition: 1s;
}
#services .card:hover {
    transform: scale(1.1);
}
.card img {
    width: 150px;
}
/* The Section : Projects */
section#projects {
    margin-top: 30px;
}
#projects div {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: 1fr 1fr;
    gap: 10px 10px;
}
#projects img {
    width: 100%;
    height: 200px;
    border: 3px solid gray;
    opacity: 0.8;
    transition: 0.75s;
}
#projects img:hover {
    opacity: 1;
}
/* The Section : Contact */
#contact form {
    display: grid;
    grid-template-columns: 1fr 1fr, 1fr, 1fr;
    gap: 10px 0;
    margin-bottom: 15px;
}
#contact form input, #contact form textarea {
    padding: 10px;
}
#contact button {
    padding: 15px;
    border-radius: 15px;
    color: white;
    background-color:darksalmon;
    border: none;
    cursor: pointer;
    transition: 0.5s;
}
#contact button:hover {
    background-color: aqua;
}
#contact div {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    margin: 15px 0 25px;
}
#contact div i {
    color: red;
    font-size: 18px;
    margin-right: 10px;
}
/* The Section : Footer */
footer {
    text-align: center;
    margin: 50px 0 0;
}
footer a {
    color: blue;
    text-decoration: none;
}
/* ---------------------------
 Making the website Responsive 
 ----------------------------*/
@media (max-width: 1024px) {
    img.profile {
        width: 50%;
        height: 30%;
        position: relative;
        top: 1rem;
        right: 20%;
        left: 20%;
        margin: 1rem auto;
    }
    .container {
        padding: 1rem 4rem;
        width: 100%;
    }
    main i {
        font-size: 25px;
    }
    #services div h3 {
        font-size: 20px;
    }
    #services div p {
        font-size: 16px;
    }
    #services .cards {
        flex-direction: column;
        gap: 30px;
    }
    #services .card {
        width: 85%;
    }
    .card img {
        width: 200px;
    }
    #projects div {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(3, 1fr);
        gap: 5px 5px;
    }
    #contact div {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 10px;
        margin: 40px 0 0;
    }
    #contact div i {
        color: red;
        font-size: 18px;
        margin-right: 10px;
    }
    footer {
        margin: 30px 0 0;
    }
    footer a {
        display: block;
    }
}
/* Tablets */
@media (min-width: 726px) and (max-width: 1024px) {
    img.profile {
        width: 50%;
        height: 20%;
        right: 20%;
        left: 25%;
    }
    main i {
        font-size: 30px;
    }
    #services .cards {
        flex-direction: row;
        justify-content: center;
        flex-wrap: wrap;
        gap: 30px;
    }
    #services .card {
        width: 45%;
    }
    .card img {
        width: 180px;
    }
    #projects div {
        grid-template-columns: repeat(3, 1fr);
        grid-template-rows: repeat(2, 1fr);
        gap: 5px 5px;
    }
    footer a {
        display: inline-block;
    }
}