body{
    margin: 0;
    font-family: inter;
    align-items: center;
}

h1{
    font-size: 40px;
}

hr{
    margin-top: 50px;
    margin-bottom: 50px;
}

.nBar{
    margin: 20px;
    padding: 10px;
    margin-left: auto;
    margin-right: auto;
    background-color: #D9D9D9;
    border-radius: 50px;
    display: flex;
    height: 30px;
    width: 90%;
    max-width: 1000px;
    align-items: center;

}


.nBar .logo{
    padding: 0px 10px 0px 10px;
    margin: 0px;
    background-color: rgb(255, 255, 255);
    width: fit-content;
    border-radius: 50px;
    text-transform: uppercase;
    font-weight: 900;
    font-style: italic;
}

.nBar img{
    display: none;
}

.logop{
    padding: 0px 20px 0px 20px;
    margin: 0px;
    background-color: rgb(255, 255, 255);
    width: fit-content;
    border-radius: 50px;
    text-transform: uppercase;
    font-weight: 900;
    font-style: italic;
}

.logop p{
    font-size: 40px;
}


.nBar p{
    margin: 5px;
}


.nBar .active{
    padding: 7px 10px 7px 10px;
    margin: 0;
    background-color: rgb(255, 255, 255);
    width: fit-content;
    border-radius: 50px;
    
}

.specialred{
    color: #F05454;
    font-style: italic;
}


.specialgray{
    color: #D9D9D9;
    font-style: italic;
}

.list{
    margin-left: auto;
}

.list ul{
    list-style: none;
    margin: 0px;
}

.list li{
    display: inline;
    margin-left: 10px;
    margin-right: 10px;
}

a {
    text-decoration: none;
    color: black;
}


