/* COMMON STYLES */
.form {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.form-inpt-row {
  display: flex;
  flex-direction: column;
  padding: 1rem;
}

.form input {
  padding: 0.5rem;
  background-color: #291a1a;
  color: white;
  font-size: 1rem;
}


body {
  background-image: url("Background-gradient.png");
  background-repeat: no-repeat; /* Do not repeat the image */
  background-size: cover; /* Resize the background image to cover the entire container */
}

section {
  margin-top: 10svh;
  padding: 5rem 5rem;

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;

  gap: 5svh;
}

/*<><> NAV  <><>*/
nav {
  position: relative;
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  min-height: 5svh;
  
  border-bottom: 1px solid #ba2871;
  padding: 1rem;
}

nav a img {
  max-height: 8svh;
  padding: 0 1rem;
  
}

.nav-text {
  flex:1;
  color: #e43131;
  font-size: 3rem;
}

.nav-text span{
  color: #fbefdf;
}


/* <><> TITLE SECTION <><> */
.title-section {
  display: flex;
  margin-top: 0;
  padding-top: 5rem;
  min-height: 80svh;
  padding-bottom: 20svh;
  
}

.title-section h2 {
  font-size: 3rem;
  color: #ebdfcf;
}




/* <><> Projects section <><> */
.main {
  background-color: rgba(95, 95, 95, 0.05);
  max-width: 80%;
  margin: 10svh auto;
  padding: 3rem 4rem;

  display: flex;
  flex-direction: column;
  row-gap: 7.5svh;

  border-radius: 2rem;
  box-shadow: 0 0.5rem 0.4rem rgba(0, 0, 0, 0.03);
}

.projects-title {
  grid-column: 1/-1;
  grid-row: 1/2;
  text-align: center;
  
  padding: 0 1rem 0.8rem;
  border-bottom: 2px solid #ba2871;
  width: fit-content;
  margin: 0 auto;
  
  width: 100%;
}
.btn-grid{
  margin-top: 10svh;
  display: flex;
  flex-direction: row;
  gap: 2rem;
  justify-content: space-evenly;
  width: 75%;
}

.std-btn{
  font-size: 1.5rem;
  padding: 1rem;
  background-color: rgba(114, 114, 114, 0.15);
  border: 1px solid rgba(250, 235, 215, 0.5);
  border-radius: 0.5rem;
  color: #faebd7;
  cursor: pointer;
  transition: all ease 0.3s;
  
  display: flex;
  gap: 0.5rem;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.std-btn:hover{
  transform: scale(1.1);
  border: 1px solid rgba(250, 235, 215, 0.75);
  text-decoration: underline;
}

.btn-icon{
  width: 2.5rem;
}

.std-btn p {
  text-align: center;
}

.main h4 {
  font-size: 1.8rem;
  text-align: left;
  padding: 1rem 0;
  margin: 0.5rem 0;
}

/* GOOGLE DOCS TABLE */
.sample-data-sheet{
  width: 100%;
  height: 50svh;
}

/* DATA SEARCH QUERY RESPONSE */
#loading {
  display: none;
  color: #ffffff;
  font-size: 20px;
  margin: 100px auto;
  width: 1rem;
  height: 1rem;
  border-radius: 50%;
  position: relative;
  text-indent: -9999em;
  -webkit-animation: load4 1.3s infinite linear;
  animation: load4 1.3s infinite linear;
  -webkit-transform: translateZ(0);
  -ms-transform: translateZ(0);
  transform: translateZ(0);
}

#loading-updates {
  display: none;
  font-size: 2rem;
  text-align: center;
}

#query-result-img {
  max-width: 100%;
  display: none;
}

.query-btn-grid {
  display: none;
  justify-content: space-evenly;
}

.query-btn-grid a{
  cursor: pointer;
  background-color: transparent;
  font-size: 2rem;
  padding: 0.75rem;
  border-radius: 0.33rem;
  transition: all ease-in-out 0.4s;
  outline: none;
  box-shadow: 0 1rem 0.8rem rgba(0, 0, 0, 0.075);
}

.query-btn-grid a:hover {
  transform: scale(1.2);
  box-shadow: 0 1rem 0.8rem rgba(0, 0, 0, 0.15);
  background-color: rgba(114, 114, 114, 0.15);
}

.download-img-btn {
  border: 1px solid #55a960;
  color: #55a960;
  
}

.download-img-btn:hover {
  border: 1.5px solid #79a27e;
  color: #55a960;
}

.open-query {
  color: #ebdfcf;
  border: 1px solid #ba2871;
}

