@import url('https://fonts.googleapis.com/css2?family=Nunito+Sans:wght@200&family=Poppins:wght@300;400;500;600;700;800;900&display=swap');

*{
    margin: 0;
    padding: 0;
    font-family: "Poppins", sans-serif;
    box-sizing: border-box;
}

.landing{
    width: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    background-color: #191919;
    background-size: cover;
    background-position: center;
}

header{
    position: relative;
    top: 0;
    width: 100%;
    padding: 30px 100px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header .portfolio{
    position: relative;
    color: #FDFEFE;
    font-size: 30px;
    text-decoration: none;
    font-weight: 800;
    letter-spacing: 1px;
}

header .navigation a{
    color: #FFFFFF;
    text-decoration: none;
    font-weight: 500;
    letter-spacing: 1px;
    padding: 2px 15px;
    transition: 0.3s;
    transition-property: background;
}

header .navigation  a:not(:last-child){
    margin-right: 30px;
}

header .navigation  a:hover{
    color: #000000;
}

.content{
    max-width: 650px;
    margin: 60px 100px;
    margin-top: 200px;
    padding-left: 100px;
}

.content .info h2{
    color: #fcfc;
    font-size: 25px;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 2px;
    line-height: 50px;
    margin-bottom: 30px;
}

.content .info h2 span{
    color: #FFFFFF;
    font-size: 55px;
    font-weight: 800;
}

.content .info p{
    font-size: 25px;
    font-weight: 600;
    color: #fcfc;
}

.about{
    width: 100%;
    padding: 100px 0px;
    background-color: #191919;
}

.about img {
    height: auto;
    width: 430px;
}

.about-text {
    width: 550px;
}

.main{
    width: 1130px;
    max-width: 95%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-around;
}

.about-text h2{
    color: #FFFFFF;
    font-size: 75px;
    text-transform: capitalize;
    margin-bottom: 20px;
}

.about-text h5{
    color: #FFFFFF;
    font-size: 22px;
    letter-spacing: 2px;
    margin-bottom: 25px;
    text-transform: capitalize;
}

.about-text p{
    color: #fcfc;
    letter-spacing: 1px;
    line-height: 28px;
    font-size: 18px;
    margin-bottom: 45px;
}

.service{
    background: #101010;
    width: 100%;
    padding: 100px 0px;
}

.title h2{
    color: #FFFFFF;
    font-size: 75px;
    width: 1130px;
    margin: 30px auto;
    text-align: center;
}

.box{
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 400px;
}

.card{
    height: 395px;
    width: 335px;
    padding: 20px 35px;
    background: #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 0px;
    color: #FFFFFF;
}

h5{
    color: #FFFFFF;
    font-size: 23px;
    margin-bottom: 15px;
}

.paragraph p{
    color: #fcfc;
    font-size: 16px;
    line-height: 27px;
    margin-bottom: 25px;
}

.card .button{
    background-color: #FFFFFF;
    color: #000000;
    text-decoration: none;
    border: 2px solid transparent;
    font-weight: bold;
    padding: 8px 22px;
    border-radius: 30px;
    transition: .4s;
}

.card .button:hover{
    background-color: transparent;
    border: 2px solid #FFFFFF;
    cursor: pointer;
    color: #FFFFFF;
}

.contact-me{
    width: 100%;
    height: 290px;
    background: #191919;
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
}

.contact-me p {
    color: #FFFFFF;
    font-size: 30px;
    font-weight: 600;
    margin-bottom: 25px;
}

.contact-me .button-two {
    background-color: #FFFFFF;
    color: #000000;
    text-decoration: none;
    border: 2px solid transparent;
    font-weight: bold;
    padding: 9px 22px;
    border-radius: 30px;
    transition: .4s;
}

.contact-me .button-two:hover{
    background-color: transparent;
    border: 2px solid #FFFFFF;
    cursor: pointer;
    color: #FFFFFF;
}

footer{
    position: relative;
    width: 100%;
    height: 400px;
    background: #101010;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

footer p:nth-child(1){
    font-size: 30px;
    color: #FFFFFF;
    margin-bottom: 20px;
    font-weight: bold;
}

footer p:nth-child(2){
    font-size: 17px;
    color: #FFFFFF;
    text-align: center;
    width: 500px;
    line-height: 26px;
}

.media-icons{
    display: flex;
}

.media-icons a{
    position: relative;
    color: #fff;
    font-size: 25px;
    margin-top: 30px;
    margin-bottom: 30px;
    transition: 0.3s;
    transition-property: transform;
}

.media-icons a:not(:last-child){
    margin-right: 60px;
}

.media-icons a:hover{
    transform: scale(1.5);
    color: #FFFFFF;
}

label{
    display: none;
}

#check{
    z-index: 3;
    display: none;
}

@media (max-width: 960px){
    header .navigation{
        display: none;
    }

    label{
        color: #fff;
        display: block;
        font-size: 25px;
        cursor: pointer;
        transition: 0.3s;
        transition-property: color;
    }

    label:hover{
        color: #fff;
    }

    label .close-btn{
        display: none;
    }

    #check:checked ~ header .navigation{
        z-index: 2;
        position: fixed;
        background: rgba(0, 0, 0, 0.9);
        top: 0;
        bottom: 0;
        left: 0;
        right: 0;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    #check:checked ~ header .navigation a{
        font-weight: 700;
        margin-right: 0;
        margin-bottom: 50px;
        letter-spacing: 2px;
    }

    #check:checked ~ header .navigation a:hover{
        background-color: transparent;
        border: 2px solid #FFFFFF;
        cursor: pointer;
        color: #FFFFFF;
        border-radius: 20px;
    }

    #check:checked ~ header label .menu-btn{
        display: none;
    }

    #check:checked ~ header label .close-btn{
        z-index: 2;
        display: block;
        position: fixed;
    }

    label .menu-btn{
        position: absolute;
    }

    header .portfolio{
        position: absolute;
        bottom: -6px;
    }

    .content .info h2{
        font-size: 45px;
        line-height: 50px;
    }

    .content .info h2 span{
        font-size: 40px;
        font-weight: 600;
    }

    .content .info p{
        font-size: 14px;
    }
}

