@import url("https://fonts.googleapis.com/css2?family=Great+Vibes&display=swap");

*,
*::before,
*::after {
  box-sizing: inherit;
  padding: 0 !important;
}
html {
  box-sizing: border-box;
}
html::-webkit-scrollbar {
  display: none;
}
/* loading animation */
#spinner   {  
  animation: spin 0.5s linear infinite;
}

@keyframes spin {
  100% {
      transform: rotate(360deg);
  }
}
.inline{
display: flex;
align-items: center;
justify-content: center;
height: 100vh;
background-image: url('./image/davao-local-craft-store-logo-zip-file/png/logo-color.png');
background-position: center;
background-size: cover;
background-attachment: fixed;
}

.spinner i{
font-size: 200px;
color: white;  
}

#home,
#top {
  background-image: url("./image/home\ background.png");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: fixed;
  position: relative;
  height: fit-content;
}
.header {
  font-family: monospace;
  text-transform: uppercase;
  display: flex;
  justify-content: space-between;
  font-size: 25px;
  background-color: rgba(0, 0, 0, 0.783);
  color: white !important;
  width: 100%;
  height: 40px;
  z-index: 99999999;
  position: sticky;
  top: 0;
  padding: 4px 100px !important;
  box-shadow: 0 0 8px 8px rgba(0, 0, 0, 0.783);
}
.brand img{
  height: 100%;
}
#menu {
  box-sizing: border-box;
  display: flex;
  position: absolute;
  right: 100px;
}
.menu-list {
  list-style-type: none;
  margin-bottom: 5px !important;
}
.menu-list a:hover {
  color: rgb(255, 0, 0) !important;
  transition: 0.3s ease-in-out;
}

.menu-list .dropdown .dropdown-link {
  display: none;
}
.menu-list:hover .dropdown .dropdown-link {
  display: block;
  color: rgb(255, 255, 255);
}
.dropdown {
  display: none;
  box-shadow: 0 5px 5px 5px rgba(0, 0, 0, 0.783) !important;
}
.menu-list:hover .dropdown {
  display: block;
}
.menu-link {
  text-decoration: none;
  color: white !important;
  padding: 0 10px !important;
}
.dropdown-list {
  background-color: rgba(0, 0, 0, 0.783) !important;
  padding: 5px !important;
  margin-bottom: 1px !important;
}
.dropdown-list,
.dropdown-link {
  list-style-type: none;
  text-decoration: none;
  color: rgb(255, 255, 255);
  text-align: center;
  z-index: 99;
  font-size: 15px;
}
.arrowDown {
  font-size: 15px;
}
.dropdown-link:hover {
  transform: scale(1.5);
  background-color: rgba(86, 64, 30, 0) !important;
  border-radius: 10px;
}
.menu-list .contact {
  background-color: white !important;
  color: rgb(255, 0, 0) !important;
  border-radius: 10px;
}
#hamburger {
  display: none;
}
#close {
  display: none;
}
/* ^^^^end of nav bar^^^^ */

/* home contents  *******************************/
#home-content {
  background-color: rgba(0, 0, 0, 0.778);
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
  height: 89vh;
  font-family: monospace;
  padding: 0 20px 0 !important;
}
.home-greetings h2 {
  font-size: 90px;
  font-weight: 900;
  color: #ff4057;
}
.home-greetings .p1 {
  font-family: "Great Vibes", cursive;
  font-weight: lighter;
  font-size: 80px;

  text-shadow: 5px 5px 5px rgb(0, 0, 0);
}
.home-greetings a {
  background-color: rgb(157, 0, 0);
  padding: 15px !important;
  color: white;
  border-radius: 20px;
  font-size: 30px;
  text-decoration: none;
  cursor: pointer;
}
.home-greetings a:hover {
  background-color: rgb(224, 2, 2);
}
/* about**************************** */
#about {
  color: white;
  background-color: rgb(0, 0, 0, 0.778);
  text-align: center;
  height: 70vh;
  box-shadow: 0 0 8px 8px rgba(0, 0, 0, 0.783);
}
#about h1 {
  font-size: 80px;
  color: #ff4057;
  font-family: monospace;
  font-weight: 800;
}

