* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	font-family: "Poppins", sans-serif;
	/* outline: 3px solid orangered;    */
}

html {
	scroll-behavior: smooth;
}

body {
	font-size: 100%;
	background:url(../../../img/bg-wallpaper.jpg);
	font-family:"Poppins" sans-serif;
}
div,
section,
span,
ul,
li,
a,
header {
  box-sizing: border-box;
}

:root {
	/* COLORS */
	--green-color: #64b746;
	--white-color: #FFFFFF;
	--bg-color: #000000;
	--secondary-color: #1798ee;
	--light-grey: #e6e9e6;
	--dark-grey: #b4b4b4;
	--blue-color: #6262d6;

	/* Font Size */
	--font-size-s: 0.9rem;
	--font-size-n: 1rem;
	--font-size-m: 1.12rem;
	--font-size-l: 1.5rem;
	--font-size-xl: 2rem;
	--font-size-xxl: 2.3rem;

	/* Font Weight */
	--font-weight-noraml:400;
	--font-weight-medium:500;
	--font-weight-semibold:600;
	--font-weight-bold:700;

	/* Border Radius */
	--border-radius-s:8px;
	--border-radius-m:30px;
	--border-radius-circle:50%;

	/* Site Max Width */
	--site-max-width:1300px;
}
/*CSS RESET*/
/* Stylings for whole site */
ul{
	list-style: none;
}
a{
	text-decoration: none;
}
button{
	cursor: pointer;
	border:2px solid black;
}

.logo{
	width:150px;
	margin-top:3rem;
}
.section-content{
	margin:0 auto;
	padding:0 20px;
	max-width: var(--site-max-width);
}
/* Navbar Stylings */
#home{
	background: transparent;
}
/* =========================
   DESKTOP NAVIGATION
========================= */
.header {
  position: fixed;
  top: 0;
  z-index: 1000;
  width: 100%;
  min-height: auto;
  background: rgba(165, 210, 252, 0.95);
}

