/* Variables and Fonts */
@font-face {
  font-family: Allura;
  src: url(../fonts/Allura-Regular.ttf);
}

@font-face {
  font-family: Montserrat;
  src: url(../fonts/Montserrat-VariableFont_wght.ttf);
}

@font-face {
  font-family: Montserrat SemiBold;
  src: url(../fonts/Montserrat-VariableFont_wght.ttf);
  font-weight: 600;
}

@font-face {
  font-family: Montserrat Bold;
  src: url(../fonts/Montserrat-VariableFont_wght.ttf);
  font-weight: 700;
}

:root {
  --Main_Color: rgb(101, 19, 24);
  --Secondary_Color: rgb(29, 29, 27);
}

/* Header and General Properties */

* {
  box-sizing: border-box;
}

h1,
h2 {
  font-family: Montserrat Bold;
}

body {
  font-family: Montserrat;
  background-color: #e8ecf2;
  position: relative;
}

body.en-page {
  font-family: Montserrat;
  border-color: rgba(0, 0, 0, 0);
}

div#main {
  position: relative;
  padding-left: 0px;
  padding-right: 0px;
  background-color: white;
}

.row {
  margin-right: auto;
  margin-left: auto;
  vertical-align: center;
  position: relative;
}

div.row.page-start {
  padding-top: 150px;
}

#backdrop {
  padding: 0px;
  background-size: cover;
  margin: 0px;
  padding: 0px;
}

nav {
  height: 120px;
  border: 0px;
  padding-left: 20%;
}

header {
  background-color: rgb(0, 0, 0);
  position: relative;
}

div#navbarSupportedContent.collapse.navbar-collapse {
  clear: both;
  float: left;
  width: 100%;
}

.navbar-default .navbar-toggle:focus,
.navbar-default .navbar-toggle:hover {
  background-color: #f2f4f7;
}

ul.nav.navbar-nav {
  width: 100%;
  padding: 10px 25px 10px 25px;
  white-space: nowrap;
}

div#navbarSupportedContent.collapse.navbar-collapse li {
  border: none;
  padding: none;
  width: 100%;
}

div#navbarSupportedContent.collapse.navbar-collapse li a {
  color: var(--Main_Color);
  font-weight: medium;
  min-width: 120px;
  font-size: 18px;
  width: 100%;
  text-align: center;
}

div#navbarSupportedContent.collapse.navbar-collapse li a:hover,
div#menu-items.collapse.navbar-collapse li a:focus,
div#navbarSupportedContent.collapse.navbar-collapse li a.active {
  color: var(--Main_Color);
  font-weight: bold;
}

.mainFont-bold {
  font-family: Montserrat Bold;
}

.cursive {
  font-family: Allura;
}

.main-color {
  color: var(--Main_Color);
}

.white {
  color: white;
}

div.img-container {
  padding: 10px;
}

.stick-left {
  padding-left: 0px;
}

.stick-right {
  padding-right: 0px;
}

/* Main Content */

div#ourStory {
  color: black;
  background-color: rgba(255, 255, 255, 40%);
  padding-top: 90px;
  padding-bottom: 10px;
  padding-left: 20%;
  padding-right: 20%;
}

div#overlay {
  padding: 0;
  background-color: white;
  background-image: url("../images/ourStory_back.webp"); /* The image used */
  background-position: top right;
  background-repeat: no-repeat; /*Do not repeat the image */
  background-size: 45% 55%; /* Resize the background image to fit */
}

div.img-text-container {
  position: relative;
  margin-top: 120px;
}

div.inner-text {
  color: var(--Secondary_Color);
  position: absolute;
  top: 10px;
  left: 7%;
  padding: 30px;
  font-family: Montserrat SemiBold;
}

div#vision-text {
  margin-top: 20px;
}

div#vision p {
  font-size: 18px;
}

#vision-moto {
  font-size: 4em;
}

div#contact-bg {
  padding: 0px;
  margin-bottom: 0px;
}