.open-query:hover {
  border-color: #b16189;
}

/* GRAPH INFO CARDS */
.interpretation-div {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  border-radius: 1rem;
  
  background-color: rgba(114, 114, 114, 0.15);
  padding: 2rem;
}

.interpretation-accordian-btn{
  font-size: 5rem;
  background-color: transparent;
  text-align: center;
  outline: none;
  border: none;
  width: fit-content;
  margin: auto;
  transition: all ease-in-out 0.4s;
  padding: 0.1rem 1rem;
  color: #ebdfcf ;
  
  transition: transform 0.2s ease; /* Add a transition for smooth animation */
}

.interpretation-accordian-btn:hover:not(.rotate) {
  transform: scale(1.2);
  color: #fbefdf;
  cursor: pointer;
}

.rotate {
  transform: rotate(45deg);
}

.interpretation-accordian-btn.rotate:hover {
  transform: scale(1.2) rotate(45deg);
  color: #fbefdf;
  cursor: pointer;
}

.interpretation-accordian {
  display: none;
  grid-template-columns: 1fr 1fr;
  row-gap: 5rem;
  column-gap: 5%;
  transition: all ease-in-out 0.4s;
}

.accordian-grid-open{
  display: grid;
}

.interpretation-accordian img,
.interpretation-accordian div{
  transition: all ease-in-out 0.4s;
}

.interpretation-accordian img:hover,
.interpretation-accordian div:hover{
  box-shadow: 0 0.75rem 0.8rem rgba(0, 0, 0, 0.025);
  transform: scale(1.1);
}

.interpretation-title {
  grid-column: span 2;
}