nav {
  width: min(100% - 2rem, 1300px);
  margin: 0 auto;
  padding: 1.25rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

nav img {
  display: block;
  width: 120px;
  height: auto;
  margin: 0;
}

.nav-links {
  display: flex;
  flex: 1;
  justify-content: flex-end;
}

.nav-links ul {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1.875rem;
  width: auto;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-links ul li {
  width: auto;
  margin: 0;
  padding: 0;
}

.nav-links ul li a {
  display: block;
  width: auto;
  color: var(--bg-color);
  font-size: 1.1rem;
  font-weight: 500;
  text-decoration: none;
}

.nav-links ul li::after {
  content: "";
  display: block;
  width: 0;
  height: 2px;
  margin: 0.35rem auto 0;
  background: #000;
  transition: width 0.35s ease;
}

.nav-links ul li:hover::after {
  width: 100%;
}

/* Hide both Font Awesome icons on desktop */
nav .fa {
  display: none;
}
.nav-links ul{
    display:flex;
    justify-content:flex-end;
    align-items:center;
    gap:30px;
}
.text-box h1{
	font-size:clamp(2rem, 5vw, 6rem);
    font-weight:800;
	font-family: "Ephesis", cursive;
    color:orangered; 
	text-transform:capitalize;
    text-shadow: 5px 5px 5px black;
}
.ephesis-regular {
	font-family: "Ephesis", cursive;
	font-weight: 400;
	font-style: normal;
}
.text-box p{
	margin:10px 0 40px;
	font-size:18px;
	color:#fff;
	width:100%;
	max-width:500px;
	line-height: 35px;
}
.hero-image-btn{
	text-decoration:none;
    text-transform: uppercase;
	color:#fff;
	border:1px solid #fff;
	border-radius: 10px;
	padding:10px 25px;
	font-size:1rem;
	font-weight: 500;
    letter-spacing: 2px;
	background:transparent;
	cursor:pointer;
}
.hero-image-btn:hover{
	border:1px solid #df5b51;
	background:#b8042b;
	transition:1s;	
}
nav .fa-times{
	display:none;
}
.nav-links .fa-times{
    position:absolute;
    top:20px;
    left:20px;
}
.nav-links ul li a.active {
  color: var(--black-color);
  font-weight: 700;
}

.nav-links ul li a.active::after {
  width: 100%;
  color: var(--blue-color);
}
/* Hero Section Styling */
/* Remove the gap between Hero and Skills */
.hero-section {
  position:relative;
  top:3rem;
  width: 100%;
  min-height: 100vh;
  height: auto;
  padding: 3rem 1.5rem;
  background-image: url(../../../img/blue-gradient-background.jpg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.hero-section .hero-details{
  display:flex;
  flex-direction: column;
  align-items: flex-start;
  margin:10rem auto;
	width:100%;
	color:var(--white-color);
	
}
.hero-section .hero-details strong{
	font-size:var(--font-size-L);
	color:var(--bg-color);
	font-family: "Poppins",sans-serif;
	
}
.hero-section .hero-details .title{
	font-size:var(--font-size-xxl);
	color:var(--bg-color);
	font-family: "Poppins",sans-serif;
	
}
.hero-section .hero-details .title span{
	font-size:var(--font-size-xxl);
	color:var(--blue-color);
	font-family: "Poppins",sans-serif;
	
}
.hero-section .hero-details .description{
	max-width: 600px;
	width:100%;
	margin:24px 0 40px;
  margin-bottom: 1.5rem;
	line-height:2;
	color:var(--bg-color);
	font-size: var(--font-size-m);	
}
.hero-section .hero-details .button {
  width: 100%;
  margin: 0;
  text-align: left;
  align-self:flex-start;
}
.hero-section .hero-details .button a {
  display: inline-block;
  justify-content: center;
  align-items: flex-start;
  color:var(--white-color);
  font-weight: 500;
  width: 150px;
  max-width: 100%;
  margin: 0;
  padding: 10px 20px;
  background-color: var(--blue-color);
  border: 2px solid var(--blue-color);
  border-radius: 20px;
  text-align: center;
  box-sizing: border-box;
  transition: all 0.3s ease;
}
.hero-section .hero-details .button a:hover{
	color:var(--bg-color);
	background-color: var(--secondary-color);
}
.hero-image-wrapper{
    display:flex;
    justify-content:center;
    align-items:center;
    position:relative;
    margin-bottom: 10rem;
}

.hero-image{
    width:100%;
    max-width:450px;
    margin-left:auto;
	  margin-right: auto;	
}
@media screen and (max-width: 768px) {
  .hero-section .hero-details .button {
    width: 100%;
    max-width: 350px;
    margin: 0 auto;
  }

  .hero-section .hero-details .button a {
    display: block;
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    text-align: center;
  }
}
@media screen and (max-width: 390px) {
  .hero-section .hero-details {
    width: 100%;
    max-width: 350px;
    margin: 0 auto;
    align-items: flex-start;
    text-align: center;
  }

  .hero-section .hero-details .description {
    width: 100%;
    margin: 0 auto 1.5rem;
    text-align: center;
  }

  .hero-section .hero-details .button {
    width: auto;
    margin: 0;
    text-align: left;
    align-self: flex-start;
  }

  .hero-section .hero-details .button a {
    display: inline-block;
    width: 180px;
    max-width: 100%;
    margin: 0;
    text-align: center;
  }
}
/************************** Hero Section *****************************/
/********************* Skills ************************************/
/* =========================
   Responsive Skills Section
========================= */

#skills.container {
  width: 100%;
  max-width: none;
  min-height: 100vh;
  height:100%;
  margin: 0;
  padding: 5rem 1rem;
  text-align: center;
  background-image: linear-gradient(
    180deg,
    var(--light-grey),
    var(--blue-color)
  );
}

/* Skills heading */
#skills .top-header {
  width: 100%;
  margin: 1rem auto 1rem;
  text-align: center;
}

#skills .top-header h1 {
  width: fit-content;
  margin: 0 auto;
  text-align: center;
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 600;
}

/* Main skills content */
#skills .content-center {
  position: static;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

/* Skill cards row */
#skills .row {
  position: static;
  width: 80%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0;

  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
}

