/* Typography imported from Google Fonts */
@import url("https://fonts.googleapis.com/css2?family=Rubik:ital,wght@0,300..900;1,300..900&family=Staatliches&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Chewy&family=DM+Serif+Text:ital@0;1&family=Roboto:ital,wght@0,100..900;1,100..900&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Sigmar+One&display=swap");

/*
CSS oklch Gradation
Copyright (c) 2025 by Wakana Y.K. (https://codepen.io/wakana-k/pen/qEBoPoO)
*/

/*borders ex https://getcssscan.com/css-box-shadow-examples*/

/*
basic element
*/

html {
  scroll-behavior: smooth;
  box-sizing: border-box;
}
*,
*:before,
*:after {
  box-sizing: inherit;
}

/*background gradient flow*/
body {
  padding: 1rem;
  background-image:
    linear-gradient(
      in oklch longer hue to right,
      oklch(0.93 0.08 var(--hue1) / 50%),
      oklch(0.93 0.08 var(--hue2) / 50%)
    ),
    linear-gradient(
      in oklch longer hue to bottom,
      oklch(0.93 0.08 var(--hue1) / 50%),
      oklch(0.93 0.08 var(--hue2) / 50%)
    );

  background-size: 100% 100%;
  animation-name: anim_bg;
  animation-duration: 5s;
  animation-timing-function: linear;
  animation-iteration-count: infinite;

  overscroll-behavior-x: none;
  overscroll-behavior-y: none;
  scroll-behavior: smooth;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

h1,
h2,
h3,
h4,
h5,
h6,
p,
ul,
ol {
  margin-bottom: 1rem;
}

h2 {
  font-size: 1.8rem;
  border-radius: 1rem;
  font-size: 3rem;
  margin-bottom: 1.5rem;
}

li {
  margin: 0;
  padding: 0 0 0 3rem;
  list-style: none;
  background-image: url("https://img.sanishtech.com/u/4b5cc2c47068b2c970f59f8eed7200f6.png");
  background-repeat: no-repeat;
  background-position: left center;
  background-size: 2.5rem;
}

hr {
  border: none;
}

.links {
  font-size: 24pt;
  letter-spacing: 3px;
  background: #ffffff;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: all 0.4s;
  padding: 10px 20px;
  margin: 0.5rem;
}

a {
  color: silver;
  text-decoration: none;
  font-weight: bold;
}

.links:hover {
  background: #ffbe5c;
}

a:hover {
  color: #f5efe6;
}

/*
resume pg class
*/

header {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

header,
.section {
  padding: 1rem;
  margin: 0.5rem;
  flex-direction: column;
}

.wrapper {
  padding: 1rem;
  margin: 0.5rem;
  display: flex;
  flex-direction: column;
}
.summary {
  padding: 1rem;
  margin: 0.5rem;
}

.main-details {
  padding: 1rem;
  margin: 0.5rem;
}

.resume-name,
.about-name {
  font-size: 3rem;
  color: #353935;
  font-family: "DM Serif Text";
  font-style: normal;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.subhead {
  color: DodgerBlue;
  font-size: 1.2rem;
  display: flex;
  justify-content: left;
}

.section {
  min-height: 60vh;
  display: flex;
  flex-direction: column;
}

.section-main {
  width: 80%;
}

.section-heading {
  color: DarkBlue;
  font-family: "DM Serif Text";
}
.jump {
  margin-top: 3rem;
  font-size: 1.5rem;
}

/*index pg class*/
.index-name {
  color: #ff4c00;
  font-size: 4rem;
  font-family: "Sigmar One", sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 5rem;
  margin-bottom: 1rem;
}

.buttons {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: row;
  min-height: 25vh;
  padding: 1rem;
  margin: 0.5rem;
}

.index {
  min-height: 100vh;
  padding: 2rem;
  min-height: 2rem;
  border: 10px solid transparent;
  padding: 1px;
  border-image: url("https://www.w3schools.com/cssref/border.png") 30 stretch;
}

.hugename {
  color: #ffbe5c;
  font-family: "Rubik", sans-serif;
  text-align: center;
  font-size: 3rem;
  padding: 8rem;
}

/* 
james refrences
*/

@media (min-width: 300px) {
  .resume-name,
  .about-name {
    font-size: 2rem;
  }
  .index-name {
    font-size: 3rem;
  }

  .buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    padding: 1rem;
    margin: 0.5rem;
  }
  h2 {
    font-size: 1rem;
  }

  h3,
  .summary {
    font-size: 0.7rem;
  }

  .section-main {
    font-size: 0.5rem;
  }
  header,
  .section,
  .wrapper,
  .summary,
  .main-details {
    box-shadow: none;
    padding: 0.1rem;
    min-height: 33vh;
  }
  .jump {
    font-size: 1rem;
  }
  .index {
    border-image: none;
  }
}

@media (min-width: 576px) {
  .resume-name,
  .about-name {
    font-size: 2.5rem;
  }
  h2 {
    font-size: 1.5rem;
  }
  h3,
  .summary {
    font-size: 1.2rem;
  }

  .section-main {
    font-size: 1rem;
  }
  header,
  .section,
  .wrapper,
  .summary,
  .main-details {
    box-shadow: none;
    padding: 0.6rem;
    min-height: 45vh;
  }
  .jump {
    font-size: 1.5rem;
  }
  .index-name {
    font-size: 4rem;
  }

  .buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: row;
    padding: 1rem;
    margin: 0.5rem;
  }
  .index {
    border-image: url("https://www.w3schools.com/cssref/border.png") 30 stretch;
  }
}

@media (min-width: 992px) {
  .section-main {
    font-size: 1.2rem;
  }
  h2 {
    font-size: 1.7rem;
  }

  h3,
  .summary {
    font-size: 1.4rem;
  }
  .resume-name,
  .about-name {
    font-size: 6rem;
    color: #1f3b4d;
  }
  header,
  .section,
  .wrapper,
  .summary,
  .main-details {
    box-shadow: none;
    padding: 1rem;
    min-height: 65vh;
  }
  .index-name {
    font-size: 5rem;
  }
  .wrapper {
    display: flex;
    flex-direction: row;
  }

  .summary {
    width: 25%;
  }
  .main-details {
    width: 75%;
  }
}

/*background g too...*/
@keyframes anim_bg {
  0% {
    --hue1: 0deg;
    --hue2: 300deg;
  }

  100% {
    --hue1: 360deg;
    --hue2: 660deg;
  }
}
