* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.navbar {
  display: flex;
  width: 100%;
  justify-content: space-between;
  height: 50px;
  background-color: #021927;
  position: fixed;
  z-index: 4;
}

button {
  background-color: #0c3753 !important;
  color: white !important;
}

.navbar > input {
  width: 70%;
  border: 2px solid white;
  margin-top: 8px;
  margin-bottom: 8px;
}

.navbarbtn > button {
  height: 50px;
  width: 150px;
  background-color: #994b15;
  color: rgba(0, 0, 0, 0.617);
  font-family: "Lucida Sans", sans-serif;
  font-size: 17px;
}

.navbar > img {
  background-color: white;
}

.title {
  font-family: "Lexend Exa", sans-serif;
  font-weight: bolder;
  font-size: 220px;
  color: #e2e94b;
}

body {
  background-color: #506371;
}

.content {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.inp-name {
  width: 50%;
  padding: 8px;
  margin: 10px;
  margin-top: 180px;
  border-radius: 15px;
}

.inp-number {
  width: 50%;
  padding: 8px;
  margin: 10px;
  border-radius: 15px;
}

.list {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
}
.card {
  position: relative;
}
.card > img {
  width: 100%;
}
.card-title {
  text-align: center;
  position: absolute;
  top: 96px;
  right: 137px;
  color: white;
  font-family: "UnifrakturCook";
}
.card-title > h4 {
  font-size: 45px;
  width: 215px;
}
.card-title > h2 {
  font-size: 70px;
}

.create-btn {
  width: 50%;
  padding: 8px;
  margin: 10px;
  border-radius: 15px;
  background-color: #994b15;
  margin-bottom: 100px;
  color: #f0ddca;
  font-size: 15px;
}

.modal {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: #021927;
  padding: 50px;
  display: none;
}

.modal > input {
  width: 50%;
  margin-bottom: 20px;
  border-radius: 15px;
  padding: 8px;
}

.modal > button {
  width: 50%;
  margin-bottom: 20px;
  border-radius: 15px;
  padding: 8px;
  background-color: #9f3b38;
  color: #f0ddca;
}
.btns {
  display: flex;
  justify-content: center;
  margin-top: 100px;
}

.btns > button {
  width: 5%;
  height: 30px;
  border-radius: 10px;
}

.btns > button:hover {
  transition: 0.6s;
  background-color: #9f3b38;
}

.card-btn > button {
  width: 20%;
  padding: 8px;
}

@media all and (max-width: 1468px) {
  .title {
    font-size: 172px;
  }
}

@media all and (max-width: 1312px) {
  .title {
    font-size: 143px;
  }
}

@media all and (max-width: 1186px) {
  .navbarbtn > button {
    width: 124px;
  }
}

@media all and (max-width: 1088px) {
  .title {
    font-size: 123px;
  }
  .navbar > input {
    width: 60%;
  }
}

@media all and (max-width: 996px) {
  .btns > button {
    width: 8%;
  }
}

@media all and (max-width: 942px) {
  .title {
    font-size: 106px;
  }
}

@media all and (max-width: 866px) {
  .navbarbtn > button {
    width: 100px;
  }
}

@media all and (max-width: 819px) {
  .title {
    font-size: 96px;
  }
  .navbarbtn > button {
    width: 90px;
  }
  .btns > button {
    width: 11%;
  }
}

@media all and (max-width: 727px) {
  .title {
    font-size: 83px;
  }
}

@media all and (max-width: 665px) {
  .navbar > input {
    width: 50%;
  }
}

@media all and (max-width: 643px) {
  .title {
    font-size: 70px;
  }
}

@media all and (max-width: 542px) {
  .title {
    font-size: 62px;
  }
  .navbarbtn > button {
    display: none;
  }
  .inp-name {
    margin-top: 104px;
  }
  .navbar > input {
    width: 76%;
  }
  .btns > button {
    width: 20%;
  }
}

@media all and (max-width: 480px) {
  .title {
    font-size: 54px;
  }
  .navbar {
    height: 42px;
  }
}

@media all and (max-width: 439px) {
  .card-title > h4 {
    width: 159px;
  }
}

@media all and (max-width: 423px) {
  .title {
    font-size: 46px;
  }
  .navbar {
    height: 36px;
  }
}

@media all and (max-width: 400px) {
  .card-title > h4 {
    width: 122px;
  }
}

@media all and (max-width: 361px) {
  .card-title > h4 {
    width: 97px;
  }
}

@media all and (max-width: 353px) {
  .title {
    font-size: 39px;
  }
  .card-title > h4 {
    font-size: 40px;
    width: 79px;
  }
  .card-title > h2 {
    font-size: 40px;
  }
}

@media all and (max-width: 320px) {
  .inp-name {
    width: 67%;
  }
  .inp-number {
    width: 67%;
  }
  .create-btn {
    width: 67%;
  }
  .btns > button {
    width: 26%;
  }
}
