/*Text styling*/

html {
  font-size: 62.5%;
  line-height: 1.5;
  color: #121943;
  background-color: #FFFFFF;
  width: 100%;
  overflow-x: hidden;
  scroll-behavior: smooth;
}



h1 {
  font-family: "Raleway", sans;
	font-size: 6rem;
  text-align: center;
  text-overflow: wrap;
  line-height: 1.5;
  font-weight: 700;
}

h2 {
  font-family: "Raleway", sans;
  font-size: 4.236rem;
  text-align: left;
  text-overflow: wrap;
  line-height: 1.5;
  font-weight: 700;
}

h3 {
  font-family: "Raleway", sans;
  font-size: 2.618rem;
  text-align: left;
  text-overflow: wrap;
  line-height: 1.5; 
}

p {
  font-family: "Work Sans", sans-serif;
  font-size: 1.618rem;
  text-overflow: wrap;
  line-height: 1.5;
  }

li {
  font-family: "Work Sans", sans-serif;
  font-size: 1.618rem;
  text-overflow: wrap;
  line-height: 1.5;
  color: #121b52;
}

mark {
  background-color: #fffccf;
  padding: 0 1% 0 1%;
}

@media screen and (max-width: 700px){
  html {
      font-size: 50%;
  }
}

/*page masrgins*/
.home {
  display: flex;
  flex-direction: column;
  width: 40%;
}

@media screen and (max-width: 900px) {
  .home {
    width: 95%;
  }  
}

.cover {
  object-fit: cover;
}

/*Button styling beepbopboop*/
.button {
  display: block;
  color: white;
  padding: 12px 24px;
  text-align: center;
  text-decoration: none;
  font-weight: 500;
  font-size: 16px;
  border-radius: 500px;
  font-family: "Work Sans", sans-serif;
  transition-duration: 0.4s;
}

.primary-button-fill {
  background-color: #AB82FC;
  border: 2px solid #121943;
  margin-right: auto;
  margin-left: auto;
  color: #121943;
}

.primary-button-fill:hover {
  background-color: #c2a5fc;
}

.secondary-button-fill {
  background-color: #7f37d1;
}

.secondary-button-fill:hover {
  background-color: #9642f4;
}

.primary-button-ghost {
  color: #9642f4;
  border: 2px solid #9642f4;
  background-color: #ffffff;
}

.secondary-button-ghost {
  color: #121943;
  border: 2px solid #121943;
  background-color: #ffffff;
}

.secondary-button-ghost:hover {
  border: 2px solid #040c3a;
  color: #040c3a;
  background-color: #ffffff;

}

/*animated linkedin butt*/
.button span {
  cursor: pointer;
  display: inline-block;
  position: relative;
  transition: 0.5s;
}

.button span:after {
  content: '\279C';
  width: 1rem;
  position: absolute;
  opacity: 0;
  top: 0;
  right: -20px;
  transition: 0.5s;
}

.button:hover span {
  padding-right: 25px;
}

.button:hover span:after {
  opacity: 1;
  right: 0;
}

/*body needs styling for no discernible reason??????????????*/
body {
  margin: 0;
}



/*sections*/
section {
  padding-top: 4%;
  padding-bottom: 2%;
  margin: auto;
  width: 60%;
}

@media screen and (max-width: 850px) {
  section {
    width: 90%;
  }
}

.case-study-section {
  padding-top: 10%;
  padding-bottom: 2%;
  margin-left: 20%;
  margin-right: 20%;
  width: 60%;
}

@media screen and (max-width: 800px){
  .case-study-section {
    width: 90%;
    margin: auto;
    padding-top: 20%;
  }
}


/*case-study-grid*/
.case-study {
  display: grid;
  margin: auto auto 8% auto;
  align-items: center;
  width: 40%;
}

/*.left {
  grid-column-start: 1;
  grid-column-end: 1;
}

.right {
  grid-column-start: 2;
  grid-column-end: 3;
}*/

/*animated mockup thumbnails*/
.zoom img {
  padding: 5px;
  transition: transform .2s;
  border: none;
}

.zoom img:hover {
transform: scale(105%);
  -webkit-transform:rotate(5deg);
  -moz-transform: rotate(5deg);
}

@media screen and (max-width: 500px){
  .zoom img {
    width: 30%;
  }
}

/*small cards*/
.card-grid-3 {
  display: grid;
	grid-template-columns: 1fr 1fr 1fr;
	gap: 2rem;
	margin-left: 20%;
  margin-right: 20%;
  align-items: center;
  justify-content: center;
  text-align: center;
}

@media screen and (max-width: 500px) {
  .card-grid-3{
  grid-template-columns: repeat(1, 1fr);
  margin-left: 5%;
  margin-right: 5%;
  }
}

.card-grid-3 > div {
  background: #FFFFFF;
  padding: 1.5rem;
  border: 2px solid #9642f4;
  border-radius: 12px;
  margin: auto auto auto auto;
  height: 100%;
  align-content: top;
  text-align: center;
}

.card-grid-4 {
  display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 2rem;
	margin-left: 20%;
  margin-right: 20%;
  align-items: center;
  justify-content: center;
  text-align: center;
}

@media screen and (max-width: 500px) {
  .card-grid-4 {
  grid-template-columns: repeat(1, 1fr);
  margin-left: 5%;
  margin-right: 5%;
  }
}

.card-grid-4 > div {
  background: #FFFFFF;
  padding: 1.5rem;
  border: 2px solid #9642f4;
  border-radius: 12px;
  margin: auto auto auto auto;
  height: 100%;
  align-content: top;
  text-align: center;
}

.card h3 {
  margin-bottom: 0.5rem;
  color:#121943;
  font-weight: 700;
  text-align: center !important;
}

.card p {
  margin-bottom: 0.5rem;
  color:#121943;
  line-height: 1.5;
  text-align: center;
}

.progress-container {
  width: 100%;
  height: 8px;
  background: #fef1e2;
}

.progress-bar {
  height: 8px;
  background:#c2a5fc;
  width: 0%;
}

#scrollUpButton {
  display: none;
  position: fixed;
  bottom: 20px;
  right: 30px;
  z-index: 9999;
  color: #121943;
  border: 2px solid #121943;
  background-color: #ffffff;
  padding: 12px 24px;
  text-align: center;
  text-decoration: none;
  font-weight: 500;
  font-size: 16px;
  border-radius: 500px;
  font-family: "Work Sans", sans-serif;
  transition-duration: 0.4s;
}

#scrollUpButton:hover {
  border: 2px solid #ffffff;
  color: #FFFFFF;
  background-color: #040c3a; 
}

/*responsive gallery*/
.galleryRow {
  display: flex;
  flex-wrap: wrap;
  padding: 0px 16px;
  width: 100%;
}

.column {
  flex: 30%;
  max-width: 35%;
  padding: 0px 16px;
}

.column img {
  margin-top: 30px;
  vertical-align: middle;
  width: 100%;
  border-radius: 12px;
  border: 1px solid #e4e4e4;
}

/* Responsive layout - makes a two column-layout instead of four columns */
@media screen and (max-width: 800px) {
  .column {
    flex: 50%;
    max-width: 50%;
  }
}

/* Responsive layout - makes the two columns stack on top of each other instead of next to each other */
@media screen and (max-width: 600px) {
  .column {
    flex: 100%;
    max-width: 100%;
  }
}
