body {
    margin: 0;
    padding: 0;
    font-family: Arial, Helvetica, sans-serif;
    background-color: rgb(236, 236, 236);
    overflow-x: hidden;
}

.head-sec {
    color: rgb(0, 0, 158);
    text-align: center;
    justify-content: center;
    align-items: center;
    display: flex;
    height: 90vh;
    /* display: none; */
}

.content h1,
p,
.btn {
    padding: 10px;
}

.content .btn {
    margin-top: 20px;
}

.btn {
    font-size: 14px;
    background-image: linear-gradient(190deg, rgb(56, 56, 233) 17%, rgb(0, 0, 158) 100%);
    border: none;
    padding: 14px 30px;
    border-radius: 8px;
    color: white;
    cursor: pointer;
}

.btn:hover {
    background-image: linear-gradient(60deg, rgb(56, 56, 233) 17%, rgb(0, 0, 158) 100%);
}

.second-page {
    color: rgb(0, 0, 158);
    text-align: center;
    justify-content: center;
    align-items: center;
    display: flex;
    height: 90vh;
    display: none;
}

.resume-choice{
    display: flex; justify-content: space-between; align-items: center; gap: 30px;
}
.resume-choice img {
    width: 2.5in;
    height: 3.2in;
    object-fit: cover;
    margin-left: 20px;
    cursor: pointer;
    border: 2px solid transparent;
}

.resume-choice img.selected {
    border: 2px solid rgb(0, 0, 158);
}

.thirdPage {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100vh;
    display: none;
}

.form {
    width: 50%;
    background-color: rgb(255, 255, 255);
    box-shadow: 0 2px 37px 0 rgba(0, 0, 0, .4);
    padding: 20px;
    margin: 20px;
    max-height: 90vh;
    /* Limit the height to 90% of the viewport */
    overflow-y: auto;
    /* Enable vertical scrolling when content exceeds max-height */

}

.name {
    display: flex;
    justify-content: space-between;
    margin-right: 7%;
    flex-wrap: wrap;
    /* flex: 1; */
}

.form h2 {
    text-align: center;
    color: rgb(0, 0, 158);
    margin-bottom: 20px;
}

.form label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

.form input,
.form textarea {
    width: 90%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 14px;
    padding-right: 20px;
    /* margin-right: 20px; */
}

.form textarea {
    resize: none;
}

.form button {
    width: 100%;
    padding: 12px;
    background-color: rgb(0, 0, 158);
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
}

.form button:hover {
    background-color: rgb(56, 56, 233);
}

/* #thirdPage {
    display: none;
} */

.forthPage {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100vh;
    display: none;

}

/* #forthPage{
    display: none;
} */

h4 {
    margin: 5px;
    margin-bottom: 30px;
    cursor: pointer;
}

h4 span {
    background-color: rgb(0, 0, 158);
    padding: 8px 10px;
    border-radius: 4px;
    color: white;
    margin-right: 10px;
    font-weight: 100;
}

.fifthPage {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100vh;
    display: none;
}

.responsiblities span {
    cursor: pointer;
    background-color: rgb(0, 0, 158);
    color: white;
    padding: 3px 6px;
    margin-left: 2px;
    border-radius: 20px;

}

.message {
    color: green;
    font-size: 12px;
    font-weight: bold;
    margin-bottom: 4px;
    padding-bottom: 6px;
}

.redMessage {
    color: red;
    font-size: 12px;
    font-weight: bold;
    margin-bottom: 4px;
    padding-bottom: 6px;
}

@media (max-width: 426px) {
    .form {
        width: 90%;
    }

    .name input {
        width: 70vw;
    }
    .resume-block{
        transform: scale(0.4);
    }
    .resume-choice{
    display: grid;
}
}


.resumebgCenter {
    width: 100vw;
    align-items: center;
    display: grid;
    justify-content: center;
    margin-top: 30px; margin-bottom: 30px;
    overflow: hidden;
    height: 130vh;
}

.resume-block {
    background-color: white;
    /* transform: scale(0.5); */
    width: 8.3in;
    height: 11in;
    position: relative;
    /* Add this */
    border: 1px solid rgba(0, 0, 0, 0.377);
    padding-top: 30px;
}

.bio {
    background-color: rgb(0, 0, 128);
    padding: 12px 50px 12px 70px;
    color: white;
    margin-bottom: 25px;
}

.bio h1 {
    margin-bottom: 2px;
}

.bio h4 {
    font-size: 16px;
    margin-top: 5px;
    font-weight: 550;
    margin-bottom: 20px;
}

.bio p {
    font-size: 14px;
    font-weight: lighter;
    margin-top: 10px;
    text-wrap: wrap;
}

.panels {
    display: flex;
    width: 8.5in;
}

.left-panel {
    width: 20%;
    margin-left: 20px;
}

.contact-info p {
    font-size: 16px;
    margin-top: 4px;
}

.contact-info i {
    font-size: 16px;
    margin-bottom: 8px;
    color: white;
    background-color: rgb(0, 0, 128);
    padding: 8px;
    border-radius: 50%;
}

.software h3 {
    color: rgb(0, 0, 128);
    margin: 20px 20px 2px 0;
}

.software div {
    height: 2px;
    width: 130px;
    background-color: rgb(0, 0, 128);
    padding-top: -10px;
}

.software p {
    background-color: rgb(0, 0, 128);
    padding: 8px;
    color: white;
    border-radius: 12px;
    width: 120px;
    height: auto;
    margin-bottom: 0px;
    font-size: 14px;
    margin-top: 12px;
}

.right-panel {
    width: 80%;
    margin-left: 90px;
    padding-right: 20px;
}

.information h3 {
    color: rgb(0, 0, 128);
    margin: 20px 20px 2px 0;
    padding-left: 20px;
}

.information div {
    height: 2px;
    width: 450px;
    background-color: rgb(0, 0, 128);
    padding-top: -10px;
}

.information h4 {
    font-size: 16px;
    color: rgb(0, 0, 128);
    font-weight: 550;
    padding-left: 20px;
    margin-top: 12px;
    margin-bottom: 8px;
}

.information p {
    font-size: 14px;
    padding-left: 20px;
    margin-top: 0px;
    padding-top: 2px;
    margin-left: 5px;
    padding-bottom: 2px;
}

.bottom {
    height: 20px;
    width: 100%;
    background-color: rgb(0, 0, 128);
    position: absolute;
    /* Add this */
    bottom: 0;
    /* This will ensure it's at the bottom */
}

.sixthPage {
    display: none;
    align-items: center;
    justify-items: center;
}

.btn-resume {
    background-color: rgb(0, 0, 128);
    padding: 10px 20px;
    color: white;
    text-align: center;
    align-items: center;
    justify-items: center;
    margin-top: 60px;
    width: 300px;
    height: auto;
    margin-bottom: 60PX;
    cursor: pointer;
}

/* .resume-static{
display: flex; justify-content: space-around; 
} */


@media print {
    @page {
        margin: 0;
        /* Removes default margin for the printed page */
    }

    body {
        margin: 0;
        /* Removes default body margin */
        padding: 0;
        /* Removes any padding */
        background-color: white;
    }

}