div#contact-bg img {
  height: 80%;
}

button.btn-reg {
  background-color: var(--Main_Color);
  color: white;
  border-color: var(--Main_Color);
  float: left;
  border-radius: 15px;
  padding: 3%;
  font-family: Montserrat Bold;
}

button.btn-reg:hover {
  background-color: white;
  color: var(--Main_Color);
  border-color: var(--Main_Color);
}

div#products {
  margin-top: 20px;
  padding-top: 30px;
  padding-bottom: 30px;
}

div#products-title {
  padding-top: 50px;
  padding-bottom: 50px;
  background-image: url("../images/products_back.webp"); /* The image used */
  background-position: center; /* Center the image */
  background-repeat: no-repeat; /* Do not repeat the image */
  background-size: 110% 110%; /* Resize the background image to cover the entire container */
}

div#prod-circ {
  margin-top: -40px;
}

div#contactus {
  padding-top: 50px;
  padding-bottom: 50px;
  background-image: url("../images/contact-bg.webp"); /* The image used */
  background-position: center; /* Center the image */
  background-repeat: no-repeat; /* Do not repeat the image */
  background-size: cover;
}

div.row.content {
  padding-bottom: 30px;
}

form#contactus-form input {
  background-color: white;
}

form#contactus-form label {
  color: var(--Secondary_Color);
  font-size: 20px;
  text-align: left;
}

form#contactus-form input:hover,
form#contactus-form input:focus {
  border-color: var(--Main_Color);
  border-width: 0.1em;
}

div.form-section {
  margin-top: 10px;
  margin-bottom: 20px;
}

form#contactus-form button {
  background-color: var(--Main_Color);
  color: white;
  border-color: var(--Main_Color);
  float: left;
  border-radius: 15px;
  padding: 3%;
  font-family: Montserrat Bold;
}

form#contactus-form button:hover {
  background-color: white;
  color: var(--Main_Color);
  border-color: var(--Main_Color);
}

/* Products Pages */
#prod-titlebar {
  position: relative;
  width: 25vw;
  height: 8vh;
  background-color: var(--Main_Color);
  margin-bottom: 30px;
}

#prod-titlebar h3 {
  padding-top: 2%;
  padding-bottom: 2%;
  padding-left: 35%;
  font-family: Montserrat Bold;
  margin-bottom: 0px;
}

#angle {
  position: absolute;
  right: -1px;
  top: 1px;
  border-top: 8vh solid transparent;
  border-right: 3vw solid white;
  border-left: 0px transparent;
  border-bottom: 0px transparent;
  height: 0px;
  width: 2px;
}

span.img-caption {
  font-size: 6px;
  font-family: Montserrat SemiBold;
}

p.prod-message {
  font-family: Montserrat;
  font-size: 26px;
  color: var(--Secondary_Color);
  margin-bottom: 30px;
}

/* Footer */

footer.panel-footer {
  padding-top: 20px;
  background-color: white;
  border-color: white;
  font-family: Montserrat SemiBold;
  padding-bottom: 40px;
}

footer.panel-footer p {
  margin-bottom: 0px;
}

img.footer-icon {
  width: 60%;
  height: 60%;
}

footer.panel-footer div.row,
footer.panel-footer div.row a {
  margin-top: 10px;
  font-size: 16px;
  color: var(--Secondary_Color);
  position: relative;
}

h1 a:link {
  text-decoration: none;
}
h1 a:visited {
  text-decoration: none;
}
button.btn-reg a:link {
  text-decoration: none;
}
button.btn-reg a:visited {
  text-decoration: none;
}

/* Media Queries */

/* For Large devices*/
@media (min-width: 992px) and (max-width: 1439px) {
  h1 {
    font-size: 30px;
  }

  h2 {
    font-size: 26px;
  }

  nav {
    padding-left: 10%;
  }

  div#ourStory p {
    font-size: 14px;
  }

  footer.panel-footer div.row,
  footer.panel-footer div.row a {
    font-size: 12px;
  }

  div#vision p {
    font-size: 13px;
  }

  #vision-moto {
    font-size: 3em;
  }

  span.prod-subtitle {
    font-size: 12px;
  }

  p.prod-message {
    font-size: 20px;
  }
}

