* {
    padding: 0;
    margin: 0;
    font-family: 'Josefin sans', sans-serif;
    box-sizing: border-box;
    list-style: none;
    box-sizing: border-box;
}

body {
    background-color: #000;
}

.hero {
    height: 80vh;
    width: 100%;
    position: relative;
}

.hero::after {
    content: "";
    background-image: url(../images/background.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0.5;
    position: fixed;
    top: 100;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero nav img {
    height: 3.5em;
}

.logo {
    color: white;
    font-size: 35px;
    letter-spacing: 1px;
    cursor: pointer;
    display: inline-block;
    padding: 5px 7px;
    background-color: #191919;
    border-radius: 10px;
    font-weight: bold;
}

span {
    color: #f90044;
}

nav {
    height: 5em;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 0px;
    padding-left: 8%;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: #3f2121;
    border-bottom: 2px solid rgb(206, 206, 206);
    box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.8);
    z-index: 1;
    opacity: 1;
}

nav div {
    display: flex;
    align-items: center;
}

nav ul {
    float: right;
    margin-right: 20px;
    margin-top: 8px;
}

nav ul li {
    display: inline-block;
    margin: 0 5px;
    line-height: 40px;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-weight: bold;
    text-transform: capitalize;
    font-size: 18px;
    padding: 0.4em .8em;
}

nav ul li a:hover {
    color: #f90044;
    transition: .4s;
}

.checkbtn {
    font-size: 30px;
    color: #f90044;
    float: left;
    line-height: 60px;
    cursor: pointer;
    display: none;
}

#check {
    display: none;
}

.content {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    text-align: center;
    margin-left: 15%;
}

h1 {
    color: white;
    margin: 20px 0px 20px;
    font-size: 75px;
}

h3 {
    color: white;
    font-size: 25px;
    margin-bottom: 50px;
}

h4 {
    color: #fcfc;
    letter-spacing: 2px;
    font-size: 20px;
}

.newsletter form {
    width: 100%;
    max-width: 100%;
    position: relative;
}

.newsletter form input:first-child {
    display: inline-block;
    width: 100%;
    padding: 14px 130px 14px 15px;
    border: 2px solid #f90044;
    outline: none;
    border-radius: 30px;
}

.newsletter form input:last-child {
    position: absolute;
    display: inline-block;
    outline: none;
    border: none;
    padding: 0.625em 1.875em;
    border-radius: 30px;
    background-color: #f90044;
    color: white;
    box-shadow: 0 0 5px #000, 0 0 15px #858585;
    top: 6px;
    right: 6px;
    cursor: pointer;
}

.about {
    max-width: 100%;
    padding: 6em 0;
    background-color: #191919;
}

.about img {
    height: auto;
    width: 40%;
    border: 1px solid #f9004d;
    border-radius: 50px;
}

.about-text {
    width: 58%;
    margin-left: 4%;
}

.main {
    width: 90%;
    max-width: 100%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-around;
}

.about-text h2 {
    color: white;
    font-size: 75px;
    text-transform: capitalize;
    margin-bottom: 20px;
}

.about-text h5 {
    color: white;
    letter-spacing: 2px;
    font-size: 22px;
    margin-bottom: 25px;
    text-transform: capitalize;
}

.about-text p {
    color: #fcfc;
    letter-spacing: 1px;
    line-height: 28px;
    font-size: 18px;
    margin-bottom: 45px;
}

button {
    background-color: #f9004d;
    color: white;
    text-decoration: none;
    font-weight: bold;
    padding: 13px 30px;
    border-radius: 30px;
    transition: .4s;
}

button:hover {
    background-color: transparent;
    border: 2px solid #f9004d;
    cursor: pointer;
}

.service {
    background-color: #101010;
    width: 100%;
    padding: 100px 0px;
}

.title h2 {
    color: white;
    font-size: 75px;
    width: 80%;
    margin: 30px auto;
    text-align: center;
}

