:root {
  --red: #a52c2c;
  --darkred: #8d2525;
  --yellow: #e9d92b;
  --green: #055713;
  --darkred: #812222;
  --searchyellow: #fbf897;
}

body {
  background-color: var(--green);
  background-size: auto;
  background-position: top left;
  font-family: Arial, sans-serif;
  text-align: center;
  margin: 0;
  color: var(--yellow);
}

.logo {
  width: 170px;
  cursor: pointer;
}

.star {
  position: absolute;
  width: 20px;
  height: 20px;
  background: url("star.png") no-repeat center center;
  background-size: contain;
  opacity: 0;
  pointer-events: none;
}

.container {
  width: 500px;
  margin: 50px auto;
  padding: 10px 20px;
  background-color: var(--red);
  border-radius: 20px;
  border: 3px solid black;
}

header {
  padding: 10px 0;
}

h1 {
  font-size: 12px;
  font-weight: bold;
  color: var(--yellow);
}

a[href]:link {
  color: var(--yellow);
}

a[href]:visited {
  color: var(--yellow);
}

a[href]:hover {
  color: var(--green);
}

a[href]:active {
  color: var(--yellow);
}

.cornerImage {
  position: fixed;
  pointer-events: none;
  z-index: 0;
  opacity: 0.6;
}

.topLeft {
  top: 0;
  left: 0;
}

.topRight {
  top: 0;
  right: 0;
}

.bottomLeft {
  bottom: 0;
  left: 0;
  transform: scale(-1, -1);
}

.bottomRight {
  bottom: 0;
  right: 0;
}

.tab-container {
  display: flex;
  justify-content: flex-end;
  margin: 0 -20px;
  padding: 0 20px;
  position: relative;
  font-size: 10px;
  border-bottom: 1.5px solid black;
  align-items: flex-start;
}

.tab {
  padding: 1px 8px;
  background: var(--darkred);
  border: 1.5px solid black;
  border-bottom: none;
  border-radius: 10px 10px 0 0;
  text-decoration: none;
  color: var(--yellow);
  font-weight: bold;
  margin: 0 5px;
  position: relative;
  z-index: 2;
  display: flex;
  line-height: 10px;
  cursor: pointer;
}

.gen-button {
  padding: 1px 8px;
  color: var(--yellow);
  margin: 0 5px;
  position: relative;
  font-size: 10px;
  line-height: 10px;
  cursor: pointer;
  text-decoration-line: underline;
}

.tab * {
  pointer-events: none;
}

.tab.active {
  background: var(--red);
  border-bottom: none;
  color: var(--yellow);
}

.tab.active::after {
  content: "";
  position: absolute;
  left: 0px;
  right: 0px;
  bottom: -3px;
  height: 3px;
  background: var(--red);
  z-index: 1;
}

#stars-container {
  display: flex;
  align-items: center;
  position: relative;
  top: -130px;
  left: 35px;
  z-index: 10;
  pointer-events: none;
}

/* page content */
.content-container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.project-container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  border-bottom: 2px solid var(--darkred);
}

.left-column {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 70%;
}

.right-column {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: flex-end;
  width: 150%;
  margin-top: 50px;
}

.search-text {
  color: black;
  font-size: 9px;
}

.search-bar {
  background-color: var(--searchyellow);
  border: 1px solid black;
  font-size: 9px;
  margin-left: 0px;
}

.page-title {
  font-size: 24px;
  font-weight: bold;
  padding: 5px 15px;
  margin: 10px 0;
  text-align: left;
  display: block;
  width: 100%;
}

.search-container {
  display: flex;
  align-items: center;
  gap: 5px;
  position: relative;
  top: 11px;
  width: fit-content;
  z-index: 10;
}

.images {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
}

.image-select-wrapper {
  position: relative;
  display: inline-block;
}

.image-placeholder {
  width: 70px;
  height: 70px;
  border: 2px solid black;
  background-color: #fff;
  cursor: pointer;
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.maintex {
  padding: 0px 10px;
  display: flex;
  align-items: flex-end;
  text-align: right;
  font-family: "MS PGothic", Tahoma, Verdana;
  font-size: 11pt;
}

.desctex {
  padding: 0px 10px;
  display: flex;
  align-items: flex-end;
  text-align: right;
  font-family: "MS PGothic", Tahoma, Verdana;
  font-size: 9pt;
}

.arrow-up {
  position: absolute;
  top: -10px;
  left: 15px;
  width: 0;
  height: 0;
  border-left: 7px solid transparent;
  border-right: 7px solid transparent;
  border-bottom: 10px solid black;
}

#plus-icon {
  font-size: 24px;
  color: black;
}

/* animations */

@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@keyframes moveAndFade {
  0% {
    opacity: 1;
    transform: translate(0, 0) rotate(0deg);
  }
  100% {
    opacity: 0;
    transform: translate(40px, -40px) rotate(360deg);
  }
}
