:root {
  --primary: #d62926;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "line_seed_sans_th";
}

header {
  position: fixed;
  width: 100%;
  z-index: 9999;
  top: 0;
}

body {
  background-color: #efefef;
  padding-top: 5em;
}

header {
  position: fixed;
  width: 100%;
  z-index: 9999;
  top: 0;
}

.navbar {
  padding: 33px 0px;
  display: flex;
  justify-content: space-between;
  background: black;
  font-family: "Poppins", sans-serif;
  height: 5em;
  align-items: center;
}
.logo {
  align-items: center;
  padding-left: 40px;
  overflow: hidden;
  width: 300px;
  height: 150px;
  position: absolute;
}

.logonodisplay {
  font-size: 1.5rem;
  margin: 0.5rem;
}

#menu-icon {
  color: white;
  font-size: 30px;
  z-index: 10000;
  margin-right: 1.5rem;
  cursor: pointer;
  display: none;
}

.navbar ul {
  width: 100%;
  display: flex;
  justify-content: right;
  align-items: center;
  padding-right: 2rem;
}

.navbar ul a {
  margin: 0 1rem;
  text-decoration: none;
  color: white;
  padding: 6px 15px;
  border-radius: 20px;
  font-weight: 600;
  transition: background 0.2s, color 0.2s, padding 0.2s;
}

.navbar ul a:hover,
.navbar ul a.active {
  background: white;
  color: BLACK;
  padding: 6px 30px;
}

.navbar ul {
  list-style: none;
  letter-spacing: 0.5px;
}

.phonenav {
  background: black;
  margin-top: 0em;
  height: auto;
  position: absolute;
  width: 20em;
  right: -20em;
  transition: right 0.3s ease;
}

.phonenav ul {
  list-style: none;
  text-align: center;
}

.phonenav a {
  display: table;
  margin: 1em;
  right: 0;
  left: 0;
  line-height: 1.5;
  display: inline-block;
  vertical-align: middle;
  font-size: 600;
  text-decoration: none;
  color: white;
}

.phonenav li {
  position: relative;
  overflow: hidden;
}

.phonenav li::before,
.phonenav li::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  background-color: white;
  transition: transform 0.3s ease, width 0.3s ease;
}

.phonenav li::before {
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
}

.phonenav li::after {
  right: 50%;
  bottom: 0;
  transform: translateX(50%);
}

.phonenav li:hover::before,
.phonenav li:hover::after {
  width: 50%;
  transform: scaleX(1);
}

.test {
  position: relative;
}

.left-container {
  width: 50%;
  float: left;
  position: relative;
  z-index: 5000;
}

.right-container {
  width: 50%;
  float: right;
  position: relative;
  z-index: 5000;
}

.container {
  display: flex;
  justify-content: left;
  align-items: left;
  overflow: hidden;
  width: 100%;
}