/* For tablet view */
@media (min-width: 768px) and (max-width: 991px) {
  nav {
    padding-left: 10%;
  }

  nav {
    font-size: 14px;
  }

  h1 {
    font-size: 30px;
  }

  h2 {
    font-size: 26px;
  }

  button.navbar-toggler,
  ul.dropdown-menu.dropdown-user {
    border: 2px solid var(--Main_Color);
  }

  button.navbar-toggler:hover,
  button.navbar-toggler:focus {
    box-shadow: 0 0 0 0.15rem var(--Main_Color);
  }

  div#navbarSupportedContent.collapse.navbar-collapse li a,
  ul.dropdown-menu {
    color: white;
    background-color: var(--Main_Color);
  }

  div#navbarSupportedContent.collapse.navbar-collapse li a:hover,
  div#menu-items.collapse.navbar-collapse li a:focus,
  div#navbarSupportedContent.collapse.navbar-collapse li a.active {
    color: #928177;
    background-color: var(--Secondary_Color);
  }

  ul.dropdown-menu.dropdown-user {
    padding-top: 10px;
    padding-left: 20%;
    margin: 0px;
  }

  footer.panel-footer div.row,
  footer.panel-footer div.row a {
    font-size: 12px;
  }

  div#ourStory {
    padding-top: 60px;
    padding-bottom: 10px;
    padding-left: 10%;
    padding-right: 10%;
  }

  div#overlay {
    background-size: 45% 45%; /* Resize the background image to fit */
  }

  div#ourStory p {
    font-size: 14px;
  }

  img.footer-icon {
    width: 80%;
    height: 80%;
  }

  div#vision p {
    font-size: 11px;
  }

  #vision-moto {
    font-size: 2em;
  }

  div#vision-icon {
    padding-left: 30px;
    padding-right: 30px;
  }

  span.prod-subtitle {
    font-size: 10px;
  }

  p.prod-message {
    font-size: 16px;
  }

  div.inner-text {
    left: 1%;
    padding: 10px;
  }

  span.img-caption {
    font-size: 5px;
    font-family: Montserrat Bold;
  }

  #prod-titlebar h3 {
    font-size: 22px;
    padding-left: 8%;
    padding-top: 10px;
  }

  div#contact-bg img {
    max-height: 430px;
  }
}

