/* Reset some default styles */
* {
  margin: 0;
  padding: 0;
}

body {
  background-color: #ffffff;
}

@font-face {
  font-family: titles;
  src: url(../media/NeueMontreal-Regular.otf);
}

@font-face {
  font-family: texts;
  src: url(../media/NeueMontreal-Light.otf);
}

h1 {
  /*     color:rgb(255, 255, 255);
 */
  font-family: "titles";
  font-size: xxx-large;
}

h2 {
  color: rgb(255, 255, 255);
  font-size: 26px;
  font-family: "texts";
  text-align: center;
}

h3 {
  color: rgb(0, 0, 0);
  font-size: 26px;
  font-family: "titles";
}

h4 {
  color: rgb(0, 0, 0);
  font-size: 20px;
  font-family: "titles";
}

h5 {
  color: black;
  font-size: 12px;
  font-family: titles;
}

h6 {
  color: rgb(255, 255, 255);
  font-size: 26px;
  font-family: "titles";
}

a {
  font-family: "titles";
  text-decoration: none;
  font-size: 15px;
  color: rgb(118, 118, 118);
  border-width: .5px;
}

a:hover {
  text-decoration-color: black;
  color: black;
}


.nav-item {
  padding-left: .5rem;
}

.paragraph {
  font-family: "texts";
}

.one-post {
  padding-left: 1rem;
}

.post-description {
  padding-left: 1rem;
}

.home_title {
  color: #ffffff;
}

/* CSS code to change background color of Bootstrap navbar on hover with fade-in effect */
.navbar-dark {
  /* Set initial background color */
  background-color: initial;
  /* Add transition property for smooth fade-in effect */
  transition: background-color 0.3s ease;
}

.nav-item {
  color: #ffffff;
}

/* CSS code to change background color of Bootstrap navbar on hover */
.navbar-dark:hover {
  /* Change the background color to your desired color */
  background-color: #000D21;
}

.navbar-brand {
  padding-top: 1rem;
  padding-bottom: 1rem;
}

/* Custom CSS to remove margin around hamburger icon */
.navbar-toggler {
  margin: 0;
  /* Remove margin */
  padding: 0.25rem 0.5rem;
  /* Add padding for spacing */
  border: none;
  /* Remove border */
  background-color: transparent;
  /* Set background to transparent */
}

.cover {
  position: relative;
}

.overlay {
  position: relative;
  display: inline-block;
  /* Use "inline-block" or "block" depending on your layout */
}

.overlay::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0);
  /* Adjust the last value (0.5) to change the opacity */
  z-index: 1;
}

/* CSS for the caption text */
.caption {
  position: absolute;
  bottom: 50%;
  /* Place the caption vertically at 50% from the bottom */
  left: 50%;
  transform: translate(-50%, 50%);
  /* Center the caption horizontally and vertically */
  text-align: center;
  color: #ffffff;
  /* Change text color as needed */
  z-index: 2;
  padding: 20px;
  width: 100%;
  /* Adjust the width of the caption as needed */
  max-width: 80%;
  /* Add a max-width to prevent the caption from becoming too wide on larger viewports */
}


.fakeimg {
  /*   width: 100px 100px;
 */
  /* padding: 3em 2em; */
  background-color: none;
}

.title-and-subheading-onecat {
  display: flex;
  align-items: start;
}


/* Remove padding from .categoria to prevent misalignment */
.categoria {
  margin-top: 2rem;
  padding: 0;
}

/* Create space between the divs */
.categorias .categoria {
  margin-bottom: 3rem;
}


.fabrica {
  padding-top: 4rem;
  padding-bottom: 8rem;
}

footer {
  margin-top: 3rem;
  margin: 0;
  padding: 0; /* Remove the bottom padding to prevent extra space */
  background-color: #000D21;
}

footer h4,
footer h5,
footer h6,
footer a {
  color: white; /* Change the text color to white */
}

.footer_class {
  padding-left: 5rem;
  padding-right: 5rem;
  padding-top: 2rem;
  padding-bottom: 2rem;
  margin-bottom: 0; /* Remove the bottom margin */
}

.footer_class .row {
  margin-bottom: 0; /* Remove the bottom margin from the row */
}


.descripcion {
  font-family: "titles";
  color: #000D21;
  font-size: 40px;
  padding-left: 4rem;
  padding-right: 4rem;
}

