/********* Fonts **********/
@import url("https://fonts.googleapis.com/css?family=Oxygen:300,400,500,600,700,9000&display=swap");
@import url("https://fonts.googleapis.com/css?family=Roboto:300,400,500,600,700,9000&display=swap");

@import url("https://fonts.googleapis.com/css?family=Syncopate");

:root {
  --content-font-size: 1.2vw;
  /* --main-color:#7f6b97;  */
  --main-color: #6f4f94;
}
* {
	box-sizing: border-box;
}
/****** Main Styling ******/

body {
  font-family: "Oxygen", sans-serif;
  font-size: 16px;
  margin: 0;
  padding: 0;
  background-color: rgb(22, 22, 22);
  color: #fff;
}

p {
  margin: 8px 0 20px 0;
  font-size: clamp(14px, calc(var(--content-font-size) * 1.5), 18px);
}

.container p {
  text-align: center;
  padding: 0;
}

h1 {
  text-align: center;
  font-size: clamp(24px, calc(var(--content-font-size) * 3.5), 40px);
  margin: 0px 0px 0px 0px;
  padding: 45px 0px 50px 0px;
}

.general-content {
	display: flex;
	flex-direction: row;
	justify-content: center;
	align-items: center;
	text-align: center;
	margin: auto;
	max-width: 1200px;
}

.view-link {
  border: none;
  display: inline-block;
  color: white;
  background: var(--main-color);
  padding: 7px 25px 9px 25px;
  font-family: "Oxygen", sans-serif;
  font-size: clamp(20px, calc(8px + 1vw), 30px);
  font-weight: 700;
  text-decoration: none;
  line-height: 1em;
  letter-spacing: 0.5px;
  margin: 10px;
  border-radius: 100px;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.15);
  transition: color 0.3s, background-color 0.3s;
}

.view-button:hover {
  background-color: rgb(230, 170, 59);
}

/********* HEADER **********/

header {
  position: fixed;
  width: 100%;
  transition: background-color 0.5s;
  z-index: 100;
}
.header-active {
  background-color: rgba(1, 1, 1, 0.3);
  background-color: #3c225875;
  backdrop-filter: blur(10px);
}
.header-links {
  list-style-type: none;
  float: right;
  height: 100%;
  margin: 0px 0px 0px 0px;
  padding: 0px 125px 0px 0px;
  border-bottom: 1px solid white;
  transition: border-bottom 0.5s;
}
.header-links li {
  display: inline-block;
  height: 100%;
  margin: 0px 15px 0px 15px;
}
.header-button {
  height: 100%;
  font-family: "Roboto";
  font-weight: 900;
  font-size: clamp(17px, calc(8px + 1.3vw), 22px);
  background: none;
  border: none;
  color: white;
  padding: 7px 0px 7px 0px;
  transition: color 0.5s;
}
.header-button:focus {
  outline: 0;
}
.header-button:hover {
  color: #7f6b97;

  cursor: pointer;
}

/****** Logo Div Styling ******/

img {
  margin: 0 auto;
  display: block;
}

span {
  font-weight: 500;
}

.main {
  margin: 0;
  padding: 0;
  overflow: hidden;
  position: relative;
}

/*********** COVER SECTION ************/

.cover-section {
  width: 100%;
  min-height: 95vh;
  background: url("dustin-lee-19666.jpg") center;
  background-size: cover;
  clip-path: polygon(0% 0%, 100% 0%, 100% 85%, 0% 100%, 0% 75%);
  position: relative;
  z-index: 1;
}
.cover-section-back {
  width: 100%;
  min-height: 95vh;
  background-color: black;
  background-size: cover;
  clip-path: polygon(0% 0%, 100% 0%, 100% 85%, 0% 100%, 0% 75%);
  position: absolute;
}
.cover-section-pop {
  position: absolute;
  background: orange;
  height: 91vh;
  width: 100%;
  z-index: -1;
}
.cover-section-overlay {
  width: 100%;
  min-height: 95vh;
  background-color: rgba(1, 1, 1, 0.7);
  z-index: 2;
  text-align: center;
  display: table;
  position: relative;
}
.cover-content-container {
  display: table-cell;
  text-align: center;
  vertical-align: middle;
  position: relative;
}
.cover-text {
  margin: 0px 0px 0px 0px;
  width: 100%;
  display: inline-block;
}
.cover-text p {
  padding: 0;
  display: inline-block;
  width: 80%;
}
.cover-section-radial {
  height: 100vh;
  width: 100%;
  position: absolute;
  background: radial-gradient(
    rgba(0, 0, 0, 1),
    rgba(0, 0, 0, 1),
    rgba(0, 0, 0, 0),
    rgba(0, 0, 0, 0)
  );
  z-index: 0;
}

