@import url('https://fonts.googleapis.com/css2?family=Poppins&family=Roboto:wght@100;300;400;500;700;900&family=Source+Sans+Pro:wght@200;300;400;600;700;900&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'poppins', sans-serif;
}

body {
  background-color: #fafafaf1;
  background-image: url("https://www.transparenttextures.com/patterns/asfalt-dark.png");
 
  display: flex;
  justify-content: flex-end; 
  align-items: center; 
  height: 100vh;
  width: 100vw;
}

.image-container {
  position: absolute; 
  left: 0;
  top: 0;
  width: 50%; 
  height: 100%; 
  display: flex;
  align-items: center;
  justify-content: center;
}

.image-container img {
  max-width: 100%; 
  height: auto;
}

.container {
  background-color: #fafafa;
  padding: 6px;
  width: 550px;
  height: 600px; 
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 0 20px 0 darkgrey;
  margin-right: 120px; 
}

.container h1 {
    margin-top: 3rem;
    margin-bottom: 2rem;
    color: rgb(70, 16, 121);
    font-weight: 600;
}

.container .p-topico {
    font-size: 0.8rem;
    color: gray;
    margin-right: 12rem;
    border-bottom: 1px solid gray;
}

form {
  position: absolute;
  margin-top: 100px;
  transition: .5s;
  width: 300px;
  height: 400px;
 
}

.input {
    margin-top: 70px;
}

.senha2 {
    margin-top: 1.2rem;
}

input[type="password"] {
  border: none;
  border-radius: 60px;
  padding: 8px 0 8px 35px;
  outline: none;
  width: 100%;
}

button[type="botão"] {
  background: #660fc8;
  color: white;
  border-radius: 30px;
  width: 90%; 
  border: none;
  outline: none;
  padding: 8px 10px 8px 8px;
  font-size: 15px;
  margin: 40px 30px 0 4px;  
  cursor: pointer;
  text-align: center;
}

.iSenha, .iSenha2 {
  position: absolute;
  left: 0;
  padding: 10px 10px;
}

.iSenha {
  top: 68px;
}

.iSenha2 {
  top: 125px;
}

.p-del {
    margin-top: 14rem;
}

.header img {
  position: absolute;
  top: 3.8rem;
  left: 2rem;
  width: 5%;
  cursor: pointer;
}

#Deletar {
    margin-top: 24rem;
}

.deletar-conta {
    display: flex;
    flex-direction: row;
    justify-content: center;
}

.btn-deletar {
    background-color: rgb(247, 176, 176);
    color:#d60a0a;
    border-radius: 30px;
    width: 50%; 
    border: none;
    outline: none;
    padding: 8px 10px 8px 8px;
    font-size: 15px;
    margin: 40px 30px 0 4px;  
    cursor: pointer;
    text-align: center;
    display: flex;
    font-weight: bold;
}

.btn-deletar img {
  width: 17%;
}

.avisos {
  color: red;
  font-size: 0.8rem;
  margin-top: 0px;
  margin-left: 1.5rem;
  text-align: center;
  position: absolute;
  top: 85%;
  left: 28%;
}

/* Modal */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  justify-content: center;
  align-items: center;
}

.modal-content {
  background-color: #fff;
  padding: 20px;
  border-radius: 8px;
  text-align: center;
  width: 300px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.modal-actions {
  margin-top: 20px;
  display: flex;
  justify-content: space-around;
}

.btn-confirm {
  background-color: #d60a0a;
  color: #fff;
  border: none;
  padding: 10px 20px;
  border-radius: 4px;
  cursor: pointer;
}

.btn-cancel {
  background-color: #1f1764;
  color: #fff;
  border: none;
  padding: 10px 20px;
  border-radius: 4px;
  cursor: pointer;
}

.btn-confirm:hover {
  background-color: #c9302c;
}

.btn-cancel:hover {
  background-color: #322a7e;
}

@media screen and (max-width: 768px) {

  .image-container {
    width: 0%;
  }
  .image-container img {
    display: none;
  }

  .header img {
    width: 8%;
    left: 1rem;
    top: 3.7rem;
  }

  .container {
    width: 80%;
    margin-right: 40px;
    font-size: 0.8rem;
  }

  .p-del {
    margin-top: 15rem;
  }

  .form-container {
    margin-left: 2rem;
  }

  .iSenha, .iSenha2 {
    margin-left: 2rem;
  }

  .p-topico {
    margin-left: 4rem;
    width: 30%;
  }

  button[type="botão"] {
    width: 80%;
    margin-left: 10px;
  }

  .btn-deletar {
    width: 60%;
    margin-left: 30px;
  }

  .avisos {
    left: 30px;
  }
}