.nuestros_productos {
  padding-left: 4rem;
}

.hr {
  width: 50%;
}

.footer_class {
  padding-top: 2rem;
  
}

.contacto {
  padding-top: 1rem;
  padding-right: 1rem;
}

.legal {
  padding-left: 5rem;
}

.secondary_pages_text {
  color: #000D21;
}

.cover_sec {
  padding-top: 8rem;
}

.title {
  color: #000D21;
}

.image-container {
  position: relative;
}

.image-container img {
  width: 100%;
  height: auto;
}

.image-container h6 {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  width: 100%;
  padding: 10px;
  background-color: none;
}

.products {
  padding-top: 3rem;
}


.titulo {
  color: #000D21;
  font-family: "titles";
  padding-top: 6rem;
}

.titulo_2 {
  padding-top: 2rem;
}

.zoom_imagenes {
  padding-top: 2rem;
}

.categorias {
  padding-bottom: 2rem;
}

.logos {
  padding-top: 2rem;
}

.fila_2 {
  padding-top: 2rem;
  padding-bottom: 10rem;
}

/* Custom styles for the form */
.form-group label {
  /* Add your custom styles for label here */
  font-family: "titles";
  font-size: 1.2rem;
  color: #333;
  margin-top: 1rem;
}

.form-group input.form-control,
.form-group textarea.form-control {
  /* Add your custom styles for input and textarea here */
  border-radius: 5px;
  border: none;
  font-family: "titles";
  margin-top: .5rem;
  background-color: rgb(245, 245, 245);
  padding: 10px;
}

.form-group textarea.form-control {
  /* Add your custom styles for textarea here */
  resize: none;
  font-family: "titles";
}

.btn-primary {
  /* Add your custom styles for the submit button here */
  background-color: #000D21;
  border: none;
  /* Remove button border */
}

.btn-primary:hover {
  /* Add your custom styles for the submit button on hover here */
  background-color: #000D21;
  border: none;
  /* Remove button border on hover */
}

.form {
  padding-top: 1rem;
  padding-bottom: 5rem;
}


/* Style for the container div */
.container {
  margin-top: 50px;
  position: relative;
  /* Add relative positioning to contain zoomed image */
  padding-top: 3rem;
}

/* Style for the image container */
.image-container {
  overflow: hidden;
  /* Hide overflow to clip zoomed image */
  position: relative;
  /* Add relative positioning to contain title */
}

/* Style for the image */
.image {
  transition: transform 0.3s ease;
  cursor: pointer;
}

/* Style for the title */
.title {
  position: absolute;
  /* Add absolute positioning for centering */
  top: 50%;
  /* Set top to 50% to center vertically */
  left: 50%;
  /* Set left to 50% to center horizontally */
  transform: translate(-50%, -50%);
  /* Use transform to center perfectly */
  text-align: center;
  /* Center the text within the title div */
  width: 100%;
  /* Set width to 100% to center within the image container */
  font-size: 24px;
  /* Set font size as needed */
  color: #fff;
  /* Set text color as needed */
}


.modal-header {
  border-bottom: none;
  /* Remove border line */
}

.modal-dialog {
  max-width: 75vw;
  max-height: 75vw;
  /* Set width to 75% of the viewport width */
}



@media (min-width: 541px) and (max-width:720px) {

  h1 {
    font-size: xx-large;
  }

  h2 {
    font-size: 20px;
  }

  .logo__nav {
    width: 100px;
  }

  h3 {
    font-size: 20px;
  }

  h4 {
    font-size: 16px;
  }

  .zoom_imagenes .title {
    font-size: 14px;
  }


  .row.align-items-center.justify-content-center>[class*="col-"] {
    margin-bottom: 20px;
  }
}

@media (min-width: 320px) and (max-width:540px) {

  h1 {
    font-family: "titles";
    font-size: x-large;
  }

  h2 {
    color: rgb(255, 255, 255);
    font-size: 22px;
    font-family: "texts";
    text-align: center;
  }


  .logo__nav {
    width: 80px;
  }

  h3 {
    font-size: 20px;
  }


  h4 {
    font-size: 14px;
  }

  .descripcion {
    font-size: 26px;
  }

  .zoom_imagenes .title {
    font-size: 12px;
  }

  .row.align-items-center.justify-content-center>[class*="col-"] {
    margin-bottom: 20px;
  }
}