* {
  font-family: sans-serif;
  color: #2a0934;
}

body {
  width: 100%;
  height: 100vh;
}

.logo {
  border: 2px outset #d4ddf7;
  border-radius: 10px 30px;
  margin-left: 10px;
}

nav {
  background: linear-gradient(to bottom right, #fccb1a, #cbad40);
  font-weight: bold;
  width: 99%;
  height: auto;
  margin: auto;
  border-radius: 15px;
}

.nav1 {
  text-decoration: none;
  margin: 5px;
  margin-right: 15px;
  float: right;
  color: #2a0934;
  padding: 3px;
  background-color: #d4ddf7;
  border: 2px outset;
  border-radius: 8px;
  transition: color 0.3s, background-color 0.3s, transform 0.5s ease;
}

.nav1:hover {
  background-color: #fccb1a;
  color: #d4ddf7;
  transform: scale(1.1);
}

.nav1:active {
  border: 1px inset #d4ddf7;
}

.nav2 {
  padding-left: 10px;
  padding-right: 10px;
  padding-bottom: 5px;
  padding-top: 10px;
  margin: 3px;
  text-decoration: none;
  color: #2a0934;
  transition: color 0.3s ease;
  display: inline-block;
}

.nav2:hover {
  color: #d4ddf7;
}

.nav2:active {
  border: 1px inset #d4ddf7;
  margin: 2px;
  border-radius: 15px;
}

#container {
  margin-left: auto;
  margin-right: auto;
  margin-top: 40px;
  margin-bottom: 40px;
  width: 97%;
  height: 80%;
  background-image: url(contentbg.png);
  background-repeat: no-repeat;
  background-size: cover;
  border: 3px solid #fccb1a;
  border-left: 20px solid #fccb1a;
  box-shadow: 1px 2px 25px;
}

#container span {
  font-size: 3em;
  font-weight: bold;
  float: right;
  position: relative;
  top: 100px;
  background-color: #ffffff;
  opacity: 0.7;
  padding: 20px;
  margin-right: 0;
  border-radius: 20px 0px 0px 70px;
}

#container h2 {
  padding-top: 50px;
  padding-left: 25px;
  font-size: 2.5em;
  color: #ad8903;
}

#container div {
  display: block;
  width: 25%;
  margin-left: 25px;
  margin-top: 35px;
  height: auto;
  font-size: x-large;
  line-height: 1.5;
}

#explore {
  width: 95%;
  margin-left: auto;
  margin-right: auto;
  padding-bottom: 30px;
  height: auto;
  background-color: #edf2f2;
}

#explore h2,
#choose h2,
#choose h3 {
  text-align: center;
}

#products {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}

#products a {
  text-decoration: none;
}

#products a:hover {
  text-decoration: underline;
}

.products {
  border: 1px solid;
  width: 250px;
  background: linear-gradient(
    to right,
    rgb(212, 221, 247),
    rgba(212, 221, 247, 0.3)
  );
  padding: 10px;
  margin: 20px;
  box-shadow: 5px 10px #2a0934, 5px 10px 18px #888888;
  transition: transform 0.5s ease;
}

.products:hover {
  transform: scale(1.2) rotate(2deg);
}

i {
  font-size: 40px;
}

#choose {
  background: linear-gradient(
      rgba(255, 255, 255, 0.2),
      rgba(255, 255, 255, 0.2)
    ),
    url(server.jpg);
  width: 98%;
  margin-bottom: 30px;
  padding-bottom: 20px;
  background-size: cover;
  height: auto;
  margin-left: auto;
  margin-right: auto;
}

#choose h2 {
  padding-top: 50px;
}

#choose h2 h3 {
  color: white;
}

#choose div:nth-child(odd) {
  border-radius: 50px 15px;
  margin-left: 250px;
  margin-right: auto;
}

#choose div:nth-child(even) {
  border-radius: 15px 50px;
  text-align: right;
  margin-right: 250px;
  margin-left: auto;
}

.choose {
  border: 2px ridge;
  width: 35%;
  height: auto;
  padding: 10px;
  margin: 30px;
  background: linear-gradient(to left, rgb(212, 221, 247), rgba(212, 221, 247));
  box-shadow: 3px 8px, 5px 10px 18px #888888;
}

#imagebg {
  display: block;
  width: 80%;
  margin-left: auto;
  margin-right: auto;
}

