*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    list-style: none;
    
}
a{
    text-decoration: none;
    color: #fff;
}
header{
    display: flex;
    padding: 10px;
}
.logo{
    font-size: 20px;
    font-family: cursive;
    font-weight: 700;
    display: flex;
    align-items: center;
}

section{
    margin-top: 20px;
}
.hero{
    background-color: rgb(249, 250, 255);
    padding: 10px;
    margin-top: 0px;
}
.banner{
    display: flex;
    justify-content: center;
    align-items: center;
    padding:10px ;
    gap: 20px;
}
.content{
    width: 50%;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    gap: 15px;
}
.subheading{
    color: rgb(49, 49, 167);
    font-size: 25px;
}
.mainheading{
    font-size: 30px;
    font-weight: 800;
}
.para{
    font-size: 20px;
    width: 600px;
}
.btn{
    width: 20%;
    background-color: orange;
    outline: none;
    padding: 10px ;
    border-radius: 20px;
    border: none;
    font-size: 16px;
    cursor: pointer;
}
.steps{
    display: flex;
    justify-content: space-around;
    text-align: center;
    padding: 50px;
    gap: 16px;
}
.subcontent{
    margin-top: 20px;
}
.subcontent h1{
    margin-bottom: 10px;
}
.subcontent p{
    font-size: 20px;
}
.secondLastfooter{
    background-color: rgb(0, 0, 255);
    padding: 70px 40px;
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    align-items: center;
}
.secondLastfooter h1{
    font-size: 50px;
    text-align: center;
}
.pro{
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}
.btn-second{
    width: 30%;
}
footer{
    background-color: #dddada;
    padding: 20px;    
    display: flex;
    justify-content: space-between;
    font-size: 20px;
}
.socials{
    display: flex;
    gap: 30px;
}
.form-container {
    width: 90%;
    margin: 40px auto;
    background-color: #fff;
    padding: 20px;
    border-radius: 10px;
}

h2 {
    margin-bottom: 20px;
}

label {
    display: block;
    margin-bottom: 8px;
}

input, textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 20px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

button {
    padding: 10px 20px;
    background-color: #007BFF;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

button:hover {
    background-color: #0056b3;
}

button.prev-btn {
    background-color: #6c757d;
}

button.prev-btn:hover {
    background-color: #5a6268;
}

button#add-education, button#add-skill, button#add-project {
    margin-top: 10px;
    background-color: #28a745;
}

button#add-education:hover, button#add-skill:hover, button#add-project:hover {
    background-color: #218838;
}

.form-step {
    display: none;
}

.form-step.active {
    display: block;
}

.education-item, .project-item {
    margin-bottom: 20px;
}
.contactF{
    text-align: center;
    margin-bottom: 10px;
}
.nameField{
    margin-bottom: 10px;
}
.objF{
    margin: 20px 0;
}

.objField, .proField, .eduField, .skillField{
    margin-bottom: 10px;
}
.objF p{
    margin-top: 10px;
}
.proField{
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 10px;
}
.eduField{
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 10px;
}
.skillField{
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}
.down-btn{
    display: flex;
    justify-content: center;
    gap: 20px;
    display: none;
}
.resume{
    display: none;
}

@media screen and (max-width: 786px){
    .banner{
        flex-direction: column;
    }
    .btn{
        width: 50%;
    }
    .content{
        width: 100%;
    }
    .para{
        width: 100%;
    }
    .steps{
        flex-direction: column;
    }
    .secondLastfooter h1{
        font-size: 20px;
    }
    .secondLastfooter img{
        width: 150px;
    }
    .btn-second{
        width: 75%;
    }
    .form-container{
        width: 90%;
    }
    
}

@media (min-width: 320px)  and (max-width:500px ) {
    .image img{
        width: 300px;
    }
    .steps{
        padding: 10px;
    }
    
    .secondLastfooter{
        flex-direction: column;
    }
    footer{
        flex-direction: column;
        text-align: center;
        font-size: 15px;
    }
    .modal{
        left: 10%;
        right: 10%;
    }
}

@media print {
    .down-btn{
        display: none;
    }
    header{
        display: none;
    }
}