.coverline1 {
  font-family: "Syncopate", sans-serif;
  font-size: 6vw;
  color: white;
  letter-spacing: -0.2vw;
  animation: coverFromLeft 1s ease-out;
}
.coverline1 span {
  color: #6c538a;
  font-size: 6vw;
  font-weight: 900;
}
.coverline2 {
  font-family: "Syncopate", sans-serif;
  font-size: 4.7vw;
  color: #cfcfcf;
  letter-spacing: -0.2vw;
  animation: coverFromLeft 1s ease-out;
}
.coverline3 {
	font-family: 'Roboto', sans-serif;
  font-size: 10.5vw;
  color: #ffc800;
  letter-spacing: -1vw;
  margin-top: -2%;
  padding: 0;
  animation: coverFromRight 1s ease-out;
}
/********* PROFESSIONAL WORK SECTION **********/
.section-description {
  width: 700px;
  margin: auto auto 100px;
}
.prof-work {
  display: flex;
  flex-wrap: wrap;
  gap: 50px;
  padding: 0 20px;
}
.prof-work-wrapper {
  display: flex;
  width: 100%;
  gap: 50px;
  margin-bottom: 100px;
}
.personal-projects-section {
  border-top: 1px solid #ffa5003d;
}
.prof-work-wrapper:nth-child(even) {
  flex-direction: row-reverse;
}
.prof-work-wrapper.half-page {
  width: calc(50% - 25px);
  flex-direction: column;
}

.prof-work-wrapper .preview-img {
  width: 100%;
  max-width: 600px;
  margin: auto;
  border: 1px solid rgb(14, 9, 0);
  box-shadow: 4px 7px 14px rgb(0 0 0 / 52%);
   /* #8d8983b7; */
  border-radius: 15px;
  transition: box-shadow 0.3s;
}
.prof-work-wrapper.half-page .preview-img {
  height: 325px;
  width: auto;
}
.prof-work-wrapper .prof-preview {
  position: relative;
}

.prof-work-wrapper .view-link {
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.25);
}
.prof-work-wrapper a:hover .preview-img{
  box-shadow: 4px 7px 14px #ffa5002e;
}
.prof-work-description p span {
  font-weight: 700;
}
.prof-preview .view-link {
  position: absolute;
  bottom: -16px;
  left: 50%;
  right: unset;
  margin: 0;
  transform: translateX(-50%);
}
.prof-work-wrapper a:hover .view-link, .view-link:hover{
  background-color: rgb(230, 170, 59);
}
.prof-work-wrapper p {
  color: #c2c2c2;
  line-height: 1.5em;
  width: 600px;
  max-width: 100%;
  margin: auto;
}
/********* SKILLS SECTION **********/
.skills-section {
  width: 100%;
	max-width: 750px;
	margin: auto;
  /* background-color: white; */
  text-align: center;
  border-top: 1px solid #ffa5003d;
  margin-top: 50px;
}
.skills-section-title {
  text-align: center;
  display: inline-block;
  margin: 25px 0px 0px 0px;
  position: relative;
}
.skills-section-title hr {
  min-width: 530px;
  display: inline-block;
  margin: 0px 0px 5px 0px;
  border: 1px solid darkred;
  height: -1px;
  background-color: darkred;
  border-style: solid;
  position: absolute;
  top: 28%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
}
.skills-title {
  background-color: #7c0b00;
  margin: 0px 0px 25px 0px;
  padding: 3px 20px 3px 20px;
  display: inline-block;
  text-align: center;
  z-index: 3;
  position: relative;
}
.skills-title h1 {
  font-family: Tahoma;
  margin: 0;
  padding: 0;
  color: white;
  font-size: 16px;
}
.active {
  color: white;
}
.active:hover {
  color: #ffd587;
}
.activeBorder {
  border-bottom: none;
}
.skills-list {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
	max-width: 750px;
  min-height: 300px;
}
.skill {
  display: inline-block;
  /* width: calc(var(--content-font-size)*6); */
  margin: 25px 15px 25px 15px;
  text-align: center;
  position: relative;
}
.skills-image {
  /* width: 80px; */
  /* height: 80px; */
  width: 80px;
  height: 80px;
  display: block;
  position: relative;
  margin: auto;
}
.skill img {
  height: 100%;
  max-width: 80px;
  display: inline-block;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.skills-name {
  display: inline-block;
  font-family: Arial;
  font-size: 15px;
  padding: 15px 0px 0px 0px;
}
.about-section {
  width: 100%;
  /* background-color: white; */
  text-align: center;
  padding-bottom: 30px;
}
.about-info {
  display: inline-block;
  vertical-align: top;
  text-align: left;
	width: 600px;
	max-width: 100%;
}
.about-description {
  line-height: 1.8;
  color: #acacac;
  display: inline;
}
.aboutImage {
  width: 300px;
  float: left;
  clip: circle(50% at 50% 50%);
}
.about-info img {
  clip: circle(50% at 50% 50%);
  float: left;
  border-radius: 50%;
}
.portrait {
  shape-outside: circle(43% at 50% 50%);
  float: left;
  border-radius: 50%;
  margin-right: 65px;
  margin-bottom: 15px;
  width: 225px;
  border: 1px solid purple;
  box-shadow: 4px 7px 14px rgb(0 0 0 / 52%);

}

/******************************** WORK SECTION  ***********************/
.work-section {
  width: 100%;
  max-width: 1400px;
  margin: auto;
  /* background-color: white; */
  text-align: center;
  display: flex;
  flex-direction: column;
}
.work {
  text-align: center;
  display: flex;
  padding-bottom: 80px;
  margin: 25px 5vw 0px 5vw;
}

.work-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  width: 100%;
  vertical-align: top;
  text-align: left;
}
.work:nth-child(odd) .work-wrapper{
  justify-content: flex-end;
}

