*{
    box-sizing: border-box;
}

body{
    margin: 0;
    font-family: Arial;
    background: #f3f4f6;
}

header{
    display: flex;
    justify-content: space-between;
    align-self: center;
    padding: 20px;
    background: rgb(135, 174, 234);
    box-shadow: 0 2px 10px rgba(40, 100, 220,8);
}

header h1{
    color: #071e51;
}

header button{
    background: rgb(18, 98, 210);
    color: white;
    border: none;
    padding: 12px;
    font-size: 14px;
    border-radius: 80px;
    cursor: pointer;
}

header button:hover{
    background: #5a82ee;
    transition: 0.3s;
}


.container{
    display: flex;
    gap: 20px;
    padding: 20px;
}

.form-box, 
.preview-box{
    background: white;
    padding: 20px;
    border-radius: 14px;
    box-shadow: 1 4px 12px rgba(0,0,0,.08);
}

.form-box{
    width: 40%;
}

.preview-box{
    width: 60%;
}

input,textarea{
    width: 100%;
    padding: 12px;
    margin-bottom: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
}

textarea{
    height: 90px;
}

.form-box button{
    width: 100%;
    padding: 12px;
    background: #2563eb;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
}

.form-box button:hover{
    background: #5882f4;
    transition: 0.3s;
}

#resume{
    padding: 20px;
}

#resume h2{
    color: #0d4fdd;
}

#resume p{
    line-height: 1.8;
}

i{
    margin-right: 7px;
    color: #0d4fdd;
}

@media(max-width:900px){
    .container{
        flex-direction: column;
    }
.form-box,.preview-box{
    width: 100%;
}
}
