body {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family:
        -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell,
        "Open Sans", "Helvetica Neue", sans-serif;
    color: #001391;
}
.container {
    height: 100vh;
    width: 100vw;
    background-color: #001391;
    display: flex;
    flex-direction: column;
    gap: 1.5em;
    overflow-y: hidden;
    overflow-x: hidden;
}
.header {
    display: flex;
    justify-content: center;
    margin-top: 4em;
    width: 100%;
    height: 5em;
}
.logo {
    width: 10em;
    position: fixed;
    z-index: 4;
}
.form-container {
    /* height: 37em; */
    min-height: 600px;
    height: fit-content;
    width: 25em;
    border-radius: 5px;
    margin-top: 2em;
    margin-left: 50vw;
    transform: translate(-50%, 0%);
    padding-bottom: 2em;
}
.form {
    position: fixed;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
    width: 100%;
    background-color: white;
    border-radius: 5px;
    box-shadow: 2px 2px 10px 2px rgb(0, 0, 0, 0.2);
}

.stream {
    height: 55em;
    width: 40em;
    margin-top: -20em;
    margin-left: -100%;
    overflow: hidden;
    /* border: solid  1px red; */
}
.stream img {
    transform: rotate(30deg);
}
.title {
    font-weight: 600;
    font-size: 1.3rem;
    margin-top: 1em;
    margin-bottom: 0.8em;
}
.info-container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}
.info {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    gap: 0.5em;
    font-size: 15px;
    margin-bottom: 1em;
}
.asunto {
    display: flex;
    flex-direction: column;
    width: 22.2em;
    margin-bottom: 1.5em;
    font-weight: 600;
}
#asunto {
    width: 95.2%;
    border: solid 1.7px #001391;
}
.solicitant {
    display: flex;
    flex-direction: column;
}
.DT {
    display: flex;
    flex-direction: column;
}
.drop {
    width: 10em;
    height: 2.3em;
    border: solid 0.5px #001391;
    border-radius: 4px;
    padding-left: 0.5em;
    font-size: 13px;
    font-weight: 500;
    color: #3d3d3d;
    outline: none;
    cursor: pointer;
}
.drop :hover {
    border: solid 0.5px red;
}
label {
    margin-bottom: 0.5em;
    color: #4b4b4b;
}

.input {
    width: 15em;
    height: 2em;
    border: solid 0.3px #001391;
    border-radius: 4px;
    outline: none;
    color: #3d3d3d;
    cursor: text;
    padding-left: 1em;
    color: #001391;
    font-family:
        -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell,
        "Open Sans", "Helvetica Neue", sans-serif;
}
/* #date {
    padding-right: 1em;
} */
input:hover,
:focus {
    background-color: #f1f2fd;
}
textarea:hover,
:focus {
    background-color: #f1f2fd;
}
.message {
    display: flex;
    flex-direction: column;
    width: 88.5%;
    margin-top: 0.8em;
}
#message {
    width: 91%;
    height: 8em;
    padding-top: 0.8em;
    font-family:
        -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell,
        "Open Sans", "Helvetica Neue", sans-serif;
    color: #001391;
    font-size: 14px;
    border-radius: 4px;
    outline: none;
    resize: none;
    padding-right: 1em;
    padding-top: -10em;
}
.container-button-files {
    margin-top: 0.5em;
    width: 100%;
    display: flex;
    flex-direction: row-reverse;
}
.button-files {
    background-color: #001391;
    border-radius: 5px;
    padding: 0.5em;
    color: white;
    font-size: 0.8rem;
}
.file {
    /* overflow: scroll; */
    height: 3em;
    margin-top: 0.1em;
    /* margin-bottom: 1em; */
}
.files-container {
    height: 10em;
    width: 88.5%;
    display: flex;
    overflow: hidden;
}
.select-file {
    color: #001391;
    opacity: 1;
    width: 100%;
}
.browse {
    position: absolute;
    z-index: -1;
    margin-top: -24px;
    width: 11.5em;
    height: 1.6em;
    background-color: #1464a5;
    color: white;
    border-radius: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-bottom: 2px;
    font-size: 14px;
    display: none;
}
.button {
    margin-top: 1em;
    width: 88.5%;
    height: 2.5em;
    display: flex;
    justify-content: flex-end;
    gap: 0.5em;
}
#send {
    background-color: #001391;
    border-radius: 4px;
    border: none;
    color: white;
    width: 8em;
    cursor: pointer;
    opacity: 0.5;
    font-weight: 600;
    font-size: large;
    font-family:
        -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell,
        "Open Sans", "Helvetica Neue", sans-serif;
}
#cc {
    background-color: white;
    border-radius: 4px;
    border: solid 1px #001391;
    color: #001391;
    width: 3em;
    cursor: pointer;
    opacity: 0.5;
    font-weight: 600;
    font-size: large;
    font-family:
        -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell,
        "Open Sans", "Helvetica Neue", sans-serif;
}
#modal {
    justify-content: center;
    align-items: center;
    position: absolute;
    right: 60%;
    bottom: 2%;
    z-index: 4;
    width: fit-content;
    padding: 0 12px;
    height: 3em;
    border-radius: 4px;
    background-color: white;
    display: none;
    box-shadow: 2px 2px 10px 2px rgb(0, 0, 0, 0.2);
    gap: 0.4em;
}
#ccmail {
    width: 25em;
}
.close-modal {
    margin-bottom: 1.5em;
    cursor: pointer;
}

