/* Variables */
:root {
  --white: #f8f8ff;
  --orange: rgb(255, 136, 0);
  --purple: rgb(197, 8, 204);
  --blue: rgb(0, 76, 255);
}

::selection {
  color: rgb(0, 0, 0);
  background-color: var(--orange);
}

/* Universal Selectors */

* {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}

html {
  color: rgb(255, 255, 255);
  font-size: 62.5%;
}

body {
  background-image: url(../images/seamless-1.jpg);
  background-size: cover;
  line-height: 1.5;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen,
    Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
}

header {
  display: flex;
  justify-content: flex-end;
  background-image: url(../images/cool-background-2.png);
  background-size: cover;
  padding: 5rem;
  margin-bottom: 1rem;
}

nav ul li {
  display: inline;
  padding-left: 1rem;
  padding-right: 1rem;
}

nav ul li:hover {
  text-shadow: -3px 1px 5px #0077ff;
}

li a {
  color: var(--white);
  text-decoration: none;
  font-size: 3rem;
  font-weight: bold;
  font-family: sans-serif;
}

li a:hover {
  color: var(--purple);
}

h1 {
  font-size: 3.5rem;
}
h2 {
  font-size: 3rem;
}
h3 {
  font-size: 2.5rem;
}

p {
  font-size: 1.5rem;
}

footer {
  margin-top: 2rem;
  padding-bottom: 1rem;
  border-top: 5px double orchid;
  text-align: center;
  font-size: 2rem;
}

figure {
  border: 1px solid var(--white);
}

/* Class Selectors */

.profilePic {
  position: absolute;
  top: 0;
  margin-top: 2rem;
  margin-left: 2rem;
  left: 0;
  max-width: 25rem;
  border-radius: 5rem;
  border-width: 5px;
  border-style: double solid solid double;
  box-shadow: -5px -5px 0px 0px var(--purple);
  transition: max-width 1.5s;
}