/* Individual skill cards */
#skills .row > .col {
  position: static;
  flex: 0 1 200px;
  width: 200px;
  height: 175px;
  min-height: 175px;
  margin: 0;

  display: flex;
  justify-content: center;
  align-items: center;

  border: 1px solid black;
  border-radius: 10px;
  background-color: var(--white-color);
  box-shadow: 3px 3px 3px var(--bg-color);
}

/* Skill icons */
#skills .image-pic {
  position: static;
  display: block;
  width: 100px;
  max-width: 100%;
  height: auto;
  margin: 0;
  object-fit: contain;
}

/* Tablet */
@media screen and (max-width: 768px) {
  #skills.container {
    padding: 4rem 1rem;
  }

  #skills .row {
    gap: 1rem;
  }

  #skills .row > .col {
    flex: 0 1 180px;
    width: 180px;
    height: 160px;
    min-height: 160px;
  }

  #skills .image-pic {
    width: 90px;
  }
}

/* Mobile */
@media screen and (max-width: 480px) {
  #skills.container {
    padding: 3rem 1rem;
  }

  #skills .row {
    width: 100%;
    gap: 1rem;
  }

  #skills .row > .col {
    flex: 0 1 140px;
    width: 140px;
    height: 140px;
    min-height: 140px;
  }

  #skills .image-pic {
    width: 75px;
  }
}



/********************* Skills ************************************/
/*********************** About Me **************************************/
#about {
	background-image: linear-gradient(to top, var(--blue-color), var(--white-color));
}
.about-container{
	margin:8rem auto;
	width:100%;
	text-align: center;
}
.about-container h1 {
	position: relative;
	bottom: 50px;
	text-align: center;
	color: var(--bg-color);
	font-size: 3em;
	font-weight: 600;
}

.f-container {
	display: flex;
	justify-content: center;
	align-items: center;
	flex-wrap:wrap;
	width: 95%;
	height: auto;
	margin:0 auto;
	text-align: center;
}
.box-1 {
	flex: 1;
	flex-grow:1;
	position: relative;
	bottom: 30px;
	left: 50px;
	height: 600px;
	width: 500px;	
}
.box-1 .pic {
	width: 500px;
	height: auto;
	border-radius: 20px;
	box-shadow: 3px 3px 8px var(--bg-color);
	border: 3px solid black;
}
.box-1 h2 {
	font-size: clamp(1.5rem, 2vh, 2.5rem);
	line-height: 1.5em;
	text-transform: uppercase;
	color: var(--bg-color);
	width: 450px;
	margin:2rem auto;
}
.box-1 h2 span {
	text-transform: uppercase;
	color: var(--white-color);
	font-size: clamp(1.5rem, 2vh, 2.5rem);
}
.box-2 {
	flex: 1;
	flex-grow:1;
	position: relative;
	bottom: 50px;
	right: 50px;
	width: 500px;
	height: 500px;
	text-align: left;
}
.box-2 h3 {
	font-size:clamp(1.5rem, 2.3vw, 2.5rem);
	color: var(--bg-color);	
}
.box-2 p {
	font-size: clamp(1rem, 1.3vw, 1.3rem);
	color: var(--bg-color);
	line-height: 40px;
}
/******** About Me Responsive ************/
@media screen and (max-width:1600px){
	.f-container{
		display:flex;
		flex-direction:column;
		text-align: center;
		margin:0 auto 0 auto;
		width:100%;
	}
	.box-1 .pic{
		margin:0 auto;
		margin-right: auto;
		margin-left: auto;
	}
	.box-2{
		margin-left:8rem;
	}
	.box-2 h3,.box-2 p{
		text-align: left;
		margin:0 auto;
		margin-right: auto;
		margin-left: auto;
	}	
}
@media screen and (max-width:900px){
	.f-container{
		display:flex;
		flex-direction:column;
		text-align: center;
		margin:0 auto;
		width:100%;
	}
	.box-2{
		margin-left:8rem;
		text-align: center;
	}
	.box-1,.box-2{
		flex-direction:column;
		text-align: center;
		margin:0 auto;
	}
}
@media screen and (max-width:390px){
	.f-container{
		display:flex;
		flex-direction:column;
		text-align: center;
		margin:0 auto;
		width:100%;
	}
	.box-2{
		margin-left:8rem;
		text-align: center;
	}
	.box-1,.box-2{
		text-align: center;
		margin:0 auto;
	}
}
/******** About Me Responsive ************/