#about h2 {
  font-size: 50px;
  font-family:great vibes;
}
#about p {
  font-size: 30px;
  text-align: justify;
  margin: 0 50px;
}
/* product style/********************************** */
#product-content {
  background-color: rgb(0, 0, 0, 0.778);
  height: fit-content;
  padding: 0 100px !important;
}

#product-content h2 {
  padding: 50px 0 0 !important;
  color: white;
  font-size: 70px;
  font-family: cursive;
  font-weight: 700;
  font-style: italic;
  text-align: center;
}
.description {
  color: white;
  font-size: 20px;
  font-family: monospace;
  text-indent: 100px;
}
.product-container {
  display: flex;
  width: 100%;
  flex-wrap: wrap;
  justify-content:first baseline;
}
.product {
  box-sizing: border-box;
  background-color: rgba(255, 0, 0, 0.285);
  width: 24%;
  height: fit-content;
  border: 2px solid black;
  padding: 30px !important;
  border-radius: 10px;
  color: white;
  margin: 0 0.5% 10px;
  
  display: flex;
  flex-direction: column;
}
.product img {
  width: 100%;
  height: 450px;
  border-radius: 10px;
}
.product .product-title {
  font-size: 30px;
  text-align: center;
}
.product-price {
  font-size: 25px;
}
.product-description {
  font-size: 20px;
}

footer {
  text-align: center;
  width: 100%;
  color: white;
  background-color: black;
  height: fit-content;
}
footer p {
  font-size: 20px;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0;
  padding: 10px 0 !important;
}
hr {
  border: 1px solid white !important;
}
/* alert *************************************************/
.swal-modal {
  padding: 20px !important;
  box-shadow: 0 0 10px 5px red;
}
.swal-button {
  padding: 10px 24px !important;
  background-color: red;
}
.swal-button:hover {
  padding: 10px 24px !important;
  background-color: rgb(255, 62, 62) !important;
}
/******************** CONTACT PAGE STYLE *****************************/
#contact {
  width: 100%;
  height: 90vh;
  display: flex;
  justify-content: center;
  color: white;
  
}
.contact-container {
  margin: 100px;
  padding: 50px !important;
  width: 500px;
  border: 2px inset rgb(255, 255, 255);
  border-radius: 15px;
  background-color: rgba(0, 0, 0, 0.778);
  box-shadow: -5px 5px 5px 5px rgba(0, 0, 0, 0.472);
  height: fit-content;
}
.contact-detail-container {
  margin: 50px 0;
  padding: 50px !important;
  width: fit-content;
  border: 2px inset rgb(255, 255, 255);
  border-radius: 15px;
  background-color: rgba(0, 0, 0, 0.778);
  box-shadow: -5px 5px 5px 5px rgba(0, 0, 0, 0.472);
  height: fit-content;
}
.contact-form {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.contact-form h1 {
  text-align: center;
  color: rgb(255, 255, 255);
  text-shadow: -5px 5px 5px black;
  font-weight: 700;
  letter-spacing: 10px;
  font-size: 70px;
}
.contact-form p {
  font-family: "Great Vibes", cursive;
  font-size: 20px;
  letter-spacing: 2px;
  text-align: center;
  color: red;
}
.contact-form #name,
.contact-form #email,
.contact-form #phone,
.contact-form #message {
  padding: 10px !important;
  border-radius: 5px;
  width: 80%;
  border: 3px solid grey;
}
.contact-form #name:focus,
.contact-form #email:focus,
.contact-form #phone:focus,
.contact-form #message:focus {
  border: 2px solid red;
  outline: none;
}
.contact-form button {
  padding: 10px !important;
  background: red;
  color: white;
  border-radius: 5px;
  width: 100px;
}
.contact-form button:hover {
  background: rgb(255, 55, 55);
  color: rgb(255, 255, 255);
}

/* contact details */
.contact-detail-container {
  line-height: 1.5;
}
.contact-detail-container h1 {
  text-align: center;
  color: rgb(255, 255, 255);
  text-shadow: -5px 5px 5px black;
  font-weight: 700;
  letter-spacing: 10px;
  font-size: 70px;
}

.contact-detail-container p {
  margin: 0 0 0 20px;
}
.working-hours {
  display: flex;
}