.graph-card {
  background-color: #291a1a;
  box-shadow: 0 0.75rem 0.8rem rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(255,255,255,0.5);
  
  border-radius: 0.75rem;
  padding: 1rem;
  
  box-shadow: 0 0.75rem 0.8rem rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.graph-card p{
  line-height: 1.2rem
}

.interpretation-img {
  max-width: 100%;
  align-self: center;
}

/* <><> DOCS <><> */
.enquire-section {
  display: flex;
  flex-direction: column;
  row-gap: 5svh;
}

.enquire-section div {
  width: 100%;
}

.accordion { /* Style the buttons that are used to open and close the accordion panel */
  background-color: rgba(42, 42, 42, 0.25);
  color: #ebdfcf;
  cursor: pointer;
  padding: 2rem 1.5rem;
  width: 100%;
  text-align: left;
  border: none;
  outline: none;
  transition: 0.4s;
  
  font-size: 1.5rem;
  
  border-radius: 0.5rem;
}

/* Add a background color to the button if it is clicked on (add the .active class with JS), and when you move the mouse over it (hover) */
.accordian-active, .accordion:hover {
  background-color: rgba(67, 67, 67, 0.25);
}

.accordian-active {
  border: 1px solid #ba2871;
}

/* Style the accordion panel. Note: hidden by default */
.panel {
  padding: 1rem 1.5rem;
  background-color: rgba(67, 67, 67, 0.25);
  display: none;
  overflow: hidden;
}

.panel h5 {
  text-align: left;
  border-bottom: 1px solid #ebdfcf;
  width: fit-content;
  padding: 0 1rem;
  margin-bottom: 0.5rem;
}

ol, ul, li {
  font-size: 1.2rem;
}

.panel ol, .panel ul {
  padding: 0 1rem;
}

.panel li {
  margin: 0.5rem 0;
}

.nested-list {
  padding: 0 2rem;
}

.data-architecture-img {
  max-width: 50%;
  margin-top: 2rem;
  margin-left: 25%;
  margin-right: 25%;
  border-radius: 1rem;
  text-align: center;
}

/* CONTACT ME SECTION */

.contact-section {
  
  
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-section p, .contact-section a{
  line-height: 1.2rem;
  font-size: 1.5rem;
}

.contact-section a{
  color: #ba2871;
  text-align: center;
}

.contact-section a:hover{
  cursor: pointer;
}


/* LOADER  */
@-webkit-keyframes load4 {
  0%,
  100% {
    box-shadow: 0 -3em 0 0.2em, 2em -2em 0 0em, 3em 0 0 -1em, 2em 2em 0 -1em, 0 3em 0 -1em, -2em 2em 0 -1em, -3em 0 0 -1em, -2em -2em 0 0;
  }
  12.5% {
    box-shadow: 0 -3em 0 0, 2em -2em 0 0.2em, 3em 0 0 0, 2em 2em 0 -1em, 0 3em 0 -1em, -2em 2em 0 -1em, -3em 0 0 -1em, -2em -2em 0 -1em;
  }
  25% {
    box-shadow: 0 -3em 0 -0.5em, 2em -2em 0 0, 3em 0 0 0.2em, 2em 2em 0 0, 0 3em 0 -1em, -2em 2em 0 -1em, -3em 0 0 -1em, -2em -2em 0 -1em;
  }
  37.5% {
    box-shadow: 0 -3em 0 -1em, 2em -2em 0 -1em, 3em 0em 0 0, 2em 2em 0 0.2em, 0 3em 0 0em, -2em 2em 0 -1em, -3em 0em 0 -1em, -2em -2em 0 -1em;
  }
  50% {
    box-shadow: 0 -3em 0 -1em, 2em -2em 0 -1em, 3em 0 0 -1em, 2em 2em 0 0em, 0 3em 0 0.2em, -2em 2em 0 0, -3em 0em 0 -1em, -2em -2em 0 -1em;
  }
  62.5% {
    box-shadow: 0 -3em 0 -1em, 2em -2em 0 -1em, 3em 0 0 -1em, 2em 2em 0 -1em, 0 3em 0 0, -2em 2em 0 0.2em, -3em 0 0 0, -2em -2em 0 -1em;
  }
  75% {
    box-shadow: 0em -3em 0 -1em, 2em -2em 0 -1em, 3em 0em 0 -1em, 2em 2em 0 -1em, 0 3em 0 -1em, -2em 2em 0 0, -3em 0em 0 0.2em, -2em -2em 0 0;
  }
  87.5% {
    box-shadow: 0em -3em 0 0, 2em -2em 0 -1em, 3em 0 0 -1em, 2em 2em 0 -1em, 0 3em 0 -1em, -2em 2em 0 0, -3em 0em 0 0, -2em -2em 0 0.2em;
  }
}
@keyframes load4 {
  0%,
  100% {
    box-shadow: 0 -3em 0 0.2em, 2em -2em 0 0em, 3em 0 0 -1em, 2em 2em 0 -1em, 0 3em 0 -1em, -2em 2em 0 -1em, -3em 0 0 -1em, -2em -2em 0 0;
  }
  12.5% {
    box-shadow: 0 -3em 0 0, 2em -2em 0 0.2em, 3em 0 0 0, 2em 2em 0 -1em, 0 3em 0 -1em, -2em 2em 0 -1em, -3em 0 0 -1em, -2em -2em 0 -1em;
  }
  25% {
    box-shadow: 0 -3em 0 -0.5em, 2em -2em 0 0, 3em 0 0 0.2em, 2em 2em 0 0, 0 3em 0 -1em, -2em 2em 0 -1em, -3em 0 0 -1em, -2em -2em 0 -1em;
  }
  37.5% {
    box-shadow: 0 -3em 0 -1em, 2em -2em 0 -1em, 3em 0em 0 0, 2em 2em 0 0.2em, 0 3em 0 0em, -2em 2em 0 -1em, -3em 0em 0 -1em, -2em -2em 0 -1em;
  }
  50% {
    box-shadow: 0 -3em 0 -1em, 2em -2em 0 -1em, 3em 0 0 -1em, 2em 2em 0 0em, 0 3em 0 0.2em, -2em 2em 0 0, -3em 0em 0 -1em, -2em -2em 0 -1em;
  }
  62.5% {
    box-shadow: 0 -3em 0 -1em, 2em -2em 0 -1em, 3em 0 0 -1em, 2em 2em 0 -1em, 0 3em 0 0, -2em 2em 0 0.2em, -3em 0 0 0, -2em -2em 0 -1em;
  }
  75% {
    box-shadow: 0em -3em 0 -1em, 2em -2em 0 -1em, 3em 0em 0 -1em, 2em 2em 0 -1em, 0 3em 0 -1em, -2em 2em 0 0, -3em 0em 0 0.2em, -2em -2em 0 0;
  }
  87.5% {
    box-shadow: 0em -3em 0 0, 2em -2em 0 -1em, 3em 0 0 -1em, 2em 2em 0 -1em, 0 3em 0 -1em, -2em 2em 0 0, -3em 0em 0 0, -2em -2em 0 0.2em;
  }
}



/* ####################################
ANIMATIONS:
 - All css fade and reveal animations for 
#################################### */

.reveal {
  transform: translate(0, 10svh);
  opacity: 0;
  transition: 0.4s all ease;
}

.active {
  transform: translate(0, 0);
  opacity: 1;
}