table {
  font-family: sans-serif;
  width: fit-content;
  display: block;
  border-collapse: collapse;
  box-shadow: 0 5px 10px grey;
  background-color: whitesmoke;
  margin: 10px auto 10px;
}

caption {
  font-size: 30px;
  text-align: left;
  background: linear-gradient(to bottom right, #fccb1a, #b0901e);
}

thead {
  box-shadow: 0 5px 5px grey;
  text-align: center;
}

th {
  padding: 1rem 2rem;
  letter-spacing: 0.1rem;
  font-size: 0.7rem;
  font-weight: 900;
  text-align: center;
}

td {
  padding: 1rem 2rem;
  text-align: center;
  border-bottom: 1px solid grey;
}

tr:hover {
  background-color: grey;
}

#footer {
  background: linear-gradient(to bottom right, #fccb1a, #b0901e);
  height: 60%;
  width: 99%;
  margin-left: auto;
  margin-right: auto;
  box-shadow: 1px 1px 18px #888888;
  margin-top: 30px;
}

.logo2 {
  border: 2px outset #d4ddf7;
  border-radius: 10px 30px;
  margin-left: 5%;
}

footer i {
  color: white;
  margin: 5px;
  transition: color 0.3s, transform 0.4s ease;
}

footer i:hover {
  transform: scale(1.3);
  color: #2a0934;
}

footer a {
  margin: 5px;
}

hr {
  opacity: 0.3;
  margin-left: 5%;
  margin-right: 5%;
}

#footerdiv {
  display: flex;
  justify-content: space-around;
  margin-left: 10%;
  margin-right: 10%;
}

#footerdiv a:hover {
  color: #d4ddf7;
}

.footernav {
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: color 0.2s, text-decoration 1s ease;
}

.footernav:hover {
  text-decoration: underline;
}

.footernav ~ a,
.last {
  text-decoration: none;
  font-size: small;
  transition: color 0.2s ease;
}

#copyright {
  margin-left: 80px;
  font-size: small;
}

.last {
  float: right;
  margin: 10px;
}

#policy {
  margin-right: 80px;
}

@media only screen and (max-width: 1024px) {
  * {
    font-size: 1.1em;
  }
  nav {
    height: auto;
    width: 90%;
  }
  .logo {
    position: relative;
    left: 10px;
  }
  #container {
    width: 90%;
  }
  #explore {
    width: 90%;
  }
  #choose {
    height: auto;
    width: 90%;
  }
  .choose {
    width: 70%;
  }
  .footernav {
    font-size: 0.9em;
    margin: 30px;
  }
  .footernav ~ a {
    font-size: 0.7em;
  }
  #copyright,
  #policy,
  .last {
    font-size: 0.7em;
  }
  #footerdiv {
    flex-wrap: wrap;
  }
  #choose div:nth-child(odd) {
    margin-left: auto;
    margin-right: auto;
  }
  #choose div:nth-child(even) {
    margin-left: auto;
    margin-right: auto;
  }
  .choose {
    align-items: center;
    justify-content: center;
    width: 70%;
    float: none;
    display: flex;
    flex-wrap: wrap;
  }
  #container h2,
  #container div {
    position: relative;
    top: 80px;
    margin-left: 10px;
    font-size: 1.1em;
  }
  #container div {
    width: 40%;
  }
  #footer {
    height: 80%;
    width: 90%;
  }
}

@media only screen and (max-width: 500px) {
  * {
    font-size: 1em;
  }
  #container div {
    width: auto;
  }
  #footerdiv {
    flex-wrap: wrap;
  }
  #imagebg {
    width: 100%;
  }
  #choose {
    height: auto;
  }
  #choose h2,
  #choose h3 {
    color: whitesmoke;
  }
  #choose div:nth-child(odd) {
    margin-left: auto;
    margin-right: auto;
  }
  #choose div:nth-child(even) {
    margin-left: auto;
    margin-right: auto;
  }
  .choose {
    align-items: center;
    justify-content: center;
    width: 70%;
    float: none;
    display: flex;
    flex-wrap: wrap;
  }
  #container {
    height: 100%;
  }
  #imagebg {
    width: 90%;
  }
  #footer {
    height: 110%;
  }
  .footernav ~ a {
    display: none;
  }
}