@media (min-width: 421px) and (max-width: 999px) {
  nav {
    padding-left: 10%;
    font-size: 14px;
    height: 100px;
  }

  div#home {
    margin-top: 80px;
  }

  h1 {
    font-size: 26px;
  }

  h2 {
    font-size: 20px;
  }

  h3 {
    font-size: 16px;
  }

  button.navbar-toggler,
  ul.dropdown-menu.dropdown-user {
    border: 2px solid var(--Main_Color);
  }

  button.navbar-toggler:hover,
  button.navbar-toggler:focus {
    box-shadow: 0 0 0 0.15rem var(--Main_Color);
  }

  div#navbarSupportedContent.collapse.navbar-collapse li a,
  ul.dropdown-menu {
    color: white;
    background-color: var(--Main_Color);
  }

  div#navbarSupportedContent.collapse.navbar-collapse li a:hover,
  div#menu-items.collapse.navbar-collapse li a:focus,
  div#navbarSupportedContent.collapse.navbar-collapse li a.active {
    color: #928177;
    background-color: var(--Secondary_Color);
  }

  ul.dropdown-menu.dropdown-user {
    padding-top: 10px;
    padding-left: 20%;
    margin: 0px;
  }

  footer.panel-footer div.row,
  footer.panel-footer div.row a {
    font-size: 10px;
  }

  div#ourStory {
    padding-top: 40px;
    padding-bottom: 10px;
    padding-left: 5%;
    padding-right: 5%;
  }

  div#overlay {
    background-size: 40% 50%; /* Resize the background image to fit */
  }

  button.btn-reg {
    font-size: 12px;
  }

  div#ourStory p {
    font-size: 12px;
  }

  div#products {
    margin-top: 10px;
    padding-top: 20px;
    padding-bottom: 20px;
  }

  div#products-title {
    padding-top: 20px;
    padding-bottom: 20px;
    background-size: 100% 100%; /* Resize the background image to cover the entire container */
  }

  div#prod-circ {
    margin-top: -20px;
  }

  img.footer-icon {
    width: 50%;
    height: 50%;
  }

  div.img-text-container {
    margin-top: 100px;
  }

  div#vision-txtcontainer {
    height: 100vh;
  }

  div#mission-txtcontainer {
    height: 80vh;
  }

  div#vision p {
    font-size: 10px;
  }

  #vision-moto {
    font-size: 1.8em;
  }

  div#vision-icon {
    padding-left: 10px;
    padding-right: 10px;
  }

  span.prod-subtitle {
    font-size: 8px;
  }

  p.prod-message {
    font-size: 12px;
  }

  div.inner-text {
    top: 0px;
    left: 0;
    padding: 5px;
  }

  span.img-caption {
    font-size: 5px;
    font-family: Montserrat Bold;
  }

  #prod-titlebar {
    width: 40vw;
    height: 6vh;
    background-color: var(--Main_Color);
    margin-bottom: 30px;
  }

  #prod-titlebar h3 {
    font-size: 16px;
    padding-left: 5vw;
    padding-top: 10px;
  }

  div#contact-bg img {
    max-height: 324px;
  }
}

