@import url('https://fonts.googleapis.com/css2?family=Fredoka:wght@300&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Ysabeau+Infant:wght@300;400;500&display=swap');
* {
 	box-sizing: border-box;
 }

 body {
 	font-family: 'Fredoka', sans-serif;
 }
 h1 {
	text-align: center;
 }

header {
	background-color: #e3f2fd;
	text-align: center;
	padding: 0.5rem;
	margin: 0;
}
header p{ margin: 0;}
header h1{margin-top: 0; margin-bottom: 0.5rem; letter-spacing: 3px;}
footer{
	display: flex;
	justify-content:center;
	background-color: #e3f2fd;
	margin-top: 2rem;

}
.icons {
	padding: 0 1rem;
}

nav {
	display: flex;
	justify-content: center;
	background-color: #0d47a1;

}
nav a {
	text-decoration: none;
	padding: 1rem 2rem;
	color: white;

}
nav a:hover {
	background-color:  rgb(228, 145, 20);
	color: #0d47a1;
}
.intro {
	display: flex;
	justify-content: center;
	margin: 0.5rem 4rem;
	margin-bottom: 0;

}
.column1 {
	width: 55%;
	text-align: justify;
}
.column2 img {
	width: 80%;
	border-radius: 2px;
}
.column1 a, .more {
	text-decoration: none;
	background-color: rgb(228, 145, 20);
	padding: 0.5em 1em;
	border-radius: 8px;
}
.more {
	display: block;
	margin: 1rem auto;
	width: 15%;
	text-align: center;
}
.anotherrow {
	border: 50px;
	padding: 20px;
	font-size: 20px;
	text-align: center;
}
.gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}
#projects {
	box-shadow: 0 1px 10px  rgb(202, 201, 197,0.2);
	border-radius: 10px;
	padding: 5px;
}
.gallery-item {
  width: 250px;
  background: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 10px  rgb(84, 83, 81);
  text-align: center;
}

.gallery-item img {
  aspect-ratio: 4 / 3;
  width: 100%;
  object-fit: cover;
  display: block;
}
.gallery-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}
.gallery-item p {
  margin: 10px 0;
  font-size: 14px;
  color: #555;
}

h2 { text-align: center;}

.skills-section {
  max-width: 600px;
  margin: 0 auto;
  padding: 20px;
}

.skill {
  margin-bottom: 10px;
}

.skill span {
  font-weight: bold;
  display: block;
  margin-bottom: 2px;
}

.skill-bar {
  background-color: #eee;
  border-radius: 20px;
  overflow: hidden;
  height: 15px;
}

.skill-level {
  height: 100%;
  color:white;
  text-align: right;
  padding-right: 8px;
  line-height: 15px;
  border-radius: 20px;
  animation: fillBar 1.5s ease forwards;
}
.best {
  width: 90%;
  background-color: #e34c26;
}

.medium {
  width: 85%;
  background-color: #2965f1;
}

.low {
  width: 75%;
  background-color: #f0db4f;
  color: #000;
}

/* Optional animation */
@keyframes fillBar {
  from {
    width: 0;
  }
  to {
    width: inherit;
  }
}
