* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  color: white;
  font-family: "roboto";
  overflow-x: hidden;
}

::placeholder{
  color: rgba(255, 255, 255, 0.944);
}

*:focus {
outline: none;
}

body {
  background-image: url("./assets/bg.jpeg");
  width: 100vw;
  position: absolute;
  min-height: 100vh;
  background-size: cover;
  background-repeat: no-repeat;
  background-color: #901333;
}

#web1 {
  position: absolute;
  top: -26vh;
  left: -16vw;
  z-index: -1;
  opacity: 0.1;
}

#web2 {
  filter: invert(1);
  position: absolute;
  top: -17vh;
  right: -12vw;
  overflow-x: hidden;
  z-index: -1;
  opacity: 0.1;
}

#web3 {
  filter: invert(1);
  position: absolute;
  z-index: 1;
  bottom: 0;
  right: 30vw;
  overflow-x: hidden;
  z-index: -1;
  opacity: 0.1;
}

#spiderman {
  position: absolute;
  height: 100vh;
  bottom: 0px;
  left: 3.9vw;
  z-index: -1;
}

.title {  
  text-align: center;
  font-size: 4rem;
  font-weight: bold;
  font-family: "comback home";
  text-shadow: 2px 2px #000000;
  padding: 1rem 0;
}

.wrapper {
  position: absolute;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  margin-top: 4rem;
  font-size: 1.5rem;
  z-index: 2; 
  width: 100%;
  gap: 4rem;
  margin-left: 10vw;
}

.top-wrapper {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: start;
  gap: 2rem;
}

.top-wrapper-left, .top-wrapper-right {
  flex-direction: column;
  justify-content: space-between;
}


input {
  font-size: 15px;
  background-color: transparent;
  border: 2px solid white;
  border-radius: 10px;
  color: white;
  padding: 10px 20px;
  min-height: 35px;
  width: fit-content;
  min-width: 50%;
}

.outer-box {
  display: flex;
  flex-direction: column;
  margin: 0 10px;
}

.box {
  margin: 10px 0px;
  padding: 5px;
  font-weight: bold;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 4rem;

}

button{
  padding: 4px;
  min-height: 30px;
  font-size: 16px;
  font-weight: bold;
  border-radius: 9px;
  background-color: #df1f2d;
  border: transparent;
}

button:hover{
  cursor: pointer;
  opacity: 80%;
}

.bottom-wrapper {
  padding: 10px;
  box-shadow: 0 15px 35px 15px rgba(0, 0, 0, 0.5);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(6px);
  overflow-y: scroll;
  max-height: 24vh;
  overflow-x: hidden;
  text-shadow: none;
  margin-top: 0px;
  color: white;
}

.table {
  margin: 20px;
}

.bottom-wrapper td {
  padding: 10px;
  word-wrap: break-word;
  max-width: 130px;
  text-align: left;
}

table {
  border-collapse: collapse;
  margin: 10px;
  border-radius: 10px;
  border: 1px solid black;
}
th {
  border: 1px solid black;
  border-color: none;

  margin: 10px;
  padding: 8px;
  text-align: left;
  background-color: #ff2433;
  text-align: left;
  justify-content: space-between;
  width: 100%;
}

tr, tr button, td {
  border: 1px solid black;
  margin: 10px;
  padding: 8px;
  text-align: left;
}

/* Scrollbar Styling */
::-webkit-scrollbar {
  width: 0.5em;
}

::-webkit-scrollbar-track {
  background: #007fd7;
  border-radius: 100vw;
  margin-block: 0.2em;
}

::-webkit-scrollbar-thumb {
  background: #de0606;
  border-radius: 100vw;
  margin-block: 0.5em;
}




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

  .wrapper {
    justify-content: center;
    align-items: center;
    margin: 0;
  }

  .top-wrapper {
    padding: 10px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(6px);
  } 
}

@media  screen and (max-width: 480px) {
  .title{
    font-size: 2.5rem;
  }

  .wrapper{
    margin-top: 1rem;
  }
  .top-wrapper, .box{
    flex-direction: column;
    justify-content: start;
    align-items: center;
    gap: 1rem;
    width: 90vw;
    padding: 10px;
  }

  .bottom-wrapper {
    font-size: 12px;
    width: 100%;
    max-height: 100%;    
  }


  button{
    font-size: 12px;
  }

  input{
    width: 100%;
  }

  table {
    display: block;
    width: 95%;
  }

}