
/* Fonts */
:root {
  /* "Open Sans", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"; */
  --default-font: "Trebuchet MS", Helvetica, sans-serif;
  /* "Montserrat", sans-serif; */
  --heading-font: "Geneva", Verdana, sans-serif; 
  /* "Lato", sans-serif; */
  --nav-font: Arial, Helvetica, sans-serif; 
}

/* Global Colors */
:root {
  --background-color: #ffffff;
  --background-color-rgb: 255, 255, 255;
  --background-color-middel: #F6F6F6;
  --background-color-middel-rgb: 246, 246, 246;
  --default-color: #212529;
  --default-color-rgb: 33, 37, 41;
  --accent-color: #5785AD;
  --accent-color-rgb: 87, 133, 173;
  --accent-mutted-color: #355169;
  --accent-mutted-color-rgb: 53, 81, 105;
  --accent-over-color: #689FCF;
  --accent-over-color-rgb: 104, 159, 207;
  --heading-color: #32353a;
  --heading-color-rgb: 50, 53, 58;
  --contrast-color: #ffffff;
  --contrast-color-rgb: 255, 255, 255;
}

/* Smooth scroll */
:root {
  scroll-behavior: smooth;
}

body {
  /* color: var(--default-color); */
  background-color: var(--background-color);
  font-family: var(--default-font);
}

a {
  color: var(--heading-color)!important;
  text-decoration: none!important;
  transition: 0.3s;
}

a:hover {
  color: rgba(var(--accent-color-rgb), 0.7)!important;
  text-decoration: none!important;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--heading-color);
  font-family: var(--heading-font);
}

section:not(.principal) {
  padding: 40px 0 50px 0;
  /* padding: 160px 0 80px 0; */
  margin-bottom: 80px;
}

section p:first-of-type, h3:first-of-type {
  text-align: center;
  margin: 30px 0px 45px 0px;
}

section:not(.principal) h3:first-of-type {
  font-size: 32px;
  font-weight: 400;
  position: relative;
  &::before, 
  &::after {
    content: "";
    width: 100px;
    height: 2px;
    background: var(--accent-color);
    display: inline-block;
  }
  &::before { 
  margin: 0 15px 10px 0; 
  }
  &::after { 
    margin: 0 0 10px 15px;
  }
}

/*--------------------------------------------------------------
# Global Header
--------------------------------------------------------------*/
.header {
  --background-color: #ffffff;
  color: var(--default-color);
  background-color: var(--background-color);
  padding: 15px 0;
  transition: all 0.5s;
  z-index: 997;
}

.header .nav-home {
  max-height: 50px;
}

.header .nav-home h1 {
  font-size: 24px;
  margin: 0;
  padding: 10px 5px;
  font-weight: 600;
  color: var(--heading-color);
}


.navmenu ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
  display: flex;
  list-style: none;
  align-items: center;
}


.navmenu li {
  float: left;
  position: relative;
}


.navmenu a {
  padding: 18px 15px;
}

.navmenu .dropdown .dropdown-content {
  display: none;
  position: absolute;
  background-color: var(--background-color);
  min-width: 150px;
  border-radius: 8px;
  box-shadow: 0px 3px 5px 3px rgba(var(--heading-color-rgb), 0.1);
  padding: 12px 16px;
  z-index: 1;
}

.navmenu .dropdown:hover .dropdown-content {
  display: block;
}

.dropdown-content hr {
  display: block;
  width: 100%;
  clear: both;
  margin: 3px 2px;
  margin-top: 5px;
}
.navmenu .dropdown ul li {
  padding: 5px 5px;
}

.navmenu .dropdown ul a {
  font-size: 15px;
  text-transform: none;
}

/*--------------------------------------------------------------
# Cart Button
--------------------------------------------------------------*/

.cart-btn {
  background-color: var(--accent-color);
  color: var(--contrast-color);
  margin-right: 10px;
  padding: 5px 20px;
  border: 2px solid var(--accent-color);
  font-size: 16px;
  border-radius: 8px;
  transition-duration: 0.4s;
}

.cart-btn:hover {
  background-color: var(--contrast-color);
  color: var(--accent-color);
  border: 2px solid var(--accent-color);
}


/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
.footer {
  --background-color: #f4f4f4;
  width: 100%;
  height: 200px;
  color: var(--default-color);
  background-color: rgba(var(--heading-color-rgb), 0.3);
  font-size: 14px;
  padding-bottom: 50px;
}

/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/
.hero {
  --default-color: #ffffff;
  --default-color-rgb: 255, 255, 255;
  --background-color: #000000;
  --background-color-rgb: 0, 0, 0;
  width: 100%;
  min-height: 100vh;
  position: relative;
  /* padding: 160px 0 80px 0; */
  display: flex;
  align-items: center;
  justify-content: center;
}


.hero img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover;
  z-index: 1;
}

.hero:before {
  content: "";
  background: rgba(var(--background-color-rgb), 0.3);
  position: absolute;
  inset: 0;
  z-index: 2;
}

.hero .container {
  position: relative;
  z-index: 3;
  align-self: center;
  align-items: center;
}

.hero h2 {
  text-align: center;
  color: var(--contrast-color);
  margin: 0;
  font-size: 44px;
  font-weight: 700;
}

.hero p {
  text-align: center;
  color: rgba(var(--default-color-rgb), 0.8);
  margin: 5px 0 0 0;
  font-size: 20px;
}

/*--------------------------------------------------------------
# About Section
--------------------------------------------------------------*/
.about {
  background: rgba(var(--background-color-rgb), 0.2);
  width: 100%;
  position: relative;
  padding: 80px 0 40px 0;
  display: flex;
}

