* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    
}

@keyframes rainbow {
    0% {
        background-position: 0% 50%;
    }
    100% {
        background-position: 100% 50%;
    }
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    /* background: #f4f4f4; */
    background: linear-gradient(75deg, red, orange, yellow, green, cyan, indigo, violet,indigo,cyan,green,yellow,orange,red,orange);
    background-size: 300% 300%;
    animation: rainbow 6s linear infinite;
    color: #333;
    padding: 20px;
}

header {
    /* background: #333; */
    color: #000000;
    padding: 20px 0;
    text-align: center;
}

header h1 {
    font-size: 2.5em;
}

nav {
    margin: 20px 0;
    text-align: center;
}

nav a {
    text-decoration: none;
    color: #333;
    margin: 0 15px;
    font-size: 1.2em;
    transition: color 0.3s ease;
}

nav a:hover {
    color: #007BFF;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    background: #fff;
    background-color: #fff;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    border-radius: 5px;
}
.container .child {
    background: inherit;
    
}

section {
    margin: 20px 0;
}

h2 {
    font-size: 1.8em;
    margin-bottom: 10px;
}

.project {
    margin-bottom: 20px;
}

.project img {
    max-width: 100%;
    border-radius: 5px;
}

.project h3 {
    font-size: 1.5em;
    margin: 10px 0;
}

footer {
    text-align: center;
    margin-top: 20px;
    padding: 10px 0;
    /* background: #333; */
    color: #fff;
    border-radius: 5px;
}

footer p {
    font-size: 0.9em;
}

ol, ul {
    margin-left: 20px; /* Adds spacing to the left */
    padding-left: 20px; /* Adds padding for alignment */
}

li {
    margin-bottom: 10px; /* Adds space between items */
    font-size: 1.1em; /* Adjusts font size */
    color: #333; /* Changes text color */
}/* From Uiverse.io by gagan-gv */ 
button {
  height: 4em;
  width: 15em;
  border: none;
  border-radius: 40px;
  background-color: #fff;
  cursor: pointer;
  margin-left: 18rem;
}

button span {
  z-index: 1;
  display: inline-block;
  background-color: black;
  height: 3em;
  width: 11.5em;
  border-radius: 25px;
  color: #fff;
  line-height: 55px;
  font-size: 18px;
  letter-spacing: 3px;
  transition: all 0.5s;
}

button .container {
  z-index: -1;
  width: 0;
  position: relative;
  display: flex;
  justify-content: center;
  transform: translateY(-50px);
  transition: all 0.4s;
}

button .container svg {
  padding: 0 10px;
}

button:hover span {
  width: 0;
}

button:hover .container {
  z-index: 2;
  width: 100%;
}
