body {
    background-color: white;
    background: linear-gradient(45deg, black 25%, transparent 25%, transparent 75%, black 75%, black),
                linear-gradient(45deg, black 25%, white 25%, white 75%, black 75%, black);
    background-size: 20px 20px;
    background-position: 0 0, 10px 10px;
    border: 40px solid pink;
    box-sizing: border-box;
    height: 100vh;
    margin: 0;
    animation: invertBackground 5s infinite;
}

@keyframes invertBackground {
  0% {
    background-position: 0 0, 10px 10px;
  }
  10% {
    background-position: 0px 0px, 10px 10px;
      background-image: linear-gradient(45deg, white 25%, transparent 25%, transparent 75%, white 75%, white),
                      linear-gradient(45deg, white 25%, LemonChiffon 25%, LemonChiffon 75%, white 75%, white);
  }
 20% {
    background-position: 0px 0px, 10px 10px;
 background-image: linear-gradient(45deg, gray 25%, transparent 25%, transparent 75%, gray 75%, gray),
                linear-gradient(45deg, gray 25%, white 25%, white 75%, gray 75%, gray);
  }
30% {
    background-position: 0px 0px, 10px 10px;
      background-image: linear-gradient(45deg, white 25%, transparent 25%, transparent 75%, white 75%, white),
                      linear-gradient(45deg, white 25%, plum 25%, plum 75%, white 75%, white);
  }
 40% {
    background-position: 0px 0px, 10px 10px;
 background-image: linear-gradient(45deg, pink 25%, transparent 25%, transparent 75%, pink 75%, pink),
                linear-gradient(45deg, pink 25%, white 25%, white 75%, pink 75%, pink);
}
  50% {
    background-position: 0px 0px, 10px 10px;
      background-image: linear-gradient(45deg, white 25%, transparent 25%, transparent 75%, white 75%, white),
                      linear-gradient(45deg, white 25%, thistle 25%, thistle 75%, white 75%, white);
  }
 60% {
    background-position: 0px 0px, 10px 10px;
 background-image: linear-gradient(45deg, black 25%, transparent 25%, transparent 75%, black 75%, black),
                linear-gradient(45deg, black 25%, white 25%, white 75%, black 75%, black);
  }
70% {
    background-position: 0px 0px, 10px 10px;
      background-image: linear-gradient(45deg, white 25%, transparent 25%, transparent 75%, white 75%, white),
                      linear-gradient(45deg, white 25%, PowderBlue 25%, PowderBlue 75%, white 75%, white);
  }
 80% {
    background-position: 0px 0px, 10px 10px;
 background-image: linear-gradient(45deg, moccasin 25%, transparent 25%, transparent 75%, moccasin 75%, moccasin),
                linear-gradient(45deg, moccasin 25%, white 25%, white 75%, moccasin 75%, moccasin);
}
90% {
    background-position: 0px 0px, 10px 10px;
      background-image: linear-gradient(45deg, white 25%, transparent 25%, transparent 75%, white 75%, white),
                      linear-gradient(45deg, white 25%, lavender 25%, lavender 75%, white 75%, white);
  }
 100% {
    background-position: 0px 0px, 10px 10px;
 background-image: linear-gradient(45deg, coral 25%, transparent 25%, transparent 75%, coral 75%, coral),
                linear-gradient(45deg, coral 25%, white 25%, white 75%, coral 75%, coral);
}

}


.border-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
}


.middle-container {
    display: flex;
    justify-content: space-between;
    width: 100%;
    margin: 0 auto;
    height: 100%;
    align-items: center;
}


.bouncing-container {
    background-color: white;
  background: linear-gradient(45deg, LavenderBlush 25%, transparent 25%, transparent 75%, LavenderBlush 75%, LavenderBlush),
                linear-gradient(45deg, LavenderBlush 25%, white 25%, white 75%, LavenderBlush 75%, LavenderBlush);
    background-size: 20px 20px;
    background-position: 0 0, 10px 10px;
    transition: background-color 5s ease;
    position: relative;
    width: 70%; /* Adjust this to control the width of the container */
    height: 70%; /* Adjust this to control the height of the container */
    margin: 0 auto; /* Center the container horizontally */
    z-index: 1; /* Add this line to ensure the bouncing container stays on top of the checkered border */
animation: invertBackground 4s infinite;
}


.side-container {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 15%; /* Add this line to set a fixed width for side containers */
    height: 100%;
    position: relative;
 
}


#container {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 5vw;
    text-transform: uppercase;
}


.letter {
    position: absolute;
    font-size: 12rem;
	font-weight: bold;
    transition: color 1s linear;
    font-family: Helvetica, sans-serif;
}



.funky-button {
    position: absolute;
    text-decoration: none;
    font-size: 2.5rem;
    padding: 10px 10px;
    border-radius: 8px;
    color: #fff;
    text-transform: uppercase;
    font-family: Helvetica, sans-serif;
    font-weight: bold;
    background-clip: padding-box;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    z-index: 1;

    animation: morph 10s infinite;
    background-clip: padding-box;
    transition: transform 0.2s ease;
}

.funky-button:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: inherit;
    background-color: inherit;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1), 0 6px 20px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.2s ease;
    z-index: -1;
}