.about .about-comment {
  padding: 25px;
  border-radius: 2px;
  height: auto;
  background: rgba(var(--background-color-middel-rgb), 1);
  box-shadow: 15px 5px 35px 35px rgba(var(--heading-color-rgb), 0.1);
}

.about .about-comment .child-comment {
  display: block;
  overflow: auto;
}

.about .about-comment .child-comment .comment {
  max-width: 800px;
  display: flex;
  margin: 15px 20px;
  border-radius: 2px;
  transition: all 0.4s ease-out 0s;
}

.about .comment h4:first-of-type {
  align-items: center;
  justify-content: center;
  border-radius: 2px;
  background-color: rgba(var(--accent-over-color-rgb), 0.1);
  align-self: center;
  margin: 0 20px;
  padding: 10px;
  transition: all 0.4s ease-out 0s;
}

.about .comment p:first-of-type {
  margin: 10px 25px;
}

.about .about-comment .child-comment .comment:hover {
  /* background: rgba(var(--accent-color-rgb), 0.5); */
  box-shadow: 1px 1px 15px 15px rgba(var(--accent-over-color-rgb), 0.1);
  cursor: context-menu;
}
.about .about-comment .child-comment .comment:hover h4:first-of-type {
  background-color: rgba(var(--accent-over-color-rgb), 0);
}

.about .about-comment .child-comment .comment:nth-child(1n) {
  float: left;
  flex-direction: row-reverse;
  text-align: right;
}

.about .about-comment .child-comment .comment:nth-child(2n) {
  float: right;
  text-align: left;
  flex-direction: unset;
}

/*--------------------------------------------------------------
# Principal Section
--------------------------------------------------------------*/
.principal {
  padding: 80px 0;
  position: relative;
  -webkit-clip-path: inset(0);
  clip-path: inset(0);
  color: var(--background-color);
}

.principal img {
  position: fixed;
  top: 0;
  left: 0;
  display: block;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover;
  z-index: 1;
}

.principal:before {
  content: "";
  margin-bottom: 0;
  background: rgba(var(--heading-color-rgb), 0.6);
  position: absolute;
  inset: 0;
  z-index: 2;
}

.principal .container {
  position: relative;
  z-index: 3;
}

.principal p, h3 {
  text-align: center;
  margin: 30px 0px 45px 0px;
}

.principal .principal-row {
  margin-top: 1rem;
  justify-content: space-between;
}

.principal .principal-row .principal-box {
  min-height: 150px;
  padding: 1rem 1rem;
  margin: 2rem 0;
  display: block;
  border-radius: 3px;
  align-content: space-around;
  border: 1px solid var(--accent-over-color);
  background-color: rgba(var(--background-color-rgb), 0.1);
}

.principal .principal-row .principal-box i {
  font-size: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-over-color);
  transition: all 0.4s ease-out 0s;
  padding-bottom: 1rem;
}

.principal .principal-row .principal-box strong {
  color: var(--background-color);
  text-align: center;
  display: flex;
  justify-content: center;
}

/*--------------------------------------------------------------
# Catalog Section
--------------------------------------------------------------*/
.catalog {
  background: rgba(var(--default-color-rgb), 0.1);
  background: rgba(var(--background-color-middel-rgb), 1);
}

.catalog .slideshow-container {
  /* min-height: 100%; */
  min-width: 100%;
  max-width: 100%;
  max-height: 600px;
  position: relative;
  margin: auto;
  overflow: hidden;
}

.catalog .slideshow-container .slide {
  display: none;
  animation-name: fade;
  animation-duration: 1.5s;
}

.catalog .slideshow-container .slide .a:hover {
  text-decoration: none;
  cursor: pointer;
}

.catalog .slideshow-container .slide .slide-img {
  vertical-align: middle;
  min-height: 100%;
  min-width: 100%;
  transform: translate(0, -25%);
}

/* Next & previous buttons */
.catalog .slideshow-container .prev, .next {
  cursor: pointer;
  position: absolute;
  top: 0;
  width: 50px;
  padding: 300px 16px;
  margin-top: -22px;
  color: rgba(var(--background-color-rgb), 1);
  background-color: rgba(var(--default-color-rgb), 0.8);
  font-weight: bold;
  font-size: 18px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  /* user-select: none; */
}

/* Position the "next button" to the right */
.catalog .slideshow-container .next {
  right: 0;
  border-radius: 3px 0 0 3px;
}

/* On hover, add a black background color with a little bit see-through */
.catalog .slideshow-container .prev:hover, .next:hover {
  background-color: rgba(var(--default-color-rgb), 0.8);
}

.catalog .slideshow-container .slide .caption {
  background-color: rgba(var(--contrast-color-rgb), 0.3);
  color: var(--heading-color-rgb);
  font-size: 25px;
  padding: 8px 12px;
  position: absolute;
  bottom: 5px;
  width: 100%;
  text-align: center;
}

.catalog .container-fluid .container-dot {
  margin: 10px 0;
}

.catalog .container-fluid .dot {
  cursor: pointer;
  height: 15px;
  width: 15px;
  margin: 0 2px;
  background-color: var(--accent-over-color);
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease;
}

.catalog .container-fluid .active, 
.catalog .container-fluid .dot:hover {
  background-color: var(--accent-color);
}

@keyframes fade {
  from {opacity: .4} 
  to {opacity: 1}
}

@media only screen and (max-width: 300px) {
  .prev, .next, .caption {font-size: 11px}
}

/*--------------------------------------------------------------
# Contact Section
--------------------------------------------------------------*/
.contact .principal-row {
  margin-top: 1rem;
  justify-content: space-between;
}