/****************** About Me ***********************/
/****************** Folio **************************/
#folio {
	background-image: var(--white-color);
}

h1 {
	color: #000;
}

input {
	display: none;
}

.container {
	width: 100%;
	text-align: center;
	position: relative;
	bottom:1.3rem;
}

.container h1 {
	font-weight: normal;
	font-size: 38px;
	position: relative;
	margin: 40px 0;
}

.container h1:before {
	content: '';
	position: absolute;
	width: 100px;
	height: 3px;
	background-color: var(--white-color);
	bottom: -10px;
	left: 50%;
	transform: translate(-50%);
	animation: animate 4s linear infinite;
}

@keyframes animate {
	0% {
		width: 100px;
	}

	50% {
		width: 200px;
	}

	100% {
		width: 100px;
	}
}

.top-content {
	background-color: var(--light-grey);
	width: 70%;
	margin: 0 auto 20px auto;
	height: 60px;
	display: flex;
	align-items: center;
	border-radius: 5px;
	box-shadow: 3px 3px 8px lightgray;
}

label {
	position: relative;
	top: 0px;
	display: inline-block;
	height: 100%;
	margin: 20px 20px;
	line-height: 60px;
	font-size: 20px;
	font-weight: 500;
	color: var(--black-color);
	cursor: pointer;
	transition: color .5s;
}

label:hover {
	color: black;
}

.photo-gallery {
	width: 70%;
	margin:0  auto;
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	grid-gap: 20px 20px;
}

.pic {
	height: 230px;
	border-radius: 10px;
	cursor: pointer;
	transition: .5s;
}

.example-image {
	width: 100%;
	height: 95%;
}

.pic .example-image {
	width: 100%;
	height: 100%;
	border-radius: 10px;
	transition: .5s;
}
.pic:hover::after {
	height: 100%;
}

.pic:hover::before {
	margin-top: 0;
	opacity: 1;
}

#check1:checked~.container .photo-gallery .pic {
	opacity: 1;
	transform: scale(1);
	position: relative;
	transition: .5s;
}

#check2:checked~.container .photo-gallery .businesscards {
	opacity: 1;
	transform: scale(1);
	position: relative;
}

#check2:checked~.container .photo-gallery .flyers,
#check2:checked~.container .photo-gallery .logos {
	opacity: 0;
	transform: scale(0);
	position: absolute;
	transition: .0s;
}

#check3:checked~.container .photo-gallery .flyers {
	opacity: 1;
	transform: scale(1);
	position: relative;
}

#check3:checked~.container .photo-gallery .businesscards,
#check3:checked~.container .photo-gallery .logos {
	opacity: 0;
	transform: scale(0);
	position: absolute;
	transition: .0s;
}

#check4:checked~.container .photo-gallery .logos {
	opacity: 1;
	transform: scale(1);
	position: relative;
}

#check4:checked~.container .photo-gallery .businesscards,
#check4:checked~.container .photo-gallery .flyers {
	opacity: 0;
	transform: scale(0);
	position: absolute;
	transition: .0s;
}

#check5:checked~.container .photo-gallery .websites {
	opacity: 1;
	transform: scale(1);
	position: relative;
}

