body {
  box-sizing: border-box;
  margin: 0;
  width: 100vw;
  height: 100vh;
  position: relative;
  background: linear-gradient(rgb(199, 252, 245) 50%, rgb(2, 163, 16) 50%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: sans-serif;
}

.arrow-left,
.arrow-right {
  display: flex;
  font-size: x-large;
  font-family: monospace;
  font-weight: 600;
  line-height: 16px;
}

.back-button,
.back-to-home,
.go-to {
  position: absolute;
  top: 20px;
  left: 20px;
  cursor: pointer;
  display: flex;
  gap: 4px;
}

.back-to-home,
.go-to {
  color: white;
}

.go-to {
  right: 20px;
  left: unset;
}

.contact-card {
  height: 420px;
  width: 350px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 2px 2px 5px #bebebe, -2px -2px 5px #ffffff;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 20px;
  gap: 10px;
  color: white;
  font-weight: 500;
}

.profile-name {
  font-size: x-large;
  font-weight: bold;
}

.card-links {
  display: flex;
  gap: 10px;
  height: 50px;
}

.card-links i {
  color: white;
}

.card-content {
  z-index: 20;
}

.profile-icon img {
  width: 150px;
  height: 150px;
  border-radius: 50%;
}

.contact-button {
  width: 80%;
  height: 26px;
}

.contact-card::before {
  content: "";
  position: absolute;
  background: linear-gradient(180deg, rgb(255, 251, 11), rgb(20, 247, 31));
  width: 100px;
  height: 130%;
  animation: rotImg 3s linear infinite;
  transition: all 0.2s linear;
}

.contact-card::after {
  content: "";
  position: absolute;
  background: #a000ff;
  inset: 5px;
  border-radius: 15px;
}

@keyframes rotImg {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

/* projects */
#prev,
#next {
  position: absolute;
  font-family: monospace;
  font-size: xxx-large;
  font-weight: bold;
  color: white;
  top: calc(50% - 5px);
  cursor: pointer;
}

#prev {
  left: 50px;
}

#next {
  right: 50px;
}

ul {
  padding-bottom: 0;
  margin-bottom: 0;
}

.projects {
  position: relative;
  width: 100%;
  height: 450px;
  overflow: hidden;
  color: white;
}

.project-card {
  position: absolute;
  padding: 10px;
  border-radius: 10px;
  height: 420px;
  width: 350px;
  transition: 0.5s;
  left: calc(50% - 175px);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  font-family: "Trebuchet MS", "Segoe UI", sans-serif;
  color: black;
}

.card-top-details {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.button {
  padding: 10px;
  border-radius: 4px;
  color: white;
  background-color: black;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  text-decoration: none;
}

i {
  margin-right: 4px;
}

.rightside-book {
  margin-left: 105px;
}

.book {
  position: absolute;
  top: 235px;
  left: 140px;
  z-index: 20;
  cursor: pointer;
}

.book-main {
  border: 1px solid black;
  height: 20px;
  width: 80px;
}

.book-top {
  transform: skewX(-45deg);
  margin-left: 18px;
  background: white;
  height: 35px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.book-right {
  width: 34px;
  transform: skewY(-45deg);
  margin-left: 82px;
  margin-top: -41px;
}

.flex {
  display: flex;
}

.lightgray {
  background-color: lightgray;
}

.portfolio__title {
  position: absolute;
  top: 10px;
  left: 50%;
  font-weight: bold;
}

/* interior styles */
.house-interior,
.more-about-books {
  display: none;
  width: 100%;
  height: 100%;
  position: relative;
}

.more-about-books {
  justify-content: center;
  align-items: center;
}

.front-wall {
  z-index: 25;
}

.left-wall,
.right-wall {
  position: absolute;
  height: 400px;
  width: 148px;
  border: 2px solid black;
  top: 125px;
  left: 25%;
  transform: skewY(-45deg);
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
}

.right-wall {
  margin-left: 402px;
  z-index: 40;
}

.front-wall,
.rear-wall {
  position: absolute;
  top: 200px;
  left: 25%;
  border: 2px solid black;
  height: 400px;
  width: 400px;
}

.rear-wall {
  margin: -150px 150px;
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
}

.table {
  position: relative;
}

.table-base {
  position: absolute;
  left: 140px;
  top: 250px;
  width: 220px;
  height: 60px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: white;
  transform: skewX(-45deg);
  z-index: 10;
}

.table-leg {
  position: absolute;
  left: 130px;
  top: 305px;
  width: 15px;
  height: 55px;
  border: 1px solid black;
  background-color: rgba(151, 42, 42, 0.541);
}

.leg-rear {
  transform: translate(50px, -50px);
}

.leg-right {
  margin-left: 170px;
}

/* home screen styles */
.house {
  height: 0px;
  transform: translateY(-150px);
}

.house-main {
  border: 1px solid black;
  height: 200px;
  width: 200px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  background-color: rgb(252, 235, 214);
}

.house-right {
  width: 100px;
  transform: translate(202px, -256px) skewY(-47deg);
  border-left: none;
}

.house-doors {
  display: flex;
}

.house-name {
  margin-top: 20px;
}

.house-door {
  width: 40px;
  height: 80px;
  border: 1px solid black;
  border-bottom: none;
  cursor: pointer;
  background-color: rgb(238, 236, 236);
  text-align: center;
  display: flex;
  align-items: center;
  padding: 0 4px;
}

.property-board {
  display: flex;
  flex-direction: column;
  align-items: center;
  transform: translate(-120px, 105px);
}

.property-board-content {
  height: 85px;
  width: 150px;
  border: 2px solid black;
  transform: translateY(15px);
  background-color: rgb(238, 236, 236);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.property-board-support {
  width: 16px;
  height: 160px;
  border: 1px solid black;
  background-color: rgba(151, 42, 42, 0.541);
}

.roof-front {
  width: 0;
  height: 0;
  border-left: 100px solid transparent;
  border-right: 100px solid transparent;
  border-bottom: 150px solid rgb(125, 93, 93);
}

.roof-right {
  height: 148px;
  width: 175px;
  background-color: rgb(125, 93, 93);
  transform: translate(-87px, -53px) rotate(43deg) skewY(13deg);
  border: 1px solid black;
}

.roof-chimney {
  width: 30px;
  height: 80px;
  background-color: rgb(171, 161, 134);
  transform: translate(-170px, -100px);
  border-top-left-radius: 5px;
  border-top-right-radius: 5px;
  border-bottom-left-radius: 15px;
  position: relative;
}

.roof-chimney::after {
  position: absolute;
  content: "";
  bottom: -24px;
  left: 0px;
  width: 0;
  height: 0;
  border-left: 30px solid transparent;
  border-top: 30px solid rgb(171, 161, 134);
  border-bottom-right-radius: 8px;
  transform: skewY(21deg);
}
