@font-face {
    font-family: 'Cairo';
    src: url('../fonts/Cairo-Bold.ttf');
}

:root {
    --primary-color: #2ecc71;
}

* {
    box-sizing: border-box;
}

body {
    background-color: #fff;
    font-family: 'Cairo';
}

ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

a {
    text-decoration: none;
}

button {
    background-color: transparent;
    padding: 0;
    cursor: pointer;
    border: none;
}

.container {
    padding: 0 15px;
    margin: auto;
}

@media (min-width: 768px) {
    .container {
        width: 750px;
    }
}

@media (min-width: 992px) {
    .container {
        width: 970px;
    }
}

@media (min-width: 1200px) {
    .container {
        width: 1170px;
    }
}

.header {
    background-image: url('../images/bg-header.jpg');
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
    height: calc(100vh - 53px);
    color: #fff;
}

.header>div {
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.header h1 {
    width: fit-content;
    text-transform: uppercase;
    margin: 0;
    padding: 10px 0;
    border: 1px solid transparent;
    border-top-color: #fff;
    border-bottom-color: #fff;
    font-size: 50px;
    margin-bottom: 70px;
}

@media (max-width: 767px) {
    .header h1 {
        font-size: 30px;
        text-align: center;
    }
}

.header a {
    border: 1px solid #fff;
    font-size: 20px;
    color: #fff;
    padding: 10px 20px;
}

.navbar {
    background-color: #252f31;
    padding: 15px 0;
}

.navbar>div {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

@media (max-width: 991px) {
    .navbar>div {
        flex-wrap: wrap;
    }
}

.navbar .logo {
    font-size: 20px;
    color: #fff;
    text-transform: uppercase;
}

.navbar .logo span {
    color: var(--primary-color);
}

.navbar button {
    color: var(--primary-color);
    font-size: 25px;
    cursor: pointer;
    display: none;
}

@media (max-width: 991px) {
    .navbar button {
        display: block;
    }
}

.navbar ul {
    display: flex;
}

@media (max-width: 991px) {
    .navbar ul {
        width: 100%;
        display: none;
        flex-direction: column;
        margin-top: 10px;
    }
}

.navbar ul li {
    margin-left: 10px;
}

@media (max-width: 991px) {
    .navbar ul li {
        margin: 10px 0 0;
    }
}

.navbar ul li a {
    color: #fff;
    font-size: 17px;
}

.navbar ul li a.active,
.navbar ul li a:hover {
    color: var(--primary-color);
}

.features {
    padding: 50px 0;
}

@media (min-width: 768px) {
    .features>div {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
        gap: 10px;
    }
}

.features .feature h3 {
    font-size: 25px;
    text-transform: uppercase;
    color: #333;
}

.features .feature p {
    font-size: 17px;
    line-height: 1.6;
    color: grey;
}

.about-me {
    background-color: #eee;
    display: flex;
}

@media (max-width: 991px) {
    .about-me {
        flex-direction: column;
    }
}

.about-me .about-me-images {
    width: 500px;
}

@media (max-width: 991px) {
    .about-me .about-me-images {
        width: 100%;
    }
}

.about-me .about-me-images img {
    width: 100%;
}

.about-me .about-me-info {
    width: calc(100% - 500px);
    padding: 30px 50px;
}

@media (max-width: 991px) {
    .about-me .about-me-info {
        width: 100%;
        padding-left: 15px;
        padding-right: 15px;
    }
}

.about-me .about-me-info h2 {
    font-size: 30px;
    color: #333;
}

.about-me .about-me-info p {
    font-size: 17px;
    color: grey;
    line-height: 1.6;
}

.about-me-skills {
    margin-top: 50px;
}

@media (min-width: 768px) {
    .about-me-skills {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
        gap: 5px;
    }
}

.about-me-skills .about-me-skills-skill {
    display: flex;
}

@media (max-width: 767px) {
    .about-me-skills .about-me-skills-skill {
        flex-direction: column;
        text-align: center;
    }
}

.about-me-skills .about-me-skills-skill i {
    font-size: 30px;
    color: var(--primary-color);
}

@media (max-width: 767px) {
    .about-me-skills .about-me-skills-skill i {
        font-size: 50px;
        margin: auto;
    }
}

.about-me-skills .about-me-skills-skill div {
    margin-left: 30px;
}

@media (max-width: 767px) {
    .about-me-skills .about-me-skills-skill div {
        margin: 20px 0 0;
    }
}

.about-me-skills .about-me-skills-skill div h3 {
    margin: 0;
    color: #333;
}

.skills {
    padding: 50px 0;
}

.skills>div {
    display: flex;
    align-items: center;
}

@media (max-width: 991px) {
    .skills div {
        flex-direction: column;
    }
}

.skills .skills-about,
.skills .skills-progress {
    width: 50%;
    padding: 10px;
}

@media (max-width: 991px) {

    .skills .skills-about,
    .skills .skills-progress {
        width: 100%;
    }

    .skills .skills-about {
        margin-bottom: 30px;
    }
}

.skills .skills-about h2 {
    color: #333;
    font-size: 25px;
}

.skills .skills-about p {
    color: grey;
    line-height: 1.6;
    font-size: 17px;
}

.skills .skills-about button {
    display: block;
    padding: 10px 20px;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.skills .skills-progress .skills-progress-skill {
    margin-bottom: 20px;
}

.skills .skills-progress .skills-progress-skill>span {
    color: #333;
    font-size: 17px;
}

.skills .skills-progress .skills-progress-skill div {
    background-color: #eee;
    width: 100%;
    height: 25px;
    display: flex;
    margin: 5px 0 0;
    padding: 3px;
}

.skills .skills-progress .skills-progress-skill div span {
    background-color: var(--primary-color);
    height: 100%;
    text-align: end;
    padding: 0 5px;
}

.resume {
    background-color: #eee;
    padding: 50px 0;
    text-align: center;
}

.resume h2 {
    color: #333;
}

.resume p {
    color: grey;
    font-size: 17px;
    line-height: 1.6;
    margin: 20px 0 30px;
}

.resume button {
    display: inline-block;
    padding: 10px 20px;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.my-education {
    padding: 50px 0;
}

.my-education>div {
    display: flex;
    flex-wrap: wrap;
}

.my-education .my-education-info,
.my-education .my-education-skills {
    width: 50%;
}

@media (max-width: 991px) {

    .my-education .my-education-info,
    .my-education .my-education-skills {
        width: 100%;
    }
}

.my-education .my-education-info {
    padding-right: 30px;
}

@media (max-width: 991px) {
    .my-education .my-education-info {
        padding-right: 0;
    }
}

.my-education .my-education-info h2 {
    font-size: 30px;
    color: #333;
}

.my-education .my-education-info p {
    color: grey;
    font-size: 17px;
    line-height: 1.6;
}

.my-education .my-education-info p:first-of-type {
    margin-bottom: 30px;
}

.my-education .my-education-skills {
    margin-top: 80px;
    padding-left: 30px;
}

@media (max-width: 991px) {
    .my-education .my-education-skills {
        margin-top: 30px;
        padding-left: 0;
    }
}

.my-education .my-education-skills .my-education-skill:first-of-type {
    margin-bottom: 50px;
}

.my-education .my-education-skills .my-education-skill h3 {
    color: #333;
    font-size: 20px;
    margin: 0;
}

.my-education .my-education-skills .my-education-skill span {
    display: block;
    color: grey;
    font-size: 14px;
    margin: 10px 0;
}

.my-education .my-education-skills .my-education-skill button {
    display: block;
    padding: 10px;
    background-color: var(--primary-color);
    color: #fff;
}

.my-education .my-education-skills .my-education-skill p {
    border-top: 1px solid #ccc;
    margin-top: 20px;
    padding-top: 20px;
    color: grey;
    line-height: 1.6;
    font-size: 17px;
}

.my-education-border .container {
    border: 1px solid #ccc;
}

.testemonials {
    background-color: #eee;
    padding: 50px 0;
    text-align: center;
}

.testemonials .testemonials-slide p {
    color: grey;
    font-size: 17px;
    line-height: 1.6;
}

.testemonials .testemonials-slide h3 {
    color: #333;
    font-size: 20px;
}

.testemonials .testemonials-controls {
    display: flex;
    align-items: center;
    justify-content: center;
}

.testemonials .testemonials-controls li {
    margin: 0 5px;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    border: 2px solid var(--primary-color);
    cursor: pointer;
}

.testemonials .testemonials-controls li.active,
.testemonials .testemonials-controls li:hover {
    background-color: var(--primary-color);
}

.portfolio {
    padding: 50px 0;
}

.portfolio h2 {
    text-align: center;
    color: #333;
}

.portfolio p {
    color: grey;
    font-size: 17px;
    text-align: center;
    padding: 20px 0 50px;
}

@media (min-width: 768px) {
    .portfolio .portfolio-works {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
        gap: 10px;
    }
}

.portfolio .portfolio-works .portfolio-works-work {
    width: 100%;
    overflow: hidden;
}

.portfolio .portfolio-works .portfolio-works-work img {
    width: 100%;
    transition: scale .3s ease-in-out;
}

.portfolio .portfolio-works .portfolio-works-work:hover img {
    scale: 1.1;
}

.contact-me {
    background-color: #333;
    padding: 50px 0;
}

.contact-me .container {
    display: flex;
    flex-wrap: wrap;
}

.contact-me .contact-me-info,
.contact-me form {
    width: 50%;
}

@media (max-width: 991px) {
    .contact-me .contact-me-info,
    .contact-me form {
        width: 100%;
    }
}

.contact-me .contact-me-info {
    padding-right: 30px;
}

@media (max-width: 991px) {
    .contact-me .contact-me-info {
        padding-right: 0;
        margin-bottom: 50px;
    }
}

.contact-me .contact-me-info h2 {
    color: #fff;
}

.contact-me .contact-me-info p {
    font-size: 17px;
    line-height: 1.6;
    color: grey;
}

.contact-me .contact-me-info address {
    margin: 40px 0;
}

.contact-me .contact-me-info address span {
    display: block;
    color: grey;
    font-size: 17px;
    margin: 5px 0;
    font-style: normal;
}

.contact-me .contact-me-info div p {
    margin: 5px 0;
}

.contact-me .contact-me-info div p {
    color: #fff;
}

.contact-me .contact-me-info div span {
    color: grey;
    margin-left: 5px;
}

.contact-me form {
    padding-left: 30px;
}

@media (max-width: 991px) {
    .contact-me form {
        padding-left: 0;
    }
}

.contact-me form .form-group {
    margin-bottom: 20px;
}

.contact-me form label {
    font-size: 17px;
    color: #fff;
    margin-bottom: 20px;
    display: block;
}

.contact-me form input,
.contact-me form textarea {
    background-color: grey;
    width: 100%;
    padding: 15px;
    border-radius: 5px;
    font-size: 17px;
    color: #fff;
    border: none;
}

.contact-me form input:focus,
.contact-me form textarea:focus {
    outline: none;
}

.contact-me form button {
    padding: 15px;
    font-size: 17px;
    background-color: #000;
    color: #fff;
}

.footer {
    background-color: #000;
    padding: 50px 0;
}

.footer p {
    color: grey;
    text-align: center;
    font-size: 20px;
    line-height: 1.6;
}

.footer nav {
    text-align: center;
}

.footer nav a {
    background-color: #333;
    color: #fff;
    display: inline-block;
    font-size: 17px;
    width: 30px;
    height: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin: 0 5px;
}