.funky-button:hover {
    transform: translateY(-5px);
}

.funky-button:hover:before {
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.1), 0 12px 30px rgba(0, 0, 0, 0.1);
}


.about-button {
    background-color: #ff7f50;
}

.newsletter-button {
    background-color: #4b0082;
}


@keyframes morph {
  0% {
    clip-path: polygon(50% 0%, 90% 20%, 100% 60%, 80% 100%, 50% 90%, 20% 100%, 0% 60%, 10% 20%, 50% 0%);
  }
  10% {
    clip-path: polygon(10% 20%, 40% 0%, 60% 0%, 90% 20%, 100% 60%, 80% 100%, 50% 100%, 20% 100%, 0% 60%);
  }
  20% {
    clip-path: polygon(50% 0%, 100% 20%, 90% 60%, 80% 100%, 50% 80%, 20% 100%, 10% 60%, 0% 20%, 50% 0%);
  }
  30% {
    clip-path: polygon(0% 60%, 20% 100%, 50% 100%, 80% 100%, 100% 60%, 90% 20%, 60% 0%, 40% 0%, 10% 20%);
  }
  40% {
    clip-path: polygon(50% 0%, 90% 20%, 100% 60%, 80% 100%, 50% 90%, 20% 100%, 0% 60%, 10% 20%, 50% 0%);
  }
  50% {
    clip-path: polygon(0% 20%, 10% 60%, 20% 100%, 50% 90%, 80% 100%, 100% 60%, 90% 20%, 60% 0%, 40% 0%);
  }
  60% {
    clip-path: polygon(50% 100%, 80% 100%, 100% 60%, 90% 20%, 60% 0%, 40% 0%, 10% 20%, 0% 60%, 20% 100%);
  }
  70% {
    clip-path: polygon(50% 0%, 80% 0%, 100% 20%, 90% 60%, 80% 100%, 50% 90%, 20% 100%, 10% 60%, 0% 20%);
  }
  80% {
    clip-path: polygon(0% 60%, 10% 20%, 20% 0%, 50% 0%, 80% 0%, 100% 20%, 90% 60%, 80% 100%, 50% 100%);
  }
  90% {
    clip-path: polygon(50% 100%, 80% 100%, 90% 60%, 100% 20%, 80% 0%, 50% 0%, 20% 0%, 10% 20%, 0% 60%);
  }
  100% {
    clip-path: polygon(50% 0%, 90% 20%, 100% 60%, 80% 100%, 50% 90%, 20% 100%, 0% 60%, 10% 20%, 50% 0%);
  }
}

/* Add this to your styles.css */

.home-button {
    background-color: #32cd32;
}

.send-button {
    background-color: #f08080;
    margin-top: 10px;
}

form {
    display: flex;
    flex-direction: column;
    align-items: center;
}

form input {
    margin-bottom: 10px;
    font-size: 1.5rem;
    padding: 10px;
    border-radius: 8px;
    border: none;
    background-color: white;
    outline: none;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1), 0 6px 20px rgba(0, 0, 0, 0.1);
}

form input::placeholder {
    color: #aaa;
}

form button {
    font-size: 1.5rem;
    padding: 10px 20px;
    border-radius: 8px;
}

.form-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100%;
}

#myForm {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
}

input[type="text"], input[type="email"] {
  margin-bottom: 15px;
}

.funky-heading {
background-color: LemonChiffon;
color: black;
  font-size: 2.5rem;
  text-transform: uppercase;
  font-family: Helvetica, sans-serif;
  font-weight: bold;
padding: 150px;
  animation: morphHeader 10s infinite;
  transition: transform 0.2s ease;
}

.send-button {
  background-color: violet;
margin-top: 10px;
  margin-bottom: 20px;
}

.send-button:disabled {
  background-color: #808080;
}

@keyframes morphHeader {
  0% {
    clip-path: polygon(10% 20%, 70% 30%, 90% 80%, 30% 90%);
  }
  25% {
    clip-path: polygon(30% 10%, 80% 40%, 80% 90%, 20% 80%);
  }
  50% {
    clip-path: polygon(20% 20%, 90% 30%, 70% 90%, 10% 80%);
  }
  75% {
    clip-path: polygon(30% 10%, 80% 20%, 70% 80%, 10% 70%);
  }
  100% {
    clip-path: polygon(10% 20%, 70% 30%, 90% 80%, 30% 90%);
  }
}

@media (max-width: 600px) {
    .middle-container {
        flex-direction: column;
    }

    .side-container {
        width: 100%;
        height: 15%;
    }

.letter {

    font-size: 5rem;

}

    .bouncing-container {
        width: 90%;
        height: 70%;
    }

    .funky-button {
        font-size: 1.5rem;
    }
}

/* Add these to your existing styles.css file */

.shop-button {
    background-color: #9370db;
    margin-top: 20px; /* Space between About and Shop buttons */
}

/* Update the side container to accommodate multiple buttons */
.side-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 15%;
    height: 100%;
    position: relative;
}

@media (max-width: 600px) {
    .shop-button {
        margin-top: 10px;
    }
}
/* Add just this one style to your existing styles.css file */

.shop-button {
    background-color: #4169e1; /* Initial color, but it will change with animation */
}