.work-description {
  width: calc(50% - 20px);
}

.site-preview {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: calc(50% - 20px);
}

.prof-preview .example-1 {
  position: absolute;
  bottom: -20px;
  right: 30px;
  z-index: 2;
  transform: rotate(-10deg);
  width: 200px;
}
.prof-preview .example-2 {
  position: absolute;
  bottom: -20px;
  right: -60px;
  z-index: 0;
  width: 170px;

}
.work-technologies {
  /* margin-top: -150px; */
  /* width: calc(50% - 20px); */
}

.work-description p {
  color: #c2c2c2;
}
.technologies {
  margin: 25px 0px 0px 0px;
  color: #fff;
  font-size: clamp(22px, calc(var(--content-font-size) * 1.5, 32px));
}
.technology-list {
  display: block;
  color: #c2c2c2;
}

/************* CONTACT SECTION *************/

.contact-section {
  width: 100%;
  min-height: 50vh;
  padding: 50px 0;
  margin: 0;
	gap: 100px;
}
.contact-form {
	display: flex;
	justify-content: center;
	align-items: center;
	outline: none;
	border: none;
	width: 300px;
	max-width: 100%;
	margin: 50px 20px 0 20px;
}

form {
  display: flex;
  width: 100%;
  margin: 0 20px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.contact-content {
  display: flex;
  justify-content: space-around;
  text-align: center;
}
input, textarea {
  display: block;
  padding: 10px 14px;
  width: 100%;
  border-top: none;
  border-right: none;
  border-left: none;
  border-bottom: 1px solid var(--main-color );
  font-family: "Oxygen", sans-serif;
  font-size: 15px;
  caret-color: #c2c2c2;
  background-color: rgb(31, 30, 31);
  color: white;

}

input {
  display: block;
  margin: 25px 0px 0px 0px;
}
input::placeholder, textarea::placeholder {
  color: #c2c2c2;
  
}
input:focus, textarea:focus {
  outline: none;
  border-bottom-color: rgb(230, 170, 59);
}
textarea {
  resize: none;
  height: 150px;
  margin: 25px 0px 15px 0px;
}
.contact-content-space {
  display: inline-block;
  min-height: 30px;
  width: 20%;
}

.contact-links {
  display: inline-block;
  vertical-align: top;
  margin: 50px 20px 0px 20px;
  text-align: left;
}
.email-title {
  font-family: "Oxygen", sans-serif;
  color:  rgb(230, 170, 59);
    /* #ad5019; */
  font-size: 20px;
  padding-bottom: 10px;
}

.contact-submit-button-container {
  display: block;
  text-align: right;
}
.contact-submit-button {
  padding: 5px 10px 5px 10px;
  display: inline-block;
  margin: 15px 0px 0px 0px;
  background: rgb(230, 170, 59);
  border: 1px solid black;
  color: white;
  border-radius: 20px;
  padding: 10px 20px;
  transition: background-color 0.3s, font-weight 0.3s;
}
.contact-submit-button:hover {
  background-color: var(--main-color);
  color: white;
  cursor: pointer;
  font-weight: 500;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.15);
}