/****************Carousel inside the product ************************/

/* Large devices such as laptops (1024px and up) */
@media (max-width: 1000px) {
  .header {
    padding: 5px 50px !important;
    font-size: 20px !important;
    height: 40px;
  }
  .dropdown-link {
    font-size: 12px;
  }
  .arrowDown {
    font-size: 10px;
  }
  #hamburger {
    display: none;
  }
  #close {
    display: none;
  }
  #menu {
    position: absolute;
    right: 50px;
  }
}

/* about******************************* */

/* Medium devices such as tablets (768px and up) */
@media (max-width: 767px) {
  .header {
    padding: 5px 10px !important;
    font-size: 20px !important;
    height: 40px;
  }
  .arrowDown {
    font-size: 10px;
  }
  #close {
    position: absolute;
    top: 5px;
    right: 20px;
  }
  #hamburger {
    display: none;
  }
  #close {
    display: none;
  }
  #menu {
    position: absolute;
    right: 10px;
  }
  #first-category {
    padding: 10px !important;
  }
  /* contact  */
  #contact {
    display: block;
    box-sizing: border-box;

    height: fit-content;
  }
  .contact-container,
  .contact-detail-container {
    width: 100%;
    padding: 30px 15px !important;
    margin: 30px 0 0;
  }
  .contact-form h1,
  .contact-detail-container h1 {
    font-size: 30px;
  }
  .contact-form p,
  .contact-detail-container p {
    font-size: 18px;
  }
}

@media (min-width: 200px) and (max-width: 576px) {
  .header {
    padding: 5px 10px !important;
    font-size: 18px;
    height: 36px;
  }
  #hamburger {
    display: block;
    position: absolute;
    top: 5px;
    right: 20px;
  }
  #menu {
    display: none;
  }
  .arrowDown {
    font-size: 9px;
  }
  .dropdown a {
    box-shadow: 0 0 0 0 !important;
    text-align: start;
  }
  #close {
    position: absolute;
    top: 5px;
    right: 20px;
  }

  /* home content mobile size */
  #home-content {
    height: 96vh;
    display: block;
    padding: 80px 10px 0 !important;
    position: relative;
  }
  .home-greetings h2 {
    font-size: 40px;
  }
  .home-greetings .p1 {
    font-size: 30px;
  }
  .home-greetings a {
    font-size: 15px;
    padding: 10px !important;
  }

/* about******************** */
#about h1{
font-size: 50px;
}
#about p{
  font-size: 15px;
  margin: 0 20px;
}

/* loading */
.inline {
  background-image: url('./image/davao-local-craft-store-logo-zip-file/png/mobile_loading.png');
  align-items: baseline;
  padding-top: 250px !important;
}
.spinner i{
  font-size: 100px;
}

/* product section style  */
#product-content {
  padding: 0 20px 0 !important;
}
.description {
  font-size: 12px;
  text-align: justify;
  text-indent: 0;
}
#product-content h2 {
  font-size: 30px;
  padding-top: 10px !important;
}
.product {
  width: 49%;
  height: fit-content;
  padding: 5px !important;
}
.product img {
  height: 100%;
}
.product .product-title {
  font-size: 14px;
  font-weight: bold;
  text-align: left;
  margin: 0;
}
.product-price {
  font-size: 13px;
  margin: 0;
}
.product-description {
  font-size: 12px;
  margin: 0;
}

  footer p {
  font-size: 12px;
  }



  /* contact **********************************/
  #contact {
    display: block;
    box-sizing: border-box;
    height: fit-content;
  }
  .contact-container,
  .contact-detail-container {
    width: 100%;
    padding: 30px 15px !important;
    margin: 30px 0 30px;
  }
  .contact-form h1,
  .contact-detail-container h1 {
    font-size: 30px;
  }
  .contact-form p,
  .contact-detail-container p {
    font-size: 15px;
  }

  .contact-detail-container h3 {
    margin: 5px 0 0;
  }
  .swal-modal {
    width: 80%;
    margin: 20px;
    border-radius: 5%;
    position: absolute;
    top: 10%;
    left: 5%;
    right: 5%;
  }
  .swal-button {
    border-radius: 15%;
  }
}