@media (max-width: 560px){

    .content{
        padding-left: 50px;
    }

    .content .info h2{
        font-size: 25px;
        line-height: 40px;
    }

    .content .info h2 span{
        font-size: 30px;
        font-weight: 600;
    }

    .content .info p{
        font-size: 14px;
    }

    .about {
        width: 100%;
    }

    .about img{
        width: 250px;
        padding: 30px 0px;
    }

    .about-text {
        width: 100px;
    }
    
    .about-text h2{
        font-size: 15px;
    }

    .about-text h5{
        font-size: 10px;
    }

    .about-text p {
        font-size: 10px;
        line-height: 15px;
    }

    button{
        background-color: #FFFFFF;
        color: #000000;
        text-decoration: none;
        border: 2px solid transparent;
        font-weight: bold;
        font-size: 12px;
        padding: 5px 10px;
        border-radius: 20px;
        transition: .4s;
    }
    
    button:hover{
        background-color: transparent;
        border: 1px solid #FFFFFF;
        cursor: pointer;
        color: #FFFFFF;
    }

    .service{
        padding: 25px 0px;
    }

    .title h2{
        color: #FFFFFF;
        font-size: 30px;
        width: 200px;
        margin: 25px auto;
    }
    
    .card i{
        font-size: 20px;
    }

    h5{
        color: #FFFFFF;
        font-size: 10px;
        margin-bottom: 15px;
    }
    
    .paragraph p{
        color: #fcfc;
        font-size: 10px;
        line-height: 15px;
        margin-bottom: 15px;
    }

    .card .button{
        padding: 1px 1px;
    }

    .card .button:hover{
        background-color: transparent;
        border: 1px solid #FFFFFF;
        cursor: pointer;
        color: #FFFFFF;
    }

    .contact-me p {
        font-size: 22px;
    }
    
    .contact-me .button-two {
        border: 1px solid transparent;
        padding: 5px 17px;
    }
    
    .contact-me .button-two:hover{
        background-color: transparent;
        border: 2px solid #FFFFFF;
        cursor: pointer;
        color: #FFFFFF;
    }

    footer p:nth-child(2){
        font-size: 13px;
    }
}