html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
	display: block;
}
/* Box sizing rules */
*, *::before, *::after {
  box-sizing: border-box;
}
/* blockquote */
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}


/* ======= MY CSS================
================================ */

:root {
  --primary-color: #33CFC0;
  --dark-color: #1C1D20;
  --bg-color: #E1E1E1;
}

html, body{
  scroll-behavior: auto;
}

body {
  font-family: 'Alef', sans-serif; 
  background-color: var(--bg-color);
  line-height: 1.6;
}

h1, h2 {
  font-family: 'Koulen', sans-serif;
}

/* =========================
   HEADER
========================= */

.site-header {
  width: 100%;
  padding: 0.5rem 1rem;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
  /* Glass effect */
  background: rgba(255, 255, 255, 0.1); 
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,0.2);
}

.nav {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
}

.nav a img{
  width: 6rem;
}

/* Hide checkbox */
#menu-toggle {
  display: none;
}

/* =========================
   HAMBURGER
========================= */

.hamburger {
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  z-index: 1100;
  position: relative;
  background-color: var(--primary-color);
  border-radius: 50%;
  transition: transform 0.3s ease;
}

.hamburger span {
  height: 2px;
  width: 20px;
  background: var(--dark-color);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

/* Hamburger open animation */
#menu-toggle:checked + .hamburger span:nth-child(1) {
  transform: rotate(45deg) translate(4px, 4px);
}

#menu-toggle:checked + .hamburger span:nth-child(2) {
  opacity: 0;
}

#menu-toggle:checked + .hamburger span:nth-child(3) {
  transform: rotate(-45deg) translate(4px, -4px);
}

/* =========================
   NAV MENU
========================= */

.nav-list {
  list-style: none;
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-left: 3rem;
  gap: 2rem;
  transition: 0.4s ease;
  background-color: var(--dark-color);
}

.nav-list a {
  text-decoration: none;
  font-size: 1.8rem;
  color: var(--bg-color);
  font-weight: 500;
  transition: 0.3s;
}

.nav-list a:hover {
  color: #007f73;
}

/* Show menu */
#menu-toggle:checked ~ .nav-list {
  right: 0;
}



/* ============================================================================
   MAIN===========================================================
=================================================== */

.main {
  width: 100%;
  padding-top: 4.5rem;
}


/* H!=========================== */
.scroll-container {
  width: 100%;
  overflow: hidden;
}

.scroll-track {
  display: flex;
  width: max-content;
}

.scroll-text {
  white-space: nowrap;
  font-size: 2.5rem;
  padding-right: 18rem; /* space between repeats */
}

/* =========================HERO SECTION======================== */

.hero {
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  gap: 2rem;
  text-align: center;
  padding: 0 1rem;
  background-color: var(--dark-color);
  border-bottom: 1px solid rgb(200, 199, 199);
}

.hero p{
 font-size: 1.5rem;
 text-align: center;
 color: var(--bg-color);
}

.hero p span{
 font-size: 3rem;
 font-weight: 600;
 color: var(--primary-color);
}

/* =========================ABOUT SECTION========================= */

.about {
  padding: 4rem 1rem;
  display: grid;
  gap: 2rem;
  background-color: var(--bg-color);
  border-bottom: 1px solid rgb(200, 199, 199);
}

/* Mobile (default) → stacked */
.about h2 {
  font-size: 2.5rem;
  text-decoration: none;
  color: var(--dark-color);
  font-weight: 600;
}

.about p {
  font-size: 1.1rem;
  line-height: 1.8;
}

.about p a{
  font-size: 1.1rem;
  font-weight: 300;
  color: var(--dark-color);
  text-decoration: none;
}

.about p a:hover{
  font-weight: 600;
}

/* ========================skill-section=========================== */

.skill-section{
  padding: 4rem 1rem;
  background-color: var(--bg-color);
  border-bottom: 1px solid rgb(200, 199, 199);
  display: grid;
  gap: 3rem;
}

.skill-section h2{
  font-size: 3rem;
  font-weight: 600;
}


.skills-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  justify-items: center;
  align-items: center;
}

.skills-list img {
  width: 60px;
  height: 60px;
  object-fit: contain;
}

/* =========================PROJECT SECTION========================= */

.projects-section{
  background-color: var(--bg-color);
  padding-top: 4rem;
}


.project-card{
  display: grid;
  grid-template-columns: repeat(2,1fr);
  padding: 0 1rem;
  gap: 1rem;
  margin-top: 4rem;
}

.project-card img {
  width: 100%;
  height: 300px;
  object-fit: cover;
}

.project-card a{
  text-decoration: none;
  font-weight: 600;
  color: var(--dark-color);
  
}
.projects-section h2{
  font-size: 1.5rem;
  text-align: center;
  opacity: 50%;
}