#check5:checked~.container .photo-gallery .businesscards,
#check5:checked~.container .photo-gallery .flyers {
	opacity: 0;
	transform: scale(0);
	position: absolute;
	transition: .0s;
}

.gotopbtn {
	position: fixed;
	bottom:-10px;
	right:20px;
	width: 50px;
	height: 50px;
	background: var(--white-color);
	bottom: 50px;
	right: 30px;
	text-decoration: none;
	align-items: center;
	text-align: center;
	line-height: 50px;
	color: #000;
	font-size: 22px;
	font-weight: 600;
	border: 3px solid var(--bg-color);
	border-radius: 50px;
}

.gotopbtn i {
	position: relative;
	top: 10px;
	color: var(--bg-color);
	font-weight: 600;
}

/****************** Footer ****************************/
/****************** Hire Me Page **************************/
.hire-me-container {
  min-height: 55vh;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap; 
}

.hire-me-content {
  flex: 1 0 50%;
  width: 100%;
  height: 720px;
  background: #000;
  margin:6rem auto;
  padding: 5rem 6%;
  position:relative;
  overflow:hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}

/* Image stays responsive and no longer overlaps the text */
.hire-me-content .suit-image{
  flex:1;
  width: 100%;
  height:100%;  
  object-fit: cover;
  overflow:visible;
  position:absolute;
  top:1rem;
  right:1rem;
}

/* Text is centered vertically within .box-1 by Flexbox,
   while its content remains aligned left */
.hire-me-content h3,
.hire-me-content h1,
.hire-me-content p {
  width: 100%;
  text-align: left;
}

.hire-me-content h3 {
  color: #ffcc00;
  font-size: 2.3rem;
  font-weight: 400;
  margin-bottom: 1rem;
}

