* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, Helvetica, sans-serif;
}

body {
    /* background-color: aqua; */
}

h2,
h4 {
    color: #0B73B7;
    /* text-align: center; */
}

h3 {
    font-size: 16px;
}

h4 {
    font-size: 14px;
}

h5 {
    font-size: 13px;
}

.main {
    max-width: 1280px;
    margin: auto;
    background-color: white;
    min-height: 100vh;
}

nav {
    margin-top: 20px;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #0B73B7;
    font-size: 43px;
    font-weight: 600;
}

.logo {
    width: 160px;
    padding: 12px;
    margin-top: -18px;
}

.middle {
    display: flex;
    justify-content: space-between;
    /* align-items: center; */
    gap: 20px;
    margin-top: 50px;
}

.form,
.card {
    padding: 16px;
    /* background-color: antiquewhite; */
    width: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 32px;
}

.form-details {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.form-details input,
.form-details select {
    margin-top: 4px;
    padding: 8px;
    border-radius: 4px;
    outline: none;
    border: 2px solid #0B73B7;
    width: 60%;
}

.form-details button {
    background-color: #0B73B7;
    color: #fff;
    padding: 10px;
    border-radius: 8px;
    border: none;
    width: 60%;
}

.form-details button:active {
    scale: 95%;
}

.card-print {
    /* background-color: aliceblue; */
    display: flex;
    gap: 20px;
}

.front,
.back {
    background-color: #fff !important;
    padding: 32px 10px;
    border-radius: 6px;
    height: 400px;
    width: 260px;
    background-image: url(./top.png), url(./bottom.png);
    background-position: top left, bottom left;
    background-repeat: no-repeat;
    background-size: contain;
    box-shadow: 2px 4px 12px 2px #0b72b7b0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    text-align: center;
}

#front-logo {
    width: 100px;
}

.back {
    padding-top: 46px;
}

.back span {
    text-decoration: underline;
}

#profile-photo {
    width: 100px;
    border: 3px solid greenyellow;
    margin-bottom: 10px;
}

#qrcode {
    width: 100px;
}

.signature {
    border-top: 2px solid black;
    margin-top: 40px;
    padding: 2px 14px;
}


@media only screen and (max-width: 1080px) {
    .middle {
        flex-direction: column !important;
    }

    .form,
    .card {
        width: 100%;
    }

    nav {
        flex-direction: column;
    }
}

@media only screen and (max-width: 600px) {
    .card-print {
        flex-direction: column;
    }

    .form-details input,
    .form-details select {
        width: 100%;
    }

    .form-details button {
        width: 100%;
    }
}