.box {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.card {
    height: 23em;
    width: 90%;
    padding: 20px 35px;
    background-color: #191919;
    border-radius: 20px;
    margin: 15px;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.card i {
    font-size: 50px;
    display: block;
    text-align: center;
    margin: 25px 0;
    color: #f9004d;
}

h5 {
    color: white;
    font-size: 23px;
    margin-bottom: 15px;
}

.pra p {
    color: #fcfc;
    font-size: 16px;
    line-height: 27px;
    margin-bottom: 25px;
}

.card .button {
    background-color: #f9004d;
    color: white;
    text-decoration: none;
    font-weight: bold;
    padding: 9px 22px;
    border-radius: 30px;
    transition: .4s;
}

.card .button:hover {
    background-color: transparent;
    border: 2px solid #f9004d;
    cursor: pointer;
}

.contact-me {
    width: 100%;
    height: 18em;
    background-color: #101010;
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
}

.contact-me p {
    color: white;
    font-size: 30px;
    font-weight: bold;
    margin-bottom: 25px;
}

.contact-me .button-two {
    background-color: #f9004d;
    color: white;
    text-decoration: none;
    font-weight: bold;
    padding: 13px 30px;
    border-radius: 30px;
    transition: .4s;
}

.contact-me .button-two:hover {
    background-color: transparent;
    border: 2px solid #f9004d;
    cursor: pointer;
}

footer {
    position: relative;
    width: 100%;
    height: 25em;
    background: #191919;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

footer p:nth-child(1) {
    font-size: 30px;
    color: white;
    margin-bottom: 20px;
    font-weight: bold;
}

footer p:nth-child(2) {
    color: white;
    font-size: 17px;
    width: 100%;
    text-align: center;
    line-height: 26px;
}

.social {
    display: flex;
    margin-bottom: 5%;
}

.social a {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f9004d;
    border-radius: 50%;
    margin: 22px 10px;
    color: white;
    text-decoration: none;
    font-size: 20px;
}

.social a:hover {
    transform: scale(1.3);
    transition: .3s;
}

.end {
    position: relative;
    color: #f9004d;
    font-size: 14px;
    margin-top: 10px;
}

.skill {
    background-color: #191919;
    padding: 15px 30px;
    width: 100%;
}

.skill i {
    font-size: 50px;
    color: #f9004d;
    margin: 15px 15px;
}

.skill h2 {
    color: white;
    font-size: 75px;
    width: 90%;
    margin: 30px auto;
    text-align: center;
}

.skill .main-div {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.front-end,
.back-end,
.others {
    height: 365px;
    width: 360px;
    padding: 20px 35px;
    background-color: #101010;
    border-radius: 20px;
    margin: 15px;
    position: relative;
    overflow: hidden;
    text-align: center;
}

progress {
    position: relative;
}

progress::after {
    content: attr(value) '%';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 15px;
    color: #f9004d;
    font-weight: bold;
}

.achievement {
    padding-bottom: 10px;
}

.achievement div {
    height: 400px;
    width: 100%;
    white-space: nowrap;
    display: flex;
    align-items: center;
    justify-content: start;
    overflow-x: scroll;
    padding: 0 20px;
    margin: 0 0;
}

.achievement h2 {
    color: white;
    font-size: 70px;
    width: 100%;
    margin: 20px auto;
    text-align: center;
}

.certificates {
    margin-right: 15px;
    display: inline-block;
    width: auto;
    height: 300px;
    cursor: grab;
    border: 1px solid #f9004d;
    border-radius: 20px;
    position: relative;
}

@media (max-width: 1080px) {
    .logo {
        font-size: 30px;
    }
    nav ul li a {
        font-size: 15px;
    }
    nav div {
        margin-right: 5%;
    }
}

@media(max-width: 1000px) {
    .checkbtn {
        display: block;
    }
    ul {
        position: fixed;
        background: #6d5f5f;
        top: 72px;
        left: -100%;
        text-align: center;
        transition: all .5s;
        z-index: 10;
        padding: 5% 10%;
    }
    nav ul li {
        display: block;
        margin: 50px 0;
        line-height: 30px;
    }
    nav ul li a {
        font-size: 16px;
        margin: 0 0;
    }
    #check:checked~ul {
        left: 0;
    }
    nav div {
        margin-right: 5%;
    }
}

@media (max-width: 450px) {
    .checkbtn {
        display: block;
    }
    .hero {
        height: 35em;
        width: 100%;
        font-family: 'Roboto', sans-serif;
    }
    .hero .content {
        width: 100%;
        padding: 10px 10px;
        margin-left: 0;
    }
    h1 {
        font-size: 55px;
    }
    ul {
        position: fixed;
        padding: 4% 10%;
        background: #6d5f5f;
        top: 72px;
        left: -100%;
        text-align: center;
        transition: all .5s;
        z-index: 2;
    }
    nav ul li {
        display: block;
        margin: 50px 0;
        line-height: 30px;
    }
    nav ul li a {
        font-size: 20px;
    }
    #check:checked~ul {
        left: 0;
    }
    nav div {
        margin-left: 0;
        padding: 2px 5px;
    }
    .achievement {
        width: 100%;
    }
    .achievement h2 {
        font-size: 40px;
        width: 100%;
    }
    .about img {
        height: auto;
        width: 80%;
    }
    .skill {
        width: 100%;
    }
    .skill .main-div {
        display: block;
        width: 100%;
    }
    .skill .main-div div {
        width: 100%;
    }
    .box {
        display: block;
        width: 100%;
    }
    .about .main {
        display: block;
        padding-left: 4%;
    }
    .main .about-text {
        width: 90%;
    }
    .title h2 {
        color: white;
        font-size: 60px;
        width: 80%;
        margin: 30px 10px;
        text-align: center;
    }
}