.overlay{
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgb(0, 0, 0, 0.5);
    display: none;
}

.modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 400px;
    height: 400px;
    padding: 20px;
    background-color: #ECEAE8;
    border: solid 1px #6B2316;
    box-shadow:10px 10px #6B2316;
    display: none;
    z-index: 100;
}

.modal_close {
    position: absolute;
    top: 8px;
    right: 8px;
    cursor: pointer;
}

.modal_open {
    display: block;
}

.modal_open_profile {
    width: 200px;
}

.modal_header_title {
    font-size: 4rem;
    font-family: 'SaoTorpes', 'sans-serif';
    width: 100%;
    text-align: center;
    color:#6B2316;
}

.modal_body{
    text-align: center;
    display: flex;
    align-items: center;
}

.modal_body p {
    width: 100%;
    text-align: center;
}

.modal_footer {
    display: flex;
    gap: 50px;
    justify-content: space-around;
}

.modal button, .modal_open_profile {
    border: 1px solid #E1D2CD;
    background-color: #6B2316;
    border-radius: 5px;
    width: 150px;
    height: 40px;
    font-family: "LoveYaLikeASister", "sans-serif";
    font-size: 1.5rem;
    color: #E1D2CD;
    transition: all 0.1s ease;
    cursor: pointer;
}

.modal button:hover, .modal_open_profile:hover{
    background-color: #E1D2CD;
    color: #6B2316;
    border: 1px solid #6B2316;
}

.modal_delete_acc button.modal_footer_btn, .modal_logout button.modal_footer_btn {
    background-color: #E1D2CD;
    border: 1px solid #6B2316;
    color: #6B2316;
    transition: all 0.1s ease;
}

.modal_delete_acc button.modal_footer_btn:hover, .modal_logout button.modal_footer_btn:hover {
    border: 1px solid #ECEAE8;
    background-color: #6B2316;
    color: #ECEAE8;
}

.modal_index {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 70%;
  text-align: left;
}

.modal_open_profile {
    width: 200px;
    margin: 30px;
}

.toggle-password {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  user-select: none;
}

.eye-icon {
  width: 20px;
  height: 20px;
  cursor: pointer;
  vertical-align: middle;
}

.toggle-password {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
}

.input-error {
  border: solid 1px #912508; 
}

@font-face {
    font-family: 'LuckiestGuy';
    src: url('../fonts/LuckiestGuy.woff2') format('woff2'),
        url('../fonts/LuckiestGuy.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'SaoTorpes';
    src: url('../fonts/SaoTorpes.woff2') format('woff2'),
        url('../fonts/SaoTorpes.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}