.hire-me-content h1 {
  color: #fff;
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 500;
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

.hire-me-content p {
  color: #fff;
  max-width: 70ch;
  font-size: clamp(1rem, 2vw, 1.2rem);
  font-weight: 500;
  line-height: 1.8;
}
.back-button {
  position: absolute;
  top: 3rem;
  left: 1rem;
  padding: 0.5rem 1rem;
  background-color: #ffcc00;
  color: #000;
  text-decoration: none;
  font-weight: bold;
  border-radius: 5px;
  transition: background-color 0.3s ease;
}
.social .ig-btn .fab{
  font-size:25px;
  color:#ffcc00;
}

/* Tablet */
@media (max-width: 1024px) {
  .hire-me-container {
    min-height: auto;
	display:flex;
	flex-direction:column;
  }

  .hire-me-content {
    margin: 0 auto;
    padding: 5rem 6%;
	position:relative;
	max-height:800px;
  }

  .hire-me-content .suit-image {
  position:absolute;
	margin-bottom: 2.5rem;
	margin: auto;
	width: 100%;
  }
}

/* Mobile */
@media (max-width: 768px) {
  .hire-me-content {
    padding: 4rem 1.5rem;
  }

  .hire-me-content .suit-image {
    margin-bottom: 2rem;
	margin:auto;	
  }
	.hire-me-content {
    margin: 0 auto;
    padding: 5rem 6%;
	position:relative;
	min-height:800px;
  }
   .hire-me-content .suit-image {
    position:absolute;
	margin-bottom: 2.5rem;
	margin: auto;
  }

  .hire-me-content h3 {
    font-size: 1.1rem;
  }

  .hire-me-content h1 {
    line-height: 1.15;
  }

  .hire-me-content p {
    line-height: 1.7;
  }
}

/* Small phones */
@media (max-width: 368px) {
  .hire-me-content {
    padding: 3rem 1rem;
  }

  .hire-me-content h3 {
    font-size: 1rem;
  }

  .hire-me-content p {
    font-size: 0.95rem;
  }
}
/****************** Hire Me Page **************************/


/* =========================
   Responsive Footer
========================= */

.footer {
  position: fixed;
  bottom: 0;
  width: 100%;
  max-width: none;
  height: 100px;
  margin: 0 auto;
  padding: 2rem 1rem;
  box-sizing: border-box;
  text-align: center;
  background-color: var(--bg-color);
  color: var(--white-color);
}

.footer p {
  width: 100%;
  max-width: 1200px;
  margin: 1rem auto;
  line-height: 1.6;
  text-align: center;
  overflow-wrap: break-word;
}
/* computer screens */
@media screen and (max-width: 1024px) {
  .footer {
    width: 100%;    
    margin:0 auto;
    padding: 1.75rem 1rem;
  }

  .footer p {
    font-size: 0.95rem;
  }
}
/* Tablet */
/* Full-width footer on mobile devices */
@media screen and (max-width: 768px) {
  .footer {
    position: relative;
    top:5rem;
    width: 98vw;
    max-width: none;
    margin-left: calc(50% - 50vw);
    margin-right: 0;
    padding: 1.5rem 1rem;
    box-sizing: border-box;
    text-align: center;
  }

  .footer p {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    text-align: center;
    line-height: 1.6;
    overflow-wrap: break-word;
  }
}
/* ---------------------------------
   Hero
--------------------------------- */

.hero-section {
  position: relative;
  top: 0;
  min-height: 90vh;
  margin-bottom: 0;
  padding: 6rem 1.5rem 4rem;
  z-index: auto;
}

.hero-section .section-content {
  width: min(100%, 1300px);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(2rem, 5vw, 4rem);
}

.hero-details {
  flex: 1 1 360px;
  min-width: 0;
}

.hero-image-wrapper {
  flex: 1 1 320px;
  width: 100%;
  max-width: 450px;
  margin: 0 auto;
}

.hero-image {
  width: 100%;
  max-width: 450px;
  margin: 0 auto;
}

/* ---------------------------------
   Skills
--------------------------------- */

.container {
  width: 100%;
  min-height: auto;
  height: auto;
  margin: 0 auto;
  padding: 5rem 0;
  text-align: center;
}
.top-header {
  width: 100%;
  margin: 0 auto;
  text-align: center;
}

.top-header h1 {
  width: fit-content;
  margin: 0 auto;
  text-align: center;
  color: var(--bg-color);
  font-size: clamp(1.5rem, 4vw, 3rem);
  font-weight: 600;
  font-family: "Poppins", sans-serif;
}

.content-center {
  width: 100%;
  margin: 0 auto;
  text-align: center;
}

.row {
  position:relative;
  top:5rem;
  width: 80%;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.row {
  width: min(80%, 900px);
  margin:0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 30px;
}

.row > .col {
  width: 200px;
  height: 175px;
  border: 1px solid black;
  background-color: var(--white-color);
  box-shadow: 3px 3px 3px var(--bg-color);
  border-radius: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.image-pic {
  position: static;
  display: block;
  width: 100px;
  height: auto;
  margin: 0;
}

/* ---------------------------------
   About section
--------------------------------- */

.about-container {
  width: 100%;
  margin: 0 auto;
  padding: 5rem 1.5rem;
}

.about-container h1 {
  position: static;
  width: auto;
  margin: 0 0 3rem;
  text-align: center;
}

.f-container {
  width: min(100%, 1200px);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: clamp(2rem, 5vw, 4rem);
}

.box-1,
.box-2 {
  position: static;
  flex: 1 1 380px;
  width: auto;
  height: auto;
  min-width: 0;
  margin: 0;
}

.box-1 {
  text-align: center;
}

.box-1 .pic {
  width: 100%;
  max-width: 500px;
  height: auto;
  margin: 0 auto;
}

.box-1 h2 {
  width: auto;
  margin: 1.5rem auto 0;
  font-size: clamp(1.5rem, 3vw, 2.5rem);
}

.box-2 {
  text-align: left;
  border: 0;
  margin-bottom:5rem;
}

.box-2 h3,
.box-2 p {
  width: 100%;
  margin: 0;
  text-align: left;
}

.box-2 h3 {
	font-size: clamp(1.5rem, 3vw, 2.5rem);
}

.box-2 p {
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  line-height: 1.7;
}

/* ---------------------------------
   Portfolio / gallery
--------------------------------- */

#folio {
  width: 100%;
}

#folio > h1 {
  position: static;
  transform: none;
}

.top-content {
  width: min(100% - 2rem, 1200px);
  height: auto;
  min-height: 60px;
  margin: 0 auto 1.5rem;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

.top-content label {
  display: block;
  width: auto;
  height: auto;
  margin: 0.5rem 0.8rem;
  padding:10px 20px;
  line-height: normal;
  transition: 0.5s ease-in-out;
  border-radius: 10px;
}
.top-content label:hover {  
  line-height: normal;
  background:var(--dark-grey);
}

.photo-gallery {
  width: min(100% - 2rem, 1200px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.25rem;
}

.pic {
  width: 100%;
  height: 230px;
}

.example-image,
.pic .example-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
@media screen and (max-width: 768px) {
  .top-content label {
	width:100%;
	margin: 0.35rem auto;
	transition: 0.5s ease-in-out;
  }
  .top-content label:hover {
	width:100%;
  }
}
/* ---------------------------------
   Tablet
--------------------------------- */

@media screen and (max-width: 1024px) {
  .hero-section .section-content {
  width: min(calc(100% - 2rem), 1300px);
}

.container {
  width: min(calc(100% - 2rem), 1200px);
}

  .hero-details {
    text-align: center;
  }

  .hero-section .hero-details .description {
    margin-right: auto;
    margin-left: auto;
    text-align: center;
  }

  .hero-section .hero-details .button {
    text-align: center;
  }

  .f-container {
    flex-direction: column;
  }

  .box-1,
  .box-2 {
    flex-basis: 100%;
    max-width: 700px;
  }

  .box-2,
  .box-2 h3,
  .box-2 p {
    text-align: center;
  }

  .photo-gallery {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* ---------------------------------
   Mobile
--------------------------------- */

@media screen and (max-width: 768px) {
  .hero-section {
    min-height: auto;
    padding: 5rem 1rem 3rem;
  }

  .hero-section .section-content {
    flex-direction: column;
  }

  .hero-details,
  .hero-image-wrapper {
    flex-basis: 100%;
    width: 100%;
  }

  .hero-section .hero-details .title {
    font-size: clamp(2rem, 8vw, 3rem);
  }

  .top-header h1,
  .about-container h1,
  .container h1 {
    width: auto;
    font-size: clamp(2rem, 8vw, 3rem);
  }

  .container,
  .about-container {
    padding: 4rem 1rem;
  }

  .row > .col {
    flex-basis: min(100%, 250px);
    width: min(100%, 250px);
  }

  .box-1 .pic {
    max-width: 100%;
  }

  .box-1 h2 {
    font-size: clamp(1.35rem, 6vw, 2rem);
  }

  .box-2 h3 {
    font-size: clamp(1.5rem, 7vw, 2rem);
  }

  .box-2 p {
    font-size: 1rem;
    line-height: 1.7;
  }

  .top-content {
    flex-direction: column;
    padding: 0.75rem;
	 width: min(calc(100% - 2rem), 900px);
  }

  .top-content label {
    margin: 0.35rem 0;
  }

  .photo-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.875rem;
	width: min(calc(100% - 2rem), 1200px);
  }

  .pic {
    height: 180px;
  }

  .gotopbtn {
    right: 1rem;
    bottom: 1rem;
  }
}

/* ---------------------------------
   Small phones
--------------------------------- */

@media screen and (max-width: 480px) {
  .photo-gallery {
    grid-template-columns: 1fr;
  }

  .pic {
    height: 240px;
  }

  .row > .col {
    width: 100%;
    max-width: 280px;
  }
}





