
@import url("https://fonts.googleapis.com/css2?family=Fredoka:wght@300&display=swap");

* {
  margin: 0;
  padding: 0;
  font-family: "Fredoka", sans-serif;
}

body {
  font-family: Arial, sans-serif;
  background-color: #f0f0f0;
}

.header {
  position: relative;
  text-align: center;
  background: url('/assets/image/section1.png') center center no-repeat;
  background-size: cover;
  color: white;

  @media (max-width: 768px) {
    display: none;
  }
}
.waves {
  position:relative;
  width: 100%;
  height:15vh;
  margin-bottom:-7px; /*Fix for safari gap*/
  min-height:100px;
  max-height:150px;
}


.inner-header {
  height:85vh;
  width:100%;
  margin: 0;
  padding: 0;
}

.flex { /*Flexbox for containers*/
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.textnya {
  font-family: 'Lato', sans-serif;
  font-weight:300;
  letter-spacing: 2px;
  font-size:48px;
}

.logo {
  width:50px;
  fill:white;
  padding-right:15px;
  display:inline-block;
  vertical-align: middle;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
}

.navbar {
  background-color: #0078d4;
  color: #fff;
}

.navbar a {
  color: #fff;
  text-decoration: none;
}

.form-control {
  width: 100%;
  border: 1px solid #ccc;
  border-radius: 5px;
}

.card {
  flex: 0 0 auto;
  width: 200px;
  margin-right: 20px;
  box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.card:hover {
  transform: translateY(-5px);
}

.card-title {
  font-size: 12px;
  color: grey;
  margin-bottom: 10px;
}

.card-text {
  color: #666;
}

#cartIcon {
  font-size: 24px;
  position: relative;
  top: 2px;
}

.btn {
  background-color: #0078d4;
  color: #fff;
  border: none;
  padding: 10px 20px;
  border-radius: 5px;
  transition: background-color 0.3s;
}

.btn:hover {
  background-color: #005ea2;
}

.scrolling-container {
  display: flex;
  overflow-x: auto;
  padding: 15px 0;
}

.scrolling-container::-webkit-scrollbar {
  width: 50px;
}

.scrolling-container::-webkit-scrollbar-thumb {
  background-color: #0078d4;
}

.jumbotron img {
  width: 100%;
}

#library-background {
  height: 600px;
}

#contact-section {
  text-align: center;
}

#contact-section form {
  background-color: #f9f9f9;
  padding: 20px;
  border-radius: 5px;
  margin: 0 auto;
  max-width: 400px;
}

#contact-section form .form-control {
  margin-bottom: 15px;
}

#contact-section form button {
  background-color: #007BFF;
  color: #fff;
}

#contact-section form button:hover {
  background-color: #0056b3;
}

@keyframes bounce {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
  100% {
    transform: translateY(0);
  }
}

.parallax > use {
  animation: move-forever 25s cubic-bezier(.55,.5,.45,.5)     infinite;
}
.parallax > use:nth-child(1) {
  animation-delay: -2s;
  animation-duration: 7s;
}
.parallax > use:nth-child(2) {
  animation-delay: -3s;
  animation-duration: 10s;
}
.parallax > use:nth-child(3) {
  animation-delay: -4s;
  animation-duration: 13s;
}
.parallax > use:nth-child(4) {
  animation-delay: -5s;
  animation-duration: 20s;
}
@keyframes move-forever {
  0% {
   transform: translate3d(-90px,0,0);
  }
  100% { 
    transform: translate3d(85px,0,0);
  }
}


@media (max-width: 640px) {
  .ml-9 {
    margin-left: 1rem; 
  }

  .grid-cols-12 {
    grid-template-columns: repeat(1, minmax(0, 1fr));
  }

  .grid-cols-5 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