.card {
  display: column;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.GPUcon {
  position: relative;
  width: 100%;
  height: 475px;
  box-shadow: -15px 0 35px rgba(0, 0, 0, 0.1), 0 -15px 35px rgba(0, 0, 0, 0.1),
    0 15px 35px rgba(0, 0, 0, 0.1);
  transition: 0.3s;
}

.gradient {
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  z-index: -2;
}

.first {
  z-index: 0;
  animation: 1s width ease;
}

@keyframes width {
  from {
    width: 0%;
  }
  to {
    width: 100%;
  }
}

.second {
  z-index: -1;
}

.gradient[color="RX 7900 GRE"] {
  background-image: linear-gradient(45deg, #d62926, #ee625f);
}

.gradient[color="RX 7800 XT"] {
  background-image: linear-gradient(45deg, #d62926, #ee625f);
}

.gradient[color="RX 7700 XT"] {
  background-image: linear-gradient(45deg, #d62926, #ee625f);
}

.gradient[color="RX 7600 XT"] {
  background-image: linear-gradient(45deg, #d62926, #ee625f);
}

.gradient[color="RX 7600"] {
  background-image: linear-gradient(45deg, #d62926, #ee625f);
}

.gradient[color="RX 6600 XT"] {
  background-image: linear-gradient(45deg, #d62926, #ee625f);
}

.gradient[color="RTX 4090"] {
  background-image: linear-gradient(45deg, #11998e, #1ce669);
}

.gradient[color="RTX 4080 Super"] {
  background-image: linear-gradient(45deg, #11998e, #1ce669);
}

.gradient[color="RTX 4080"] {
  background-image: linear-gradient(45deg, #11998e, #1ce669);
}
.gradient[color="RTX 4070 S"] {
  background-image: linear-gradient(45deg, #11998e, #1ce669);
}
.gradient[color="RTX 4070"] {
  background-image: linear-gradient(45deg, #11998e, #1ce669);
}
.gradient[color="RTX 4060"] {
  background-image: linear-gradient(45deg, #11998e, #1ce669);
}
.gradient[color="RTX 3070"] {
  background-image: linear-gradient(45deg, #11998e, #1ce669);
}
.gradient[color="RTX 3060 12GB"] {
  background-image: linear-gradient(45deg, #11998e, #1ce669);
}
.gradient[color="GTX 1660 SUPER"] {
  background-image: linear-gradient(45deg, #11998e, #1ce669);
}

.color[color="RX 7900 GRE"] {
  background-color: #f84848;
  border-color: #f84848;
}

.color[color="RX 7800 XT"] {
  background-color: #f84848;
  border-color: #f84848;
}

.color[color="RX 7700 XT"] {
  background-color: #f84848;
  border-color: #f84848;
}

.color[color="RX 7600 XT"] {
  background-color: #f84848;
  border-color: #f84848;
}

.color[color="RX 7600"] {
  background-color: #f84848;
  border-color: #f84848;
}

.color[color="RX 6600 XT"] {
  background-color: #f84848;
  border-color: #f84848;
}

.color[color="RTX 4090"] {
  background-color: #29b864;
  border-color: #29b864;
}

.color[color="RTX 4080 Super"] {
  background-color: #29b864;
  border-color: #29b864;
}

.color[color="RTX 4080"] {
  background-color: #29b864;
  border-color: #29b864;
}
.color[color="RTX 4070 S"] {
  background-color: #29b864;
  border-color: #29b864;
}
.color[color="RTX 4070"] {
  background-color: #29b864;
  border-color: #29b864;
}
.color[color="RTX 4060"] {
  background-color: #29b864;
  border-color: #29b864;
}
.color[color="RTX 3070"] {
  background-color: #29b864;
  border-color: #29b864;
}
.color[color="RTX 3060 12GB"] {
  background-color: #29b864;
  border-color: #29b864;
}
.color[color="GTX 1660 SUPER"] {
  background-color: #29b864;
  border-color: #29b864;
}

.bigtext {
  position: absolute;
  top: 85px;
  left: 15px;
  font-size: 11rem;
  text-transform: uppercase;
  line-height: 0.9;
  color: #fff;
  opacity: 0.1;
}

.GPUsmt {
  position: absolute;
  width: 60%;
  opacity: 0;
  bottom: 0;
  left: 0;
  margin-left: 15%;
  transition: 0.3s;
}

.GPUsmt.show {
  opacity: 1;
}

.info {
  width: 100%;
  background-color: #fff;
  z-index: 1;
  padding: 35px 40px;
  box-shadow: 15px 0 35px rgba(0, 0, 0, 0.1), 0 -15px 35px rgba(0, 0, 0, 0.1),
    0 15px 35px rgba(0, 0, 0, 0.1);
}

.GPUdesc {
  padding: 0 0 10px 0;
}

.GPUdesc div {
  display: flex;
  align-items: center;
}

.GPUdesc div .big {
  margin-right: 10px;
  font-size: 2rem;
  color: #333;
  line-height: 1;
}

.GPUdesc div .new {
  background-color: var(--primary);
  text-transform: uppercase;
  color: #fff;
  padding: 3px 10px;
  border-radius: 5px;
  transition: 0.3s;
}

.GPUdesc .small {
  font-weight: 500;
  color: #444;
  margin-top: 3px;
  text-transform: capitalize;
}

.GPUdesc,
.description,
.color-container,
.size-container {
  border-bottom: 1px solid #dadada;
}

.color-container-another {
  display: inline-block;
  position: relative;
  font-family: "Arial", sans-serif;
  margin-bottom: 7.5px;
  margin-top: 7.5px;
}

#colorDropdownLeft {
  appearance: none;
  background-color: #fff;
  border: 2px solid #ddd;
  border-radius: 8px;
  padding: 10px 20px;
  font-size: 16px;
  color: #333;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 250px;
  outline: none;
  position: relative;
  height: 55px;
}

#colorDropdownLeft:focus {
  border-color: rgba(0, 0, 0, 0.1);
}

#colorDropdownLeft:hover {
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

#colorDropdownLeft option {
  background-color: white;
  color: #333;
  padding: 10px;
}

#colorDropdownLeft {
  background-color: white;
  color: #333;
}

#colorDropdownLeft {
  background-color: white;
  color: #333;
}

#colorDropdownRight {
  appearance: none;
  background-color: #fff;
  border: 2px solid #ddd;
  border-radius: 8px;
  padding: 10px 20px;
  font-size: 16px;
  color: #333;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 250px;
  outline: none;
  position: relative;
  height: 55px;
}

#colorDropdownRight:focus {
  border-color: rgba(0, 0, 0, 0.1);
}

#colorDropdownRight:hover {
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

#colorDropdownRight option {
  background-color: white;
  color: #333;
  padding: 10px;
}

#colorDropdownRight option[value="#f84848"] {
  background-color: white;
  color: #333;
}

#colorDropdownRight option[value="#29b864"] {
  background-color: white;
  color: #333;
}

.color-container-another:after {
  content: "▼";
  font-size: 12px;
  color: #333;
  position: absolute;
  top: 50%;
  right: 20px;
  transform: translateY(-50%);
  pointer-events: none;
}

.color-container-another:hover:after {
  color: gray;
}
.description {
  padding: 10px 0;
}

.title {
  color: #3a3a3a;
  font-weight: 600;
  font-size: 1.2rem;
  text-transform: uppercase;
}

.text {
  color: #555;
  font-size: 17px;
}

.color-container {
  padding: 10px 0;
}

.colors {
  padding: 8px 0;
  display: flex;
  align-items: center;
}

.color {
  width: 25px;
  height: 25px;
  border-radius: 50%;
  margin: 0 10px;
  border: 5px solid;
  cursor: pointer;
  transition: 0.3s;
}

.color.active {
  border-color: #fff;
  box-shadow: 0 0 10px 0.5px rgba(0, 0, 0, 0.2);
  transform: scale(1.1);
}

.input-price {
  padding-top: 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.custom-price {
  padding: 0.7rem 1rem;
  background-color: #ebebeb;
  text-decoration: none;
  color: #333333;
  min-width: 30;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 500;
  font-size: 0.9rem;
  transition: 0.3s;
}

.custom-price:hover {
  transform: scale(1.1);
}

.custom-price i {
  margin-right: 2px;
}

.bar {
  text-align: center;
  margin-bottom: 125px;
  transform: translateY(80px);
}
input {
  padding: 8px;
  font-size: 16px;
}

button {
  padding: 8px 16px;
  font-size: 16px;
  margin-bottom: 20px;
  cursor: pointer;
}

.progress-bar {
  width: 100%;
  max-width: 70%;
  height: 30px;
  background-color: #e0e0e0;
  border-radius: 20px;
  overflow: hidden;
  margin: 0 auto;
  position: relative;
  margin-bottom: 15px;
}

#progress {
  height: 100%;
  background: linear-gradient(270deg, #ff7f50, #87ceeb, #6a5acd);
  background-size: 600% 600%;
  width: 0;
  animation: gradientAnimation 10s ease infinite;
  transition: width 0.6s ease;
}

@keyframes gradientAnimation {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

.worth-more {
  margin-bottom: 15px;
}

.worth-morePercent {
  font-weight: 100;
  color: #444;
}

.calculate {
  width: 100%;
  display: flex;
  justify-content: center;
  text-align: center;
}

.calc-button {
  background-color: white;
  color: black;
  border: solid 3px #303030;
  border-radius: 8px;
  padding: 10px 20px;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: 0.3s;
}

.calc-button:hover {
  background-color: #999999;
  transform: scale(1.1);
}

.calc-button:focus {
  outline: none;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
}

@media (max-width: 100000px) {
  .GPUsmt {
    width: 15%;
  }
}

@media (max-width: 5000px) {
  .GPUsmt {
    width: 20%;
  }
}

@media (max-width: 4000px) {
  .GPUsmt {
    width: 30%;
  }
}

@media (max-width: 3000px) {
  .GPUsmt {
    width: 40%;
  }
}
@media (max-width: 2200px) {
  .GPUsmt {
    width: 45%;
  }
}

@media (max-width: 1800px) {
  .GPUsmt {
    width: 55%;
  }
}

@media (max-width: 1700px) {
  .GPUsmt {
    width: 60%;
  }
}

@media (max-width: 1300px) {
  .navbar ul a {
    padding: 6px 10px;
  }

  .navbar ul a:hover,
  .navbar ul a.active {
    background: white;
    color: BLACK;
    padding: 6px 20px;
  }
}

@media (max-width: 1070px) {
  .GPUsmt {
    width: 75%;
  }
}

@media (max-width: 1000px) {
  .card {
    flex-direction: column;
    width: 100%;
    box-shadow: 0 0 35px 1px rgba(0, 0, 0, 0.2);
  }

  .card > div {
    width: 100%;
    box-shadow: none;
  }

  .GPUsmt {
    width: 80%;
    transform: rotate(-5deg) translateY(-50%);
    top: 62%;
    right: 2%;
  }

  .bigtext {
    top: 20%;
    left: 5%;
  }
}

@media (max-width: 900px) {
  .left-container,
  .right-container {
    width: 100%;
  }
  .container {
    min-height: auto;
  }
  #menu-icon {
    display: block;
  }
  ul a {
    display: none;
  }
  .logo {
    padding-left: 0px;
  }
}

@media (max-width: 490px) {
  .bigtext {
    font-size: 7rem;
  }

  .GPUdesc div .big {
    font-size: 1.3rem;
  }

  .small {
    font-size: 1rem;
  }

  .new {
    padding: 2px 6px;
    font-size: 0.9rem;
  }

  .title {
    font-size: 0.9rem;
  }

  .text {
    font-size: 0.8rem;
  }

  .custom-price {
    padding: 0.5rem 0.8rem;
    font-size: 0.8rem;
  }
  .color {
    margin: 0 6px;
    width: 0 20px;
    width: 20px;
    height: 20px;
    border-width: 4px;
  }
  .info {
    padding: 20px;
  }
}

@media (max-width: 400px) {
  .custom-price i {
    display: none;
  }
}