.banner{
    display: flex;
    width: 90%;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.banner .Sline{
    width: 1px;
    height: 350px;
    padding: 1px;
    margin-left: 14px;
    margin-top: 30px;
    background-color: black;
}

.banner .ball{
    width: 30px;
    height: 30px;
    background-color: black;
    border-radius: 100%;
}

.banner .text{
    margin-top: 80px;
    margin-left: 20px;
}

.banner .photo{
        margin-left: auto;

}

.banner .photo img{
    width: 100%;
    min-width: 250px;
    max-width: 400px;
    height: auto;
    margin: 0;
}

.aboutme{
    background-color: #D9D9D9;
    width: 90%;
    height: 450px;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
    border-radius: 50px;
}

.mainbox{
    display: flex;
    position: absolute;
}

.sociallinks{
    position: relative;
    padding: 300px 0 0 350px;
}

.redbox{
    background-color: #F05454;
    margin: 20px 80px 20px 200px;
    width: 780px;
    height: 400px;
    border-radius: 0 50px 50px 0;
}

h3{
    text-decoration: underline;
}

.redbox h1, .redbox h3{
    margin-left: 120px;
}

.redbox h2{
    margin-left: 140px;
}

.myphoto{
    display: flex;
}

.myphotoimg img{
    width: 100%;
    min-width: 250px;
    max-width: 400px;
    height: auto;
    margin: 0;
    position: absolute;
}






.social h1{
    margin-top: 0px;
    text-align: center;
}

.taskmainbox{
    display: flex;
    background-color: #30475E;
    width: 90%;
    height: fit-content;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
    border-radius: 50px;
}

.taskmainboxbox{
    display: flex;
    margin-left: auto;
    margin-right: auto;
}

.taskmainbox .box1{
    display: flex;
    padding: 20px 0 20px 0;
    margin: 20px 20px 20px 20px;
    width: 250px;
    height: 300px;
    background-color: #ffffff;
    border-radius: 50px;
    box-shadow: 10px 10px;
}

.taskmainbox:hover{
    transform: scale(1.02);
}

.box1:hover{
    box-shadow: #F05454 5px 5px;
    transform: scale(1.05);
}

.boxbox{
    margin: 10px;
    background-color: #ffffff;
}

.box1 img, .box1 video{
    display: flex;
    width: 150px;
    height: auto;
    margin-left: auto;
    margin-right: auto;
}


.links img{
    display: inline;
    width: 30px;
}

.linkimage{
    margin-left: auto;
    margin-right: auto;
}

.links{
    margin-left: auto;
    margin-right: auto;
}




hr{
    max-width: 1000px;
    width: 90%;
}

.formbox{
    background-color: #D9D9D9;
    max-width: 1000px;
    width: 90%;
    margin-right: auto;
    margin-left: auto;
    border-radius: 50px;
}

.formbox h1{
    text-align: center;
    padding-top: 10px;
    margin: 0;
    color: #30475E;
}

form{
    padding: 20px 0 20px 0;
    margin-right: auto;
    margin-left: auto;
    width: 700px;
    
}

.flexbox{
    display: flex;
}

.g1{
    margin-right: auto;
}

.g2{
    margin-left: auto;
}


input[type=text], select, input[type=email], textarea, input[type=number], input[type=button], input[type=password]{
    width: 300px;
    height: 40px;
    margin: 10px 0 10px 0;
    border-radius: 10px;
    border: 1px solid rgb(198, 198, 198);
    color:rgb(198, 198, 198);
}

textarea{
    width: 100%;
    height: 60px;
}

button{
    padding: 0 20px 0 20px;
    display: flex;
    margin-right: auto;
    margin-left: auto;
    width: fit-content;
    height: 40px;
    border-radius: 10px;
    align-items: center;
    background-color: #30475E;
    color: white;
    font-weight: bold;
}

button:hover{
    transform: scale(1.1);
}

footer{
    margin-top: 50px;
    background-color: #D9D9D9;
}


footer .footer1, .footer2{
    display: flex;
    max-width: 1000px;
    width: 90%;
    margin-right: auto;
    margin-left: auto;
}

.footer1 .b1{
    margin-right: auto;
}

.footer1 .b1 h1{
    margin-top: 15px;
}

.footer1 .b2{
    margin-right: auto;
    margin-left: auto;
}

.footer1 .b3{
    margin-left: auto;
}

.footer2 .b4{
    display: flex;
    margin-right: auto;
    margin-left: auto;
}

.b4 img{
    width: 50px;
    height: 50px;
    margin: 20px;
}

footer .footer2{
    display: flex;
}


footer .fline{
    display: flex;
    background-color: #30475E;
    color: white;
    font-weight: 600;
}

.fline p{
    margin-left: auto;
    margin-right: auto;
}



.nBar:hover, li:hover, img:hover {
    transform: scale(1.1);
}

.logo:hover{
    transform: scale(1.1);
    margin-left: 10px;
}

.list a:hover{
    font-weight: 600;
    color: #F05454;
    margin-right: 10px;
}

a button{
    display: none;
}

    .boxbox h2{
        font-size: 15px;
        color: #F05454;
    }


@media only screen and (max-width: 600px) {
    .banner{
        display: block;
    }

    .banner .text{
        margin-top: 50px;
    }

    .mainbox{
        width: 90%;
    }

    .aboutme{
        width: 90%;
                display: flex;

    }

    .redbox{
        display: block;
        text-align: center;
        width: 85%;
        margin-left: auto;
    margin-right: auto;
    border-radius: 50px;
    }

    .redbox h1, .redbox h3, .redbox h2{
        margin-left: 0;
        margin: 10px 0 10px 0;
    }

    .nBar{
        width:300px;
    }

    .nBar img{
        display: block;
        width: 40px;
        margin-left: auto;
        z-index: 1000;
    }

    .nBar .list{
        display: none;
    }

    .line{
        display: none;
    }

    .myphotoimg img{
        display: none;
    }

    .sociallinks{
            margin-left: auto;
    margin-right: auto;
        display: inline;
        padding: 0;
        padding-top: 350px;
    }


    footer .footer1, .footer2{
        display: block;
        text-align: center;
    }

    .logop{
            margin-left: auto;
    margin-right: auto;

    }

    .logop p{
        font-size: 30px;
    }

        ul{
        padding-left: 0;
    }

        li{
            padding: 5px;
        list-style: none;
    margin-left: auto;
    margin-right: auto;
    }

    .b4 img{
        width: 30px;
        margin: 2px;
        height: auto;
    }

    .nBar .active{
        color: black;
    }


.fline p{
    font-size: 10px;
}
.flexbox{
    display: block;
}

input[type=text], select, input[type=email], textarea, input[type=number], input[type=button], input[type=password]{
    width: 200px;
        margin-left: auto;
    margin-right: auto;
}

form{
    width: fit-content;
}


.footer2 .b4 img{
    margin: 5px;
    width: 30px;
    height: auto;
}


    .taskmainbox{
        height: fit-content;
    }

    .taskmainboxbox{
        display: block;
        width: 90%;
    }

  .taskmainbox .box1{
        width: 85%;
        height: fit-content;
        margin-bottom: 30px;
        margin-top: 50px;
    }

    .box1 img, .box1 video{
        width: 80%;
    }

    .links img{
        padding: 10px;
        width: 40px;
    }

    .links p{
        font-size: 15px;
    }
    
    h4{
        font-size: 20px;
        margin: 10px;
    }

    .boxbox h2{
        font-size: 15px;
        color: #F05454;
    }


    .g2, .g1{
        margin-top: 10px;
        margin-bottom: 10px;
    }

    #box2, #box3{
        display: none;
    }

    a button{
        display: block;
        background-color: white;
        color: black;
        margin-bottom: 10px;
    }

    .nBar {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 10px 20px;
        background-color: #D9D9D9;
    }


    .nBar .logo p {
        margin: 0;
        font-size: 1.5rem;
    }


    .menu-icon {
        width: 30px;
        cursor: pointer;
    }


    .list {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 70px;
        background-color: rgba(0,0,0,0.9);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        z-index: 1000;
    }


    .list.show {
        display: flex;
    }

    .list ul {
        list-style: none;
        padding: 0;
        margin: 0;
        text-align: center;
    }

    .list li {
        margin: 20px 0;
        font-size: 1rem;
        color: #D9D9D9;
    }

    .list a {
        color: white;
        text-decoration: none;
        font-weight: bold;
    }

    .list a:hover {
        color: #ff4444;
    }



}

@media screen and (max-width: 1200px) and (min-width: 600px) {


    header{
        width: 100%;
    }

    .aboutme{
        max-width: 100%;
    }

    .redbox{
        width: 90%;
        margin-left: 150px;
    }

    .sociallinks{
        padding: 350px 0 0 150px;
    }


    .b4 img{
        margin: 10px;
    }


    #box3{
        display: none;
    }

    .myphotoimg img{
        width: 300px;
    }

    .logop p{
        font-size: 30px;
    }



}