body, html {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

.common-flex {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.home {
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(4, 25%);
    grid-template-rows: 3em repeat(10, 11em);
    font-family: 'Verdana', sans-serif;
    color: #000000;
    background-color: #DEE2E6;
    font-size: 2em;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    overflow: hidden;
}

.title {
  grid-row: 1;
    font-size: 1em;
    text-decoration: underline #000000;
    font-family: 'Trebuchet MS', sans-serif;
    margin: 0;
    padding: 0;
}

.project-page {
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(4, 25%);
    grid-template-rows: 3em repeat(2, 15em);
    font-family: 'Verdana', sans-serif;
    color: #000000;
    background-color: #DEE2E6;
    font-size: 2em;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    overflow: hidden;
}

.project-1-background {
    background-color: #ADB5BD;
    z-index: 10;
    display: grid; 
    margin: 7%;
    position: relative;
}

.project-description {
    grid-row: 2;
    font-size: .8em;
}

.project-image{
    width: 70%;
    height: 100%;
    grid-row: 3;
    object-fit: cover;
    margin-left: auto;
    margin-right: auto;
    border: 2px solid rgba(255, 255, 255, 0.79);
    border-radius: 16px;
    outline: 4px solid #000000;
    filter: grayscale(100%);
}

.project-button:hover ~ .project-image {
  filter: grayscale(0%);
  transition: 1s;
}

.project-button:hover ~ .title {
  color: #001eff;
  transition: 1s;
  text-shadow: #00c3ff 0px 0px 5px;
}

.project-button {
  grid-row: 4;
  margin: auto;
  position: relative;
  padding: .3em .5em;
  outline: none;
  border: 2px solid #001eff;
  background: #343A40;
  color: #ffffff;
  letter-spacing: 2px;
  font-size: 1em;
  overflow: hidden;
  transition: 0.2s;
  cursor: pointer;
  text-decoration: none;
 }
 
 .project-button:hover {
  box-shadow: 0 0 10px #001eff, 0 0 25px #001297, 0 0 50px #001eff;
  transition-delay: 0.6s;
 }
 
 .project-button span {
  position: absolute;
 }
 
 .project-button span:nth-child(1) {
  top: 0;
  left: -100%;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, transparent, #00c3ff);
 }
 
 .project-button:hover span:nth-child(1) {
  left: 100%;
  transition: 0.7s;
 }
 
 .project-button span:nth-child(3) {
  bottom: 0;
  right: -100%;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, transparent, #001eff);
 }
 
 .project-button:hover span:nth-child(3) {
  right: 100%;
  transition: 0.7s;
  transition-delay: 0.35s;
 }
 
 .project-button span:nth-child(2) {
  top: -100%;
  right: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, transparent, #00c3ff);
 }
 
 .project-button:hover span:nth-child(2) {
  top: 100%;
  transition: 0.7s;
  transition-delay: 0.17s;
 }
 
 .project-button span:nth-child(4) {
  bottom: -100%;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(360deg, transparent, #001eff);
 }
 
 .project-button:hover span:nth-child(4) {
  bottom: 100%;
  transition: 0.7s;
  transition-delay: .8s;
 }
 
 .project-button:active {
  background: #00c3ff;
  background: linear-gradient(to top right, #00c3ff, #001eff);
  box-shadow: 0 0 8px #00c3ff, 0 0 8px #001eff, 0 0 8px #00c3ff;
  transition: 0.1s;
 }
 
 .project-button:active span:nth-child(1) 
 span:nth-child(2) 
 span:nth-child(2) 
 span:nth-child(2) {
  transition: none;
  transition-delay: none;
 }

.quote {
    padding: 10%;
    padding-top: 20%;
}

.navbar {
  grid-column: 1 / -1;
  grid-row: 1;
  width: 100%;
  justify-content: space-between;
  z-index: 10;
}

.shadow{
  box-shadow:     
  -1px 1px 0px #495057,
  -2px 2px 0px #495057,
  -3px 3px 0px #495057,
  -4px 4px 0px #495057,
  -5px 5px 0px #495057,
  -6px 6px 0px #495057,
  -7px 7px 5px #000000,
  -8px 8px 5px #050505,
  -9px 9px 5px #0a0a0a,
  -10px 10px 5px #0f0f0f,
  -11px 11px 5px #141414,
  -12px 12px 5px #191919,
  -13px 13px 5px #1e1e1e,
  -14px 14px 5px #232323,
  -15px 15px 5px #282828,
  -16px 16px 5px #2d2d2d,
  -17px 17px 5px #323232,
  -18px 18px 5px #373737,
  -19px 19px 5px #3c3c3c,
  -20px 20px 5px #414141;
}

links {
    padding-right: 5%; 
}

links a {
    color: #000000;
    text-decoration: none;
    padding: .1em .2em;
    box-sizing: border-box;
    border: .4vmin solid transparent; 
}

name {
  color: #ffffff;
  padding-left: 5%; 
  text-shadow: 
  -1px 1px 1px #343A40,
  -2px 2px 1px #343A40,
  -3px 3px 1px #343A40,
  -4px 4px 1px #343A40,
  -5px 5px 5px #000000,
  -10px 10px 10px #313131,
  -20px 20px 20px #797979;
  font-size: 2em;
  white-space: nowrap;
}


links a.active {
    color: #00397A;
    border-color: #00397A; 
}

.welcome.quote {
    grid-column: 1 / 3; 
    grid-row: 2 / 4; 
    font-size: 1.5em;
    background-color: #ADB5BD;
    flex-direction: column;
    padding-top: 0px;
    z-index: 9;
}

.welcome w{
font-size: 2em;
}


.welcome-gif {
    grid-column: 3 / 5; 
    grid-row: 2 / 4; 
    background-color: #ADB5BD;
    z-index: 9;
}

.project.quote {
    grid-column: 3 / 5; 
    grid-row: 4; 
    font-size: 1.5em;
    background-color: #6C757D;
    z-index: 8;
}

.project-gif {
    grid-column: 1 / 3; 
    grid-row: 4 / 6; 
    background-color: #6C757D;
    z-index: 8;
}

.project-button-background {
    grid-column: 3 / 5; 
    grid-row: 5; 
    background-color: #6C757D;
    display: grid; 
    z-index: 8;
}

.button {
    display: flex;
    font-size: 2em;
    margin: auto;
    text-align: center;
    background-image: linear-gradient(144deg,#9A05F0, #0509F0,#057AF0);
    border: 0;
    border-radius: 30px;
    box-shadow: rgba(151, 65, 252, 0.2) 0 15px 30px -5px;
    box-sizing: border-box;
    color: #DEE2E6;
    text-decoration: none;
    user-select: none;
    -webkit-user-select: none;
    touch-action: manipulation;
    white-space: nowrap;
    cursor: pointer;
    line-height: 1em;
    padding: 3px;
}

.button:active{
  box-shadow: rgba(151, 65, 252, 0.2) 0 8px 20px -5px;
  transform: translateY(4px);
}

.button:hover {
  outline: 0;
}

.button span {
  background-color: rgb(5, 6, 45);
  padding: .2em .3em;
  border-radius: 30px;
  width: 100%;
  height: 100%;
  transition: 300ms;
}

.button:hover span {
  background: none;
}

@media (min-width: 768px) {
  .button {
    font-size: 2em;
    min-width: 1em;
  }
}

@media (min-width: 768px) {
  .button {
    font-size: 2em;
    min-width: 1em;
  }
  .contact-button{
    font-size: 1.3em;
}
}

.resume.quote {
    grid-column: 1 / 3; 
    grid-row: 6; 
    font-size: 1.5em;
    background-color: #CED4DA;
    z-index: 7;
}

.resume-gif {
    grid-column: 3 / 5; 
    grid-row: 6 / 8; 
    background-color: #CED4DA;
    z-index: 7;
}

.resume-button-background {
    grid-column: 1 / 3; 
    grid-row: 7; 
    background-color: #CED4DA;
    display: grid; 
    z-index: 7;
}

.about.quote {
  grid-column: 3 / 5; 
  grid-row: 8; 
  font-size: 1.5em;
  background-color: #ADB5BD;
  z-index: 6;
}

.about-gif {
  grid-column: 1 / 3; 
  grid-row: 8 / 10; 
  background-color: #ADB5BD;
  z-index: 6;
}

.about-button-background {
  grid-column: 3 / 5; 
  grid-row: 9; 
  background-color: #ADB5BD;
  display: grid; 
  z-index: 6;
}

.contact.quote {
  grid-column: 1 / 3; 
  grid-row: 10; 
  font-size: 1.5em;
  background-color: #6C757D;
  z-index: 5;
}

.contact-gif {
  grid-column: 3 / 5; 
  grid-row: 10 / 12; 
  background-color: #6C757D;
  z-index: 5;
}

.contact-button-background {
  grid-column: 1 / 3; 
  grid-row: 11; 
  background-color: #6C757D;
  display: grid; 
  z-index: 5;
}

.resume-page {
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-rows: 3em min-content;
  font-family: 'Verdana', sans-serif;
  color: #000000;
  background-color: #DEE2E6;
  font-size: 2em;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  overflow: hidden;
}

.resume-pdf {
  height: 37em;
  width: 100%;
}

.about-page {
  font-size: 2em;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 33.33%);
  grid-template-rows: 3em 15em min-content;
  font-family: 'Verdana', sans-serif;
  color: #000000;
  background-color: #DEE2E6;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.about-page h1 {
  font-size: 1.5em;
  text-decoration: underline #000000;  
}

.about-page p {
  padding-left: 5%;
  padding-right: 5%;
  font-size: .6em;
}


.about-pictures {
  z-index: 6;
  grid-row: 2;
  grid-column: 1 / -1;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  width: 100%;
}

.about-pic-1 {
  width: 100%;
  height: 100%;
  object-fit: cover;
  grid-column: 1;
  grid-row: 2;
}

.about-pic-2 {
  width: 100%;
  height: 100%;
  object-fit: cover;
  grid-column: 2;
  border-left: #000000 2px solid;
  border-right: #000000 2px solid;
  grid-row: 2;
}

.about-pic-3 {
  width: 100%;
  height: 100%;
  object-fit: cover;
  grid-column: 3;
  grid-row: 2;
}

.about-history{
  z-index: 5;
  background-color: #CED4DA;
  grid-row: 3;
  grid-column: 2;
  justify-content: center;
  align-items: center;
  text-align: center;
  border-left: #000000 2px solid;
  border-right: #000000 2px solid;
  font-size: 1em;
}

.about-hobbies{
  z-index: 5;
  background-color: #ADB5BD;
  grid-row: 3;
  grid-column: 1;
  justify-content: center;
  align-items: center;
  text-align: center;
  font-size: 1em;
}

.about-goals{
  z-index: 5;
  background-color: #ADB5BD;
  grid-row: 3;
  grid-column: 3;
  justify-content: center;
  align-items: center;
  text-align: center;
  font-size: 1em;
}

.goal {
  font-size: 1em;
}

.hobbie {
  font-size: .6em;
}

.contact-page {
  font-size: 2em;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 33.33%);
  grid-template-rows: 3em repeat(2, 13em);
  font-family: 'Verdana', sans-serif;
  color: #000000;
  background-color: #DEE2E6;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}



.contact-block p {
  background: rgb(2,0,36);
  background: linear-gradient(90deg, rgba(0,77,184,1) 0%, rgba(0,28,168,1) 50%, rgba(10,0,147,1) 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -moz-background-clip: text;
  -webkit-text-fill-color: transparent; 
  -moz-text-fill-color: transparent;
  margin: 0;
}

.contact-block {
  background-color: #ADB5BD;
  display: grid; 
  z-index: 10;
  margin: 7%;
  position: relative;
  justify-content: center;
  align-items: center;
  text-align: center;
  
}

.contact-page h1 {
  text-decoration: underline #000000;
  margin: 0;
  padding: 0;
  font-size: 1.7em;
}

.small-contact{
  font-size: .6em;
}

.large-contact{
  font-size: 1em;
}