.projects{
  display: none;
}

.column {
  overflow: hidden;
}

.column-inner {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  will-change: transform;
}

.column img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  background-color: #999D9E;
}



/* =========================CONTACT SECTION========================= */

.contact-section {
  padding: 6rem 1rem;
  background: var(--dark-color);
  color: var(--bg-color);
  display: grid;
  gap: 3rem;
}

.contact-left h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  
}

.contact-left p {
  line-height: 1.8;
  max-width: 500px;
}

.contact-info {
  margin-top: 2rem;
  font-size: 0.95rem;
}


.contact-right {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-btn {
  text-decoration: none;
  background: var(--primary-color);
  color:var(--dark-color);
  padding: 1rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  display: inline-block;
  width: fit-content;
  transition: 0.3s ease;
}

.contact-btn:hover {
  background: var(--bg-color);
}


.social-links {
  display: flex;
  gap: 1.5rem;
}

.social-links a {
  color: var(--bg-color);
  text-decoration: none;
  transition: 0.3s;
}

.social-links a:hover {
  color: var(--primary-color);
}



/* ===========================================================================
====================ABOUT PAGE===============================================
============================================================================== */

.about-page{
    padding-top: 5rem;
}

.about-page h1{
  font-size: 2rem;
  padding-left: 1rem;
}

.about-page div {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0rem 1rem 4rem 1rem;
}

.about-page div p{
  font-size: 1rem;
  font-weight: 600;
  margin-top: 1.5rem;
}
.about-page div img{
  width: 100%;
  max-width: 20rem;
  margin: auto;
}

.about-page section:nth-of-type(1){
  padding: 4rem 1rem;
  margin: auto;
  display: grid;
  grid-template-columns:  1fr;
  gap: 1rem;
  background-color: var(--dark-color);
  color: var(--bg-color);
  border-bottom: 1px solid rgb(164, 163, 163);

}

.about-page section:nth-of-type(1) h2{
  font-size: 1.5rem;
}

.about-page section:nth-of-type(1) p{
  font-size: 1rem;
  line-height: 1.7;
}

.about-page section:nth-of-type(2){
  padding: 4rem 1rem;
  background-color: var(--dark-color);
  color: var(--bg-color);
  border-bottom: 1px solid rgb(164, 163, 163);
  
}

.about-page section:nth-of-type(2) h2{
  font-size: 1.5rem;
}
.about-page section:nth-of-type(2) ul{
  margin-top: 3rem;
  list-style: none;
  padding-bottom: 3rem;
    display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.about-page section:nth-of-type(2) ul li{
  font-size: 1rem;
}
.about-page section:nth-of-type(2) ul li strong{
  font-size: 2rem;
  font-family: 'Koulen', sans-serif;
  color: var(--primary-color);
}

.about-page section:nth-of-type(2) p{
  font-size: 1rem;

}

.about-page section:nth-of-type(2) button{
  margin-top: 40px;
  padding: 14px 34px;
  font-size: 15px;
  letter-spacing: 1px;
  font-weight: 600;
  background-color: var(--primary-color);
  color: black;
  border: 2px solid black;
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.about-page button:hover{
  background: black;
  color: var(--bg-color);
}




/* =============================================================================
====================WORK PAGE====================================================
=================================================================================== */

.work-page{
  padding-top: 4rem;
  background-color: var(--dark-color);
  color: var(--bg-color);
}

.work-page h1{
  font-size: 2rem;
  padding-left: 1rem;
  margin-top: 2rem;
}

.work-page ul {
  padding: 2rem 1rem 0rem 1rem;
  list-style: none;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  border-bottom: 1px solid rgb(200, 199, 199);
}

.work-page ul li{
  display: flex;
  flex-direction: column;
  padding-bottom: 4rem;
}

.work-page ul li img{
  width: 100%;
  height: 15rem;
  object-fit: cover;
  display: block;
  border-radius: 8px;
}

.work-page ul li p strong{
 font-size: 2rem;
 font-weight: 600;
 color: var(--primary-color);
}

.work-page ul li p {
 font-size: 1rem;
}

.work-page ul li p a{
  display: inline-block;
  padding: 5px 16px;
  margin-top: 10px;
  background-color: var(--primary-color);
  border: 2px solid var(--dark-color);
  border-radius: 30px;
  text-decoration: none;
  color: var(--dark-color);
  font-weight: 600;
  transition: all 0.3s ease;
}

.work-page ul li p a:hover{
  background: var(--dark-color);
  border: 2px solid var(--primary-color);
  color: var(--bg-color);

}




/* =============================================================================
====================Contact PAGE====================================================
=================================================================================== */

.contact-page{
  padding: 4rem 1rem;
}

.contact-page h1{
  font-size: 2rem;
  margin-top: 2rem;
}


.contact-page p:nth-of-type(1) {
  font-size: 1.1rem;
}

/* =========================FORM========================= */

.contact-page form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 4rem 0rem;
  margin: auto;
}

.contact-page form input:nth-of-type(1),
.contact-page form input:nth-of-type(2),
.contact-page form textarea {
  padding: 0.8rem;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 1rem;
  outline: none;
  transition: 0.3s;
}

.contact-page form input:focus,
.contact-page form textarea:focus {
  border-color: var(--primary-color);
}

.contact-page form button {
  padding: 0.8rem;
  border: none;
  background: var(--primary-color);
  color: #000;
  font-weight: 600;
  border-radius: 6px;
  cursor: pointer;
  transition: 0.3s;
}

.contact-page form button:hover {
  background: #28b5a8;
}

/* =========================CONTACT INFO========================= */

.contact-page section h2 {
  margin-bottom: 1rem;
  font-size: 2rem;
}

.contact-page section p {
  margin-bottom: 0.5rem;
}

 

/* ======================================================
   ================FOOTER==========================
=================================================== */

.site-footer {
  padding: 2rem 1rem;
  text-align: center;
  font-size: 0.9rem;
  background: var(--dark-color);
  color: var(--bg-color);
}



/* ============================================================
==========================RESPONSIVE=========================
=========================================================== */

@media (min-width: 600px) {
  .hamburger {
  width: 3rem;
  height: 3rem;
  }
  .nav-list {
    width: 50%;
  }

  .hero p{
  font-size: 2.5rem;
 }

 .hero p span{
  font-size: 5rem;
 }

  .projects{
    display: block;
  }

  .projects {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    padding: 6rem 1rem;
    height: 130vh;
  }

}


/* =========================768========================= */

@media (min-width: 768px) {
  .main{
    padding-top: 5rem;
  }

  .site-header {
    width: 100%;
    padding: 0.5rem 1rem;
  }

  .nav a img {
    width: 10rem;
  }

  .nav-list {
    width: 35%;
  }

  .hero{
    padding: 3rem 3rem;
    grid-template-columns: repeat(2, 1fr);
  }

  .hero p{
    text-align: left;
  }

  .hero p span{
    font-size: 6rem;
  }

  .about {
    padding: 6rem 3rem;
    grid-template-columns: 1fr 1fr;
    align-items: center;
  }

  .about h2 {
    font-size: 4rem;
  }

  .skill-section{
    padding: 6rem 3rem;
  }

  .skill-section h2{
    font-size: 4rem;
  }

  .skill-section {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }


  .skills-list img {
    width: 100px;
    height: 100px;
  }

  .projects{
    padding: 6rem 3rem;
  }

  .project-card{
  padding: 0 3rem;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  }

  .column img {
    padding: 2rem;
  }


  .contact-section {
    grid-template-columns: 1fr 1fr;
    align-items: center;
  }

  .contact-right {
    align-items: flex-end;
  }

  .contact-section{
    padding: 6rem 3rem;
  }



/* =====================================================
====================ABOUT PAGE==================
====================================================== */

  .about-page h1{
    font-size: 3rem;
    padding-left: 1rem;
  }

  .about-page div {
    flex-direction: row;
  }

  .about-page div p{
    font-size: 1.5rem;
    max-width: 60%;

  }
  .about-page div img{
    max-width: 20rem;
  }


  .about-page section:nth-of-type(1){
    grid-template-columns: 250px 1fr;
    gap: 50px 100px;
  }

  /* titles on left */
  .about-page section:nth-of-type(1) h2{
    font-size: 1.5rem;
  }

  /* paragraphs on right */
  .about-page section:nth-of-type(1) p{
    font-size: 1rem;
    line-height: 1.7;
  }

  .about-page section:nth-of-type(2) h2{
    font-size: 1.5rem;
  }

  .about-page section:nth-of-type(2) ul{
    grid-template-columns: repeat(3, 1fr);
  }

  .about-page section:nth-of-type(2) ul li{
    font-size: 1rem;
  }

  .about-page section:nth-of-type(2) ul li strong{
    font-size: 3rem;
  }

  .about-page section:nth-of-type(2) p{
    font-size: 1rem;
  }


/* =====================================================
====================WORK PAGE==================
====================================================== */

  .work-page ul li img{
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
    border-radius: 8px;
  }

  .work-page h1{
    font-size: 3rem;
  }

  .work-page ul li p {
      font-size: 1.5rem;
  }

  .work-page ul {
    padding: 4rem 1rem 0rem 1rem;
  }

  .work-page ul li p strong{
  font-size: 2.5rem;
  }

}


/* =====================================================
====================CONTACT PAGE==================
====================================================== */
  .contact-page{
    padding-top: 4rem;
  }

  .contact-page h1{
    font-size: 3rem;
  }

  .contact-page form {
    gap: 1.2rem;

  }




/* =========================Desktop Layout========================= */

@media (min-width: 1000px) {
  .main{
  padding-top: 7rem;
  }

  .site-header {
    width: 100%;
    padding: 1rem 3rem;
  }

  .hamburger {
    width: 4.5rem;
    height: 4.5rem;
  }

  .hamburger span {
    height: 3px;
    width: 25px;
  }

  .nav-list {
    width: 30%;
    padding-left: 5rem;
  }

  .scroll-text {
    font-size: 3rem;
  }

  .hero p{
    font-size: 3rem;
  }

  .hero p span{
    font-size: 7rem;
  }

  .hero p:nth-of-type(2){
    font-size: 3.5rem;
  }

  .about {
    padding: 6rem 3rem;
  }

  .about h2 {
    font-size: 5rem;
  }

  .about p, .about p a{
    font-size: 1.5rem;
  }


  .skill-section h2{
    font-size: 5rem;
  }



/* =====================================================
====================ABOUT PAGE==================
====================================================== */
  .about-page{
      padding-top: 8rem;
  }
  .about-page h1{
    font-size: 4rem;
    padding-left: 3rem;
  }

  .about-page div{
      padding: 0 3rem 4rem 3rem;
  }

  .about-page div p{
    font-size: 2rem;
    margin-top: 0rem;
  }

  .about-page div img{
    max-width: 25rem;
  }


  .about-page section:nth-of-type(1){
    padding: 4rem 3rem 4rem 3rem;
    grid-template-columns: 300px 1fr;
    gap: 100px 150px;
  }

  /* titles on left */
  .about-page section:nth-of-type(1) h2{
    
    font-size: 2rem;
  }

  /* paragraphs on right */
  .about-page section:nth-of-type(1) p{
    font-size: 1.5rem;
  }

  .about-page section:nth-of-type(2){
    padding: 4rem 3rem 4rem 3rem;
  }

  .about-page section:nth-of-type(2) h2{
    font-size: 2rem;
  }

  .about-page section:nth-of-type(2) ul{
    grid-template-columns: repeat(3, 1fr);
  }

  .about-page section:nth-of-type(2) ul li{
    font-size: 1.5rem;
  }

  .about-page section:nth-of-type(2) ul li strong{
    font-size: 3rem;
  }

  .about-page section:nth-of-type(2) p{
    font-size: 1.5rem;
  }

/* =====================================================
====================WORK PAGE==================
====================================================== */
  .work-page{
    padding-top: 6rem;
  }

  .work-page h1{
    padding-left: 3rem;
    font-size: 4rem;
  }

  .work-page ul li p strong{
  font-size: 3rem;
  }


/* =====================================================
====================CONTACT PAGE==================
====================================================== */
  .contact-page{
    padding-top: 6rem;
  }

  .contact-page h1{
    padding-left: 2rem;
    font-size: 4rem;
  }

  .contact-page p {
  padding-left: 2rem;
  }

  .contact-page form {
    width: 70%;
  }

  .contact-page section h2 {
      padding-left: 2rem;
  }

}





/* DESKTOP VIEW========================= */
@media (min-width: 1200px) {

  .hero{
    padding: 3rem 8rem;
  }

  .hero p:nth-of-type(1){
    font-size: 4rem;
  }

  .hero p span{
    font-size: 8rem;
  }

  .hero p:nth-of-type(2){
    font-size: 7.5rem;
    line-height: 95px;
  }

  .hero p:nth-of-type(2) span {
    display: inline-block;
    transition: transform 0.3s;
  }

  .about {
    padding: 8rem 8rem;
  }

  .skill-section{
    padding: 6rem 8rem;
  }

  .projects{
    padding: 6rem 8rem;
  }

  .project-card{
    padding: 0 8rem;
  }

  .contact-section{
    padding: 4rem 8rem;
  }


/* =====================================================
====================ABOUT PAGE==================
====================================================== */
  .about-page h1{
    padding-left: 8rem;
  }

  .about-page div{
    padding: 0rem 8rem 4rem 8rem;
  }

  .about-page section:nth-of-type(1){
    padding: 4rem 8rem;
  }

  .about-page section:nth-of-type(2){
    padding: 4rem 8rem;
  }


/* =====================================================
====================WORK PAGE==================
====================================================== */
  .work-page{
    padding-top: 8rem;
  }

  .work-page h1{
    padding-left: 8rem;
  }


/* =====================================================
====================CONTACT PAGE==================
====================================================== */
  .contact-page{
    padding-top: 8rem;
  }

  .contact-page h1{
    padding-left: 8rem;
  }

  .contact-page p {
  padding-left: 8rem;
  }

  .contact-page section h2 {
      padding-left: 8rem;
  }

}