@media (max-width: 420px) {
  nav {
    padding-left: 2%;
    font-size: 12px;
    height: 90px;
  }

  h1 {
    font-size: 22px;
  }

  h2 {
    font-size: 16px;
  }

  h3 {
    font-size: 12px;
  }

  div#home {
    margin-top: 40px;
  }

  button.navbar-toggler,
  ul.dropdown-menu.dropdown-user {
    border: 2px solid white;
  }

  button.navbar-toggler:hover,
  button.navbar-toggler:focus {
    box-shadow: 0 0 0 0.15rem var(--Main_Color);
  }

  div#navbarSupportedContent.collapse.navbar-collapse li a,
  ul.dropdown-menu {
    color: var(--Main_Color);
    background-color: white;
  }

  div#navbarSupportedContent.collapse.navbar-collapse li a:hover,
  div#menu-items.collapse.navbar-collapse li a:focus,
  div#navbarSupportedContent.collapse.navbar-collapse li a.active {
    color: #928177;
    background-color: var(--Secondary_Color);
  }

  ul.dropdown-menu.dropdown-user {
    padding-top: 10px;
    padding-left: 20%;
    margin: 0px;
  }

  footer.panel-footer div.row,
  footer.panel-footer div.row a {
    font-size: 10px;
  }

  div#ourStory {
    padding-top: 20px;
    padding-bottom: 10px;
    padding-left: 5%;
    padding-right: 5%;
  }

  div#overlay {
    background-size: 45% 45%; /* Resize the background image to fit */
  }

  button.btn-reg {
    font-size: 10px;
  }

  div#ourStory p {
    font-size: 8px;
    font-family: Montserrat SemiBold;
  }

  div.img-container {
    padding: 5px;
  }

  div#products {
    margin-top: 10px;
    padding-top: 20px;
    padding-bottom: 20px;
  }

  div#products-title {
    padding-top: 15px;
    padding-bottom: 15px;
    background-size: 100% 100%; /* Resize the background image to cover the entire container */
  }

  div#prod-circ {
    margin-top: -25px;
    padding: 0px;
  }

  div#prod-circ div {
    padding: 5px;
  }

  img.footer-icon {
    width: 50%;
    height: 50%;
  }

  div#contactus label.form-label {
    font-size: 14px;
  }

  div.img-text-container {
    margin-top: 100px;
  }

  div#vision-txtcontainer {
    margin-top: 90px;
    height: 100vh;
  }

  div#mission-txtcontainer {
    margin-top: 90px;
    height: 72vh;
  }

  div#vision p {
    font-size: 9px;
  }

  #vision-moto {
    font-size: 1.8em;
  }

  div#vision-icon {
    padding-left: 10px;
    padding-right: 10px;
  }

  span.prod-subtitle {
    font-size: 8px;
  }

  p.prod-message {
    font-size: 12px;
  }

  div.inner-text {
    top: 0px;
    left: 0;
    padding: 5px;
  }

  span.img-caption {
    font-size: 5px;
    font-family: Montserrat Bold;
  }

  #prod-titlebar {
    width: 40vw;
    height: 6vh;
    background-color: var(--Main_Color);
    margin-bottom: 30px;
  }

  #prod-titlebar h3 {
    font-size: 16px;
    padding-left: 5vw;
    padding-top: 10px;
  }

  div#contact-bg img {
    max-height: 180px;
  }
}
@media (max-width: 990px) {
  nav {
    padding-left: 2%;
    font-size: 12px;
    height: 90px;
  }

  h1 {
    font-size: 22px;
  }

  h2 {
    font-size: 16px;
  }

  h3 {
    font-size: 12px;
  }

  div#home {
    margin-top: 40px;
  }

  button.navbar-toggler,
  ul.dropdown-menu.dropdown-user {
    border: 2px solid white;
  }

  button.navbar-toggler:hover,
  button.navbar-toggler:focus {
    box-shadow: 0 0 0 0.15rem var(--Main_Color);
  }

  div#navbarSupportedContent.collapse.navbar-collapse li a,
  ul.dropdown-menu {
    color: var(--Main_Color);
    background-color: white;
  }

  div#navbarSupportedContent.collapse.navbar-collapse li a:hover,
  div#menu-items.collapse.navbar-collapse li a:focus,
  div#navbarSupportedContent.collapse.navbar-collapse li a.active {
    color: #928177;
    background-color: var(--Secondary_Color);
  }

  ul.dropdown-menu.dropdown-user {
    padding-top: 10px;
    padding-left: 20%;
    margin: 0px;
  }

  footer.panel-footer div.row,
  footer.panel-footer div.row a {
    font-size: 10px;
  }

  div#ourStory {
    padding-top: 20px;
    padding-bottom: 10px;
    padding-left: 5%;
    padding-right: 5%;
  }

  div#overlay {
    background-size: 45% 45%; /* Resize the background image to fit */
  }

  button.btn-reg {
    font-size: 10px;
  }

  div#ourStory p {
    font-size: 8px;
    font-family: Montserrat SemiBold;
  }

  div.img-container {
    padding: 5px;
  }

  div#products {
    margin-top: 10px;
    padding-top: 20px;
    padding-bottom: 20px;
  }

  div#products-title {
    padding-top: 15px;
    padding-bottom: 15px;
    background-size: 100% 100%; /* Resize the background image to cover the entire container */
  }

  div#prod-circ {
    margin-top: -25px;
    padding: 0px;
  }

  div#prod-circ div {
    padding: 5px;
  }

  img.footer-icon {
    width: 50%;
    height: 50%;
  }

  div#contactus label.form-label {
    font-size: 14px;
  }

  div.img-text-container {
    margin-top: 100px;
  }

  div#vision-txtcontainer {
    margin-top: 90px;
    height: 100vh;
  }

  div#mission-txtcontainer {
    margin-top: 90px;
    height: 72vh;
  }

  div#vision p {
    font-size: 9px;
  }

  #vision-moto {
    font-size: 1.8em;
  }

  div#vision-icon {
    padding-left: 10px;
    padding-right: 10px;
  }

  span.prod-subtitle {
    font-size: 8px;
  }

  p.prod-message {
    font-size: 12px;
  }

  div.inner-text {
    top: 0px;
    left: 0;
    padding: 5px;
  }

  span.img-caption {
    font-size: 5px;
    font-family: Montserrat Bold;
  }

  #prod-titlebar {
    width: 40vw;
    height: 6vh;
    background-color: var(--Main_Color);
    margin-bottom: 30px;
  }

  #prod-titlebar h3 {
    font-size: 16px;
    padding-left: 5vw;
    padding-top: 10px;
  }

  div#contact-bg img {
    max-height: 180px;
  }
}

