
/* Add some general text style */
html {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 16px;  
}

body {
  margin: 0;
}

/*  Navigation bar styles */
nav {
  background-color: rgb(79, 138, 207);
  width: 100%;
  height: 60px;
  color: #ffffff;
  position: absolute;
  display: inline-block;
}

.logo {
  margin-top: 20px;
  margin-left: 20px;
  font-weight: bolder;
  font-size: 1.6rem;
}

.nav-items {
    display: flex;
    justify-content: flex-end;
    margin-right: 20px;
    position: absolute;
    right: 20px;
    top: 20px; 
    list-style: none;  
}
.nav-items li {
  width: fit-content;
  margin: 0 10px;
}

.nav-items li a {
  text-decoration: none;
  color: #ffffff;
  font-weight: bold;
  font-size: 1rem;
}

/* Hero section styles - center of the page */
.hero {
   width: 100%; 
   height: 500px;
   background-image: linear-gradient(to right, rgb(22, 177, 212) , rgb(123, 245, 253));
   display: flex;
   justify-content: center;
   align-items: center;
   flex-direction: column;
}
   
.hero h1, p {
    color: #ffffff;
}

.hero h1 {
    font-size: 1.9rem;
    font-weight: bolder;
}

.hero p {
    margin-top: 15px;
}

/* items styles */

.items-container {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    flex-wrap: wrap;
    width: 100%;
    height: auto;
    padding-bottom: 3vh;
}

#special-badge {
    max-width: 86px;
    min-width: 30px;
    height: 32px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 0.7rem;
    border-radius: 4px;
    background-color: rgb(255, 127, 107);
    color: #ffffff;
    position: relative;
    top: -8px;
    left: 100px;
}

div.item {
    display: inline-block;;
    bottom: 10px;
    width: 200px;
    height: 80px;
    margin-top: 20px;
    border-width: 4px;
    border-style: solid;
    border-color: rgb(255, 255, 255);
    border-radius: 10px;
    background-color: lightblue;
    min-width: 80px;
}

.item p {
    display: block;
   text-align: center;
    margin: 30px auto;
    color: black;

}

.item:hover {
    background-color: rgb(249, 253, 123);
    cursor: pointer;
}

#special-bage-text {
    position: relative;
    margin: 0 auto;
    top: auto;
}

/* Footer styles */

.footer {
    display: flex;
    align-items: center;
    justify-content: start;
    flex-wrap: wrap;
    width: 100%;
    height: auto;
    background-color: rgb(11, 46, 128);
    color: #ffffff;
    font-size: 0.9rem;
    margin: 0; 
}

.footer-content {
  display: flex;
  flex-flow: column;
  align-items: center;
  justify-content: center;
  width: 87%;
  text-align: center;
  padding-bottom: 20px;
}

/* Footer links styles */
.footer-links {
  display: flex;
  justify-content: center;
  width: inherit;
  gap: 15px;
  font-size: 0.8rem;
}

a {
  color: #52eaf8;
}
a:visited {
  color: rgb(249, 253, 123);
}


/* Back to Top button styles */

#backToTop {
  display: block;
  position: relative;
  left: 10px;
  margin: 0;
  background-color: #3681d2;
  color: white;
  border: none;
  border-radius: 5px;
  width: 8rem;
  height: 2.5rem;
  position: relative;
  right: 10px;
}

#backToTop:hover {
  background-color: #52eaf8;
  color: black;
  cursor: pointer;
}


@media (width <= 1024px) {
  .footer-content {
    width: 100%;
  }
  #backToTop {
  margin: 20px auto;
  }
}