:root {
  --primary-color: #1266CD;
  --primary-color-hover: #0d4992;
  --primary-color-transparent: rgba(18,102,205, 0.72);
  --secondary-color: #FBD54A
}

body {
  /* background: var(--primary-color); */
  background: linear-gradient(197deg, rgba(13,73,146,1) 5%, rgba(18,102,205,1) 47%, rgba(0,212,255,1) 100%);
}

.back-btn {
  position: absolute;
  top: 3%;
  left: 3%;
  color: #FFF;
  transition: all 0.5s ease-out;
}
.back-btn:hover {
  transition: all 0.5s ease-out;
  /* text-shadow: var(--secondary-color) 1px 0 10px; */
  text-shadow: 3px 0px 7px var(--secondary-color), 
	  -3px 0px 7px var(--secondary-color), 
	  0px 4px 7px var(--secondary-color);
}

/* Website Text Animation */
.website {
  background-image: linear-gradient(
    to left,
    #000 50%,
    var(--primary-color),
    var(--primary-color) 50%
  );
  background-size: 200% 100%;
  background-position: 100%;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  transition: all 0.3s ease-in-out;
}
.website:hover {
  background-position: 0;
}
.website:hover::before {
  width: 100%;
}

/* Resume Buttons */
.resumes {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0 0.5rem 0;
}
.resumes .resume {
  padding: 0.5rem 0.8rem;
  border-radius: 25px;
  cursor: pointer;
  transition: all 0.5s ease-in-out;
}
.resumes .resume:hover,
.resumes .resume:focus {
  color: var(--primary-color);
  border-color: var(--primary-color);
  box-shadow: 0 0.5em 0.5em -0.4em var(--primary-color);
  transform: translateY(-0.175em);
  transition: all 0.15s ease-out;
} 

.resume-border-black {
  border: 2px solid black;
}

.resume-border-gray {
  border: 2px solid #ececec;
}

/* Resume IFrame */
.resume-container {
  position: absolute;
  top: 0;
  display: none;
}

.resume-container img {
  position: absolute;
  top: 2%;
  left: 2%;
  max-width: 50px;
  cursor: pointer;
}

.resume-frame {
  min-width: 100vw;
  min-height: 100vh;
}

.grid-wrapper {
  padding: 1rem;
}

/* Personal Gallery */
#gallery {
  background: #C6D4E9;
  position: relative;
  margin-top: 8rem;
}


#gallery::before {
 background: url("/images/icons/curve.svg") center bottom no-repeat;
 bottom: 100%;
 content: '';
 height: 103px;
 position: absolute;
 width: 100%;
}

#gallery-title {
  font-size: max(2.5vw, 16px);
  width: 100%;
  text-align: center;
  font-weight: bold;
  margin-bottom: 0.8rem;
}

.grid-wrapper > div {
	display: flex;
	justify-content: center;
	align-items: center;
  cursor: pointer;
}

.grid-wrapper > div:hover {
  padding: 0.2rem;
  transition: all ease-out 0.2s;
  opacity: 0.5;
}

.grid-wrapper > div > img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 5px;
}

.grid-wrapper {
	display: grid;
	grid-gap: 10px;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	grid-auto-rows: 200px;
	grid-auto-flow: dense;
}
.grid-wrapper .wide {
	grid-column: span 2;
}
.grid-wrapper .tall {
	grid-row: span 2;
}
.grid-wrapper .big {
	grid-column: span 2;
	grid-row: span 2;
}


@media (max-width: 420px) {
  .resumes {
    flex-direction: column;
  }

  .resumes .resume {
    margin: 0.5rem 0;
  }
}