@import url('https://fonts.googleapis.com/css2?family=Sora:wght@300;400;700&display=swap');

/* darkmode default */
:root {
  --black: #000;
  --white: #fff;
  --switch-background: #bdb8b8;
  --switch-fill: #3a3939;

  --primary-text: #fff;
  --secondary-text: #000;
  --background-color: #000;
  --hero-color: #858c5853;
  --icon-color: #1ed5db;
  --accent-color: #1ed5db;
  --skills-background-primary: #f5ca3f;
  --skills-background-secondary: #1ed5db;
  --skills-background-tertiary: gray;
  --skills-text-primary: #fff;
  --skills-text-secondary: #000;
  --row-content-hover: #797d57cc;
  --footer-text: #888787;
  /* --body: #888; */
}

.lightmode {
  --primary-text: #000;
  --secondary-text: #fff;
  --background-color: #d6d6bc;
  --hero-color: #858c5853;
  --icon-color: #000;
  --accent-color: #1ed5db;
  --skills-background-primary: #000;
  --skills-background-secondary: #1ed5db;
  --skills-background-tertiary: #f5ca3f;
  --skills-text-primary: #000;
  --skills-text-secondary: #fff;
  --row-content-hover: #000;
  --footer-text: #212529;
  /* --body: #888; */
}

body {
  font-family: 'Sora', sans-serif;
  line-height: 1.7;
  color: var(--primary-text);
}

.header-top {
  display: flex;
  justify-content: space-between;
  padding: 2.5rem;
  background-color: var(--background-color);
  margin: 0;
  z-index: -1;
}

.icons a {
  display: flex-start;
  font-size: 28px;
  color: var(--icon-color);
  margin-right: 0.8rem;
}
#theme-switch {
  height: 50px;
  width: 50px;
  padding: 0;
  border-radius: 50%;
  background-color: var(--switch-background);
  display: flex;
  justify-content: center;
  align-items: center;
  border-style: none;
}
#theme-switch svg {
  fill: var(--switch-fill);
}

#theme-switch svg:last-child {
  display: none;
}

.lightmode #theme-switch svg:first-child {
  display: none;
}

.lightmode #theme-switch svg:last-child {
  display: block;
}
/* .hero {
   width: 100%;
   display: grid;
   place-content: center;
   text-align: center;
   gap: 2rem;
   background-image: url(/media/kerrypark.jpg);
   background-size: cover;
   background-position: right bottom;
   height: 70vh;
   background-attachment: fixed;
   position: relative;
   z-index: 2;
}

.hero::after {
   content: "";
   position: absolute;
   inset: 0;
   background: #7a7e57b3;
   z-index: -1;
} */

/* hero test */
.hero-container {
  position: relative;
  overflow: auto;
  height: 80vh;
}

.hero-image {
  background-image: url('/media/kerrypark.jpg');
  background-size: cover;
  background-position: center;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
}

.hero-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--hero-color);
  z-index: -1;
}

.hero-content {
  padding-top: 10%;
  text-align: center;
  z-index: 1;
}

@media only screen and (min-width: 340px) and (max-width: 1024px) {
  /* .hero-container {
    height: 50vh;
  } */
  .hero-content {
    padding-top: 30%;
    /* margin-top: 30%; */
  }
}

/* @media only screen and (min-width: 600px) and (max-width: 900px) {
  .hero-content {
    padding-top: 8rem;
  }
} */

h1 {
  margin-bottom: 1rem;
}

.effect {
  transition: all 0.35s ease;
}
.effect:hover {
  box-shadow: none;
  transform: translateY(5px);
}

.dark-background {
  background-color: var(--background-color);
}

#about {
  display: grid;
  gap: 1rem;
  padding: 1rem;
  max-inline-size: 50ch;
  justify-content: center;
  margin: auto;
}

#about h2 {
  margin: 8%;
}

#about p {
  margin: auto;
  font-weight: 400;
}

.about-top {
  margin-top: 2rem;
  text-align: center;
  align-items: center;
  justify-content: center;
}

.about-img {
  width: 10rem;
  height: 10rem;
  border-radius: 50%;
  margin: 2rem 0;
}

h4 {
  text-align: center;
  margin: 2rem 0;
}

.skills {
  margin: 0;
  padding: 0;
}

/* .skills {
   max-inline-size: 50ch;
   justify-content: center;
   margin: auto;
} */

ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

ul li {
  display: inline-block;
  width: auto;
  padding: 7px 12px;
  margin-right: 3px;
  margin-top: 8px;
  border-radius: 5px;
  justify-content: center;
}

ul li.yellow {
  background-color: var(--skills-background-primary);
  color: var(--skills-text-secondary);
}

ul li.blue {
  background-color: var(--skills-background-secondary);
  color: var(--black);
}

ul li.gray {
  background-color: var(--skills-background-tertiary);
  color: var(--skills-text-primary);
}

#project h2 {
  text-align: center;
  margin-block: 8%;
}
/* .project-link {
   display: inline-block;
} */

/* #project img:hover {
   background-color: rgba(37, 39, 71, 0.7);
} */
.tools {
  color: var(--accent-color);
}

.row-content {
  margin: 2%;
  padding: 3%;
  border-radius: 50% 20% / 10% 40%;
  transition: all 0.35s ease;
  opacity: 0.5;
}

/* .row-content::after {
   content: "";
   position: absolute;
   background-color: #252747b3;
   z-index: -1;
} */

.row-content:hover {
  transform: translateY(10px);
  background-color: var(--row-content-hover);
  color: var(--white);
  opacity: 1;
}

.pro-image:hover {
  opacity: 1;
}

#contact h2 {
  margin-top: 12%;
}

.contact-icon {
  margin: 2%;
  text-align: center;
  position: relative;
  top: 0;
  left: 0;
}

.cat-anime {
  position: relative;
  top: 0;
  left: 0;
}

.footprint {
  position: absolute;
  top: 50%;
  left: 40%;
}

footer {
  padding: 2rem;
  text-align: center;
  color: var(--footer-text);
  font-size: 0.9rem;
}

footer a {
  text-decoration: none;
  color: var(--footer-text);
}