/********** COPYRIGHT ********/

.copyright {
  height: 50px;
  width: 100%;
  background-color: var(--main-color);
  text-align: center;
}
.copyright-text {
  color: white;
  padding: 12px 0px 0px 10px;
}

@media (max-width: 1300px) {
  :root {
    --content-font-size: 1.2vw;
  }
  .work-technologies {
    margin-top: -100px;
  }
  .prof-work-wrapper {
    flex-direction: column;
  }
  .prof-work-wrapper.half-page {
    width: 100%;
  }
  .prof-work-wrapper:nth-child(even) {
    flex-direction: column;
  }
  .prof-work-wrapper .preview-img, .prof-work-wrapper.half-page .preview-img {
    width: 550px;
    height: auto;
    max-width: 100%;
  }
  .site-preview .example-1 {
    bottom: -90px;
  }
  .site-preview .example-2 {
    bottom: -75px;
  }
  .view-link {
    font-size: 16px;
    padding-bottom: 7px;
  }
}

@media (max-width: 1100px) {
  .work-technologies {
    margin-top: -50px;
  }
}

@media (max-width: 1000px) {
  :root {
    --content-font-size: 1.5vw;
  }
  .work-wrapper {
    width: 100%;
    max-width: 500px;
    padding: 20px;
    margin: auto;
  }
  .work-description, .work-technologies, .site-preview {
    width: 100%;
    /* max-width: 400px */
  }
  .work.worksheet-creator .work-technologies {
    margin-top: 70px;
  }
  .work.class-manager .work-wrapper > div {
    order: 2;
  }
  .work.class-manager .work-wrapper .work-description {
    order: 1;
  }
}

@media (max-width: 800px) {
  /******* BASE *******/
  :root {
    --content-font-size: 2.4vw;
  }
  .view-link-container {
    display: flex;
    justify-content: center;
    align-items: center;
  }
  .coverline1 {
    font-size: 7vw;
  }
  .coverline1 span {
    font-size: 7.5vw;
    font-weight: 900;
  }
  .coverline2 {
    font-size: 12.5vw;
  }

  /******* HEADER *******/

  .header-links {
    padding: 0 20px 0 0;
  }
  .header-links li {
    margin: 0px 5px;
  }

  /******* WORK *******/

  .work {
    margin: 0;
    padding: 10px 0;
  }
  .phone-preview,
  .phone-preview-left {
    width: 15%;
  }

  /******* SKILLS *******/

  .technology-list {
    text-align: center;
  }
  .skill {
    margin: 25px 19px 25px 19px;
  }

  /********* ABOUT **********/

  .portrait {
    width: 175px;
  }
  .about-info {
    padding: 20px;
  }

	/********* CONTACT **********/
	.contact-content {
		flex-direction: column;
	}
}

@media (max-width: 550px) {
  .example-1, .example-2 {
    display: none;
  }
  .work.worksheet-creator .work-technologies {
    margin-top: -50px;
  }
}

@media (max-width: 450px) {
  .site-preview .cell-preview {
    width: 70px;
    margin-left: -45px;
    margin-bottom: -30px;
  }

  .work:nth-child(odd) .site-preview .cell-preview{
    margin-left: 0;
    margin-right: -45px;
  }
  .view-link {
    padding: 7px 15px;
  }

  .about-info {
    display: flex;
    flex-direction: column;
  }
  .portrait {
    margin: 20px auto;
  }
}


/********* ANIMATIONS **********/

@keyframes drop {
  0% {
    transform: translate(0, -100px);
    opacity: 0;
  }

  100% {
    transform: translate(0, 0);
    opacity: 1;
  }
}


@keyframes coverFromLeft {
  0% {
    transform: translate(-100px, 0);
    opacity: 0;
  }
  50% {
    opacity: 0.25;
  }
  100% {
    transform: translate(0, 0);
    opacity: 1;
  }
}
@keyframes coverFromRight {
  0% {
    transform: translate(+100px, 0);
    opacity: 0;
  }
  50% {
    opacity: 0.25;
  }
  100% {
    transform: translate(0, 0);
    opacity: 1;
  }
}
@keyframes buttonRender {
  0% {
    transform: scale(0.5, 0.5);
    opacity: 0;
  }
  100% {
    transform: scale(1, 1);
    opacity: 1;
  }
}