.myName {
  font-size: 7rem;
  position: absolute;
  top: 0;
  margin-top: 2rem;
  margin-left: 20rem;
  left: 0;
  font-family: "Audiowide", cursive;
  background: -webkit-linear-gradient(rgb(0, 153, 255), var(--purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  transition: font-size 1.5s;
  transition: margin-left 1.5s;
  transition: margin-top 1.5s;
}

.contactInfo li,
.contactInfo li a {
  font-size: 1.7rem;
  font-weight: bold;
}

.aboutMe,
.projects,
.contactMe {
  display: flex;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.aboutMe h1,
.projects h1,
.contactMe h2 {
  border-right: 0.5rem solid var(--white);
  text-align: end;
  padding-right: 2rem;
}

.aboutMe-text,
.contactInfo {
  padding: 2rem;
}

.contactInfo {
  display: inline;
}

.project-boxes {
  display: flex;
  flex-direction: column;
  flex: 1 0 50%;
  padding: 2rem;
}

.project-boxes a {
  text-decoration: none;
}

.projHeader1 {
  color: var(--white);
  position: relative;
  text-shadow: -3px 1px 0px #480155;
  top: 26px;
  left: 14px;
  transition: all 0.5s ease-in-out;
}

.projHeader {
  color: var(--white);
  position: relative;
  text-shadow: -3px 1px 0px #480155;
  top: 35px;
  left: 20px;
  transition: all 0.5s ease-in-out;
}

.srcCode:hover,
.srcCodeSmall:hover {
  box-shadow: inset 0px 0px 8px rgb(102, 193, 236),
    0 0 15px rgba(102, 193, 236, 1);
}

.srcCode {
  color: var(--white);
  position: relative;
  text-shadow: -3px 1px 0px #480155;
  font-size: 12px;
  left: 20px;
  transition: all 0.5s ease-in-out;
  max-width: 145px;
  font-weight: bold;
}

.srcCodeSmallCont {
  display: flex;
}

.srcCodeSmall {
  color: var(--white);
  position: relative;
  text-shadow: -3px 1px 0px #480155;
  font-size: 10px;
  left: 20px;
  transition: all 0.5s ease-in-out;
}

.noteTake,
.weatherDashboard,
.techBlog,
.brew {
  min-height: 10rem;
  margin: 2rem 0 1rem 1rem;
}

.movieGrab:hover,
.noteTake:hover,
.brew:hover,
.weatherDashboard:hover,
.techBlog:hover {
  box-shadow: inset 0px 0px 8px rgba(232, 102, 236, 1),
    0 0 15px rgba(232, 102, 236, 1);
}

.movieGrab {
  background-image: url(../images/movieGrab.png);
  background-size: cover;
  min-height: 35rem;
  min-width: 260px;
  margin: 1rem;
  flex: 1 0 100%;
}

.noteTake {
  background-image: url(../images/noteTake.png);
  background-size: cover;
}

.brew {
  background-image: url(../images/brew2.png);
  background-size: cover;
}

.weatherDashboard {
  background-image: url(../images/weatherDash.png);
  background-size: cover;
}

.techBlog {
  background-image: url(../images/techBlog.png);
  background-size: cover;
}

.project-boxes-lower {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
}

.project-boxes-lower a {
  flex: 0 0 47%;
}

/*---Media Queries--- */

@media screen and (max-width: 1154px) {
  .profilePic {
    max-width: 15rem;
  }
}

@media screen and (max-width: 1315px) {
  .myName {
    font-size: 5rem;
    margin-top: 8rem;
    margin-left: 22rem;
  }
}

@media screen and (max-width: 992px) {
  .project-boxes-lower a {
    flex: 0 0 100%;
    min-width: 100%;
  }
}

@media screen and (max-width: 695px) {
  nav ul li {
    display: inline;
  }
  li a {
    font-size: 2.5rem;
  }
}

@media screen and (max-width: 645px) {
  .myName {
    font-size: 4rem;
  }
}

@media screen and (max-width: 625px) {
  .myName {
    font-size: 3rem;
    margin-top: 17rem;
    margin-left: 1rem;
    background: -webkit-linear-gradient(rgb(0, 153, 255), rgb(94, 1, 110));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
  }
  nav ul li {
    display: block;
  }
  li a {
    font-size: 2.5rem;
  }
}

@media screen and (max-width: 425px) {
  .myName {
    font-size: 3rem;
    margin-top: 17rem;
    margin-left: 1rem;
    background: -webkit-linear-gradient(rgb(0, 153, 255), rgb(94, 1, 110));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
  }
  nav ul li {
    display: block;
  }
  li a {
    font-size: 2.5rem;
  }
}

@media screen and (max-width: 320px) {
  .myName {
    font-size: 2rem;
    margin-top: 11rem;
    margin-left: 20rem;
    background: -webkit-linear-gradient(rgb(0, 153, 255), rgb(94, 1, 110));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
  }
  nav ul li {
    display: block;
  }
  li a {
    font-size: 1.5rem;
  }
  .aboutMe h1,
  .projects h1,
  .contactMe h2 {
    margin-left: 10px;
  }
}

@media screen and (max-width: 375px) {
  .aboutMe h1,
  .projects h1,
  .contactMe h2 {
    margin-left: 10px;
  }
}
@media screen and (max-width: 425px) {
  .aboutMe h1,
  .projects h1,
  .contactMe h2 {
    margin-left: 10px;
  }
}

@media screen and (min-width: 425px) {
  .aboutMe h1,
  .projects h1,
  .contactMe h2 {
    flex: 0 0 35%;
    max-width: 35%;
  }
  .aboutMe-text {
    flex: 0 0 50%;
    max-width: 50%;
  }
}

@media screen and (min-width: 768px) {
  .aboutMe h1,
  .projects h1,
  .contactMe h2 {
    flex: 0 0 50%;
    /* max-width: 50%; */
  }
  .aboutMe-text {
    flex: 0 0 50%;
    max-width: 50%;
  }
}

@media screen and (min-width: 992px) {
  .aboutMe h1,
  .projects h1,
  .contactMe h2 {
    flex: 0 0 40%;
    max-width: 40%;
  }
  .aboutMe-text {
    flex: 0 0 50%;
    max-width: 50%;
  }
}