#date-container {
    display: none;
}
@media (max-height: 760px) and (min-width: 810px) {
    .container {
        gap: 1em;
        overflow-y: scroll;
    }
    .file {
        width: 40em;
    }
    .form-container {
        height: 30em;
        min-height: 29em;
        width: 45em;
        border-radius: 5px;
        margin-left: 50vw;
        transform: translate(-50%, 0%);
        gap: 0.5em;
        /* border: solid 1px red; */
    }
    .form {
        height: 100%;
    }
    .stream {
        height: 49.5em;
        width: 60em;
        margin-left: -60%;
        overflow: hidden;
        /* border: solid 1px red; */
    }
    .stream img {
        margin-top: -19%;
        width: 80%;
        transform: rotate(30deg);
    }
    .info-container {
        width: 90%;
        display: flex;
        justify-content: flex-start;
        /* align-items: flex-start; */
        flex-direction: row;
        gap: 0.5em;
        margin-bottom: 0.5em;
    }
    .info {
        margin-bottom: 0;
        width: fit-content;
        font-size: 0.9rem;
    }

    .button {
        margin-top: 0;
        /* margin-right: 5em; */
        width: 92%;
    }
    .message {
        width: 90%;
    }
    #message {
        height: 6em;
        width: 96%;
    }
    .input {
        width: 11em;
    }
    .asunto {
        width: 92%;
        margin-left: 1em;
    }
    #date {
        width: 14em;
    }
    #asunto {
        width: 32em;
    }
    #modal {
        right: 38%;
        bottom: 5%;
    }
    .header {
        display: flex;
        margin-top: 1em;
        margin-left: 1em;
    }
    .logo {
        width: 15em;
    }
}
@media (max-width: 415px) {
    .container {
        /* gap:5em; */
        overflow-x: hidden;
    }
    .file {
        width: 10em;
    }
    .form-container {
        height: 75vh;
        min-height: 29em;
        width: 19em;
        border-radius: 5px;
        margin-left: 50vw;
        transform: translate(-50%, 0%);
        gap: 0.5em;
        margin-top: 5em;
        /* border: solid 1px red; */
    }
    .form {
        height: 100%;
        opacity: 1;
    }
    .stream {
        height: 49.5em;
        width: 50em;
        margin-left: -90%;
        overflow: hidden;
        /* border: solid 1px red; */
    }
    .stream img {
        margin-top: 30%;
        width: 50%;
        transform: rotate(30deg);
    }
    .header {
        display: flex;
        align-items: baseline;
        margin-top: 0em;
        padding-top: 1em;
        padding-bottom: 0em;
        background-color: #001391;
        height: 2.5em;
        position: fixed;
        z-index: 4;
        width: 100vw;
        margin-left: 0;
        padding-left: 1em;
    }
    .logo {
        width: 8em;
    }
    .info-container {
        width: 20%;
        display: flex;
        justify-content: space-around;
        /* align-items: flex-start; */
        flex-direction: row;
        gap: 0.5em;
        margin-bottom: 0.5em;
        font-size: 0.8rem;
    }
    .info {
        margin-bottom: 0;
        width: fit-content;
        font-size: 0.8rem;
    }
    #date-type {
        height: 9em;
        display: flex;
        flex-direction: column;
        justify-content: flex-end;
    }
    .button {
        margin-top: 0;

        width: 70%;
    }
    .message {
        width: 90%;
    }
    #message {
        height: 4em;
        width: 90%;
    }
    .input {
        width: 9em;
        padding-left: 0.5em;
    }
    .asunto {
        width: 90%;
        margin-bottom: 2em;
    }
    #asunto {
        width: 94%;
    }
    .title {
        font-weight: 600;
        font-size: 1.2rem;
        margin-top: 0.5em;
        margin-bottom: 0.5em;
        padding-left: 1em;
    }
    .button {
        padding-top: 2.5em;
        /* margin-right: 5em; */
        width: 90%;
        height: 2.5em;
        font-size: 0.8rem;
    }
    #send {
        width: 50%;
        font-size: 1rem;
    }
    #cc {
        width: 20%;
        font-size: 1rem;
    }
    #modal {
        margin-bottom: 10em;
        top: 70vh;
        margin-right: 0em;
        left: 2em;
        width: 20em;
    }
    #ccmail {
        width: 18em;
    }
}
