@import url(font.css);
@import url(header.css);
@import url(footer.css);

:root {
  --primary-color: #252b42;
  --secondary-color: #f5f5f5;
  --light-text-color: #ffffff;
  --text-color: #000000;
  --second-text-color: #737373;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  width: 100%;
  font-family: "GothamNarrSSm-Book", "Montserrat", sans-serif;
}

body {
  background-image: url("../img/background.png");
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;


  min-height: 100vh;
  display: grid;
  grid-template-rows: 1fr 0.5fr minmax(4fr, auto) 0.5fr 1fr;
  grid-template-columns: 1fr minmax(auto, 10fr) 1fr;
  grid-template-areas: "header header header" ". . ." ". main ." ". . ." "footer footer footer";
}

main {
  grid-area: main;
  padding: 7rem 0;
}

@media (max-width: 640px) {
  main {
    padding: 5rem 0;
  }
  
}

h1 {
  font-size: 3.25rem;
  font-family: "GothamNarrSSm-Bold", "Montserrat", sans-serif;
  margin-bottom: 1rem;
  letter-spacing: 0.2px;
  margin-bottom: 1.5rem;
}

@media (max-width: 640px) {
  h1 {
    font-size: 2rem;
  }
}

/* Intro Section */

.intro {
  display: flex;
  justify-content: center;
  color: var(--light-text-color);
}

.intro-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  gap: 4rem;
}


.intro-text {
  width: 40%;
  text-align: center;
  text-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
}

@media (max-width: 1024px) {
  .intro-text {
    width: 80%;
  }
  
}

.intro-text p {
  font-size: 1.15rem;
}

.intro-button {
  color: var(--light-text-color);
  font-size: 1.25rem;
  text-decoration: none;
  text-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
  letter-spacing: 0.2px;
  border-radius: 5px;
  padding: 1rem 1.25rem;
  background-color: rgba(30, 30, 30, 0.9);
}

@media (max-width: 640px) {
  .intro-section {
    margin-top: 3rem;
    margin-bottom: 8rem;
    gap: 1rem;
  }

  .intro-text {
    width: 80%;
  }

  .intro-text h1 {
    font-size: 2rem;
  }

  .intro-text p {
    font-size: 1rem;
  }

  .intro-button {
    font-size: 1rem;
  }
}

/* RMA */

.rma {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.rma-box {
  display: flex;
  flex-direction: column;
  justify-content: center;
  background-color: #f0f0f0;
  border-radius: 5px;
  padding: 1.25rem 1.5rem;
  color: #161616;
}

.rma-box h1 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

@media (max-width: 640px) {
  .rma-box {
    padding: 1rem 1.25rem;
  }

  .rma-box h1 {
    font-size: 1.2rem;
  }
}

.rma-box table tr {
  flex-direction: column;
  width: 100%;
  gap: 0.25rem;
  font-size: 1rem;
  padding-bottom: 1rem;
}

.serialNumber-container {
  display: flex;
}

.rma-box table input[type="text"] {
  width: 100%;
  height: 2.5rem;
  border: 1px solid rgb(201, 201, 201);
  border-radius: 5px;
  padding: 0.5rem 1rem;
  font-family: "GothamNarrSSm-Book", "Montserrat", sans-serif;
}

.rma-box table textarea {
  width: 100%;
  height: 5rem;
  border: 1px solid rgb(201, 201, 201);
  border-radius: 5px;
  padding: 0.5rem 1rem;
  font-family: "GothamNarrSSm-Book", "Montserrat", sans-serif;
}

.rma-box table input[type="button"] {
  width: 100%;
  height: 2.5rem;
  border: 1px solid rgb(201, 201, 201);
  border-radius: 5px;
  padding: 0.5rem 1rem;
  font-family: "GothamNarrSSm-Book", "Montserrat", sans-serif;
  font-weight: 600;
}

.rma-not-accepted-row,
.rma-accepted-row,
.rma-pasted-accepted-row {
  display: none;
}

.rma-not-accepted-row td,
.rma-accepted-row td,
.rma-pasted-accepted-row td {
  display: none;
}

.rma-pasted-accepted-row,
.rma-not-accepted-row {
  color: #ff0000;
}

.rma-pasted-accepted-row td {
  margin-bottom: 1rem;
}

.repair-center {
  display: flex;
  flex-direction: column;
}

.repair-center div {
  display: flex;
  flex-direction: row-reverse;
  justify-content: flex-end;
  gap: 0.5rem;
}

.rma-box ol {
  list-style-position: inside;
}

.rma-box ol li {
  margin-bottom: 0.75rem;
}