/* Additional styling for submenu */
.dropdown-submenu {
  position: relative;
}

.dropdown-submenu .dropdown-menu {
  display: none;
  position: absolute;
  left: 100%;
  top: 0;
  margin-top: -1px;
}

/* Base styles for dropdown menus */
.dropdown-submenu {
  position: relative;
}

.dropdown-submenu .dropdown-menu {
  display: none;
  position: absolute;
  left: 100%;
  top: 0;
  margin-top: -1px;
}

.dropdown-submenu:hover .dropdown-menu,
.dropdown-submenu:focus-within .dropdown-menu {
  display: block;
}

.flex-row {
  display: flex;
  flex-direction: row;
  gap: 16px;
}

.round {
  object-fit: contain;
  border-radius: 90%;
}

.navbar-nav .dropdown:hover > .dropdown-menu,
.navbar-nav .dropdown:focus-within > .dropdown-menu {
  display: block;
}

.dropdown-submenu:hover > .dropdown-menu,
.dropdown-submenu:focus-within > .dropdown-menu {
  display: block;
}
@media (max-width: 768px) {
  .navbar-nav .dropdown-menu {
    position: static;
    float: none;
    width: auto;
    margin-top: 0;
  }
  .dropdown-submenu .dropdown-menu {
    position: static;
    width: auto;
    margin-top: 0;
  }
}

@media (max-width: 768px) {
  .dropdown-menu {
    max-height: 300px;
    overflow-y: auto;
  }
}

.grid-container {
  margin-left: 24px;
  margin-right: 24px;
  gap: 200px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr;
  grid-auto-columns: 1fr;
  gap: 0px 0px;
  grid-auto-flow: row;
  grid-template-areas: "cat prod";
}

.cat {
  grid-area: cat;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.prod {
  grid-area: prod;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.explore-btn {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-direction: row;
  background-color: #651318;
  color: white;
  border-radius: 15px;
  color: white;
  width: 50%;
  height: 50px;
  margin-top: 30px;
  text-align: center;
}
.arrow {
  width: 16px;
  height: auto;
  margin-left: 10px;
  margin-right: 10px;
}
.explore-btn span {
  flex: 1;
  text-align: center;
}

.cat-btn {
  align-self: center;
  display: flex;
  align-items: center;
  transition: all 0.5s ease-in-out;
  justify-content: center;
  position: relative;
  background-color: transparent;
  border-radius: 15px;
  color: white;
  width: 50%;
  height: 50px;
  margin-top: 30px;
  padding: 0;
}
.cat-btn:hover {
  transform: scale(1.1);
}
.cat-btn .downimg {
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
}

.cat-btn .logo {
  margin-top: -25px;
}

.display-flex-r {
  width: 100%;
  display: flex;
  flex-direction: row;
  align-items: center;
  transition: all 0.5s ease-in-out;
  justify-content: center;
}
.display-flex-r:hover {
  transform: scale(1.1);
}

.cat,
.prod {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.explore-btn,
.cat-btn {
  width: 90%;
  max-width: 250px;
  height: 50px;
  margin-top: 15px;
}

.arrow {
  width: 12px;
  height: auto;
  margin: 0 8px;
}

.cat-btn .downimg {
  left: 5px;
}

.cat-btn .logo {
  margin-top: -10px;
}
