:root {
    --header-color: #ffffff; /* Replace with your desired color */
    --textbody-color: #FAEDD4; /* Replace with your desired color */
}

body {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    background-color: #0A0D1A;

}

/* HEADER */
.logo {
    position: absolute;
    left: 20px;
    width: 250PX;
    cursor: pointer;
}

li, a, button {
    font-family: "Montserrat", sans-serif;
    font-weight: 600;
    font-size: 16px;
    color: rgb(0, 0, 0);
    text-decoration: none;
}

header {
    background-color: var(--header-color);
    display: flex;
    justify-content: flex-end;
    align-items: center;
    box-shadow: 2px 2px 10px black;
    position: relative; /* Make sure the header keeps its layout */
    height: 100px; /* Define a fixed height */
    padding-right: 20px; /* Adjust padding for spacing */
    z-index: 1000; /* Ensure header stays on top */
}

header:hover {
    box-shadow: 2px 2px 25px black;
    transition: 0.5s;
}

.navlinks {
    display: flex;
    list-style-type: none;
    margin: 0;
    padding: 0;
    align-items: center; /* Align items vertically */
    justify-content: flex-end; /* Align items horizontally */
}

.navlinks li {
    margin-left: 30px;
    margin-right: 30px;
    align-items: center;
    list-style-type: none;
}

.navlinks li a:hover {
    color: var(--textbody-color);
    text-shadow: 1px 1px 5px black;
}

/* Align language buttons next to each other */
.language {
    display: flex; /* Use flexbox for horizontal layout */
}

.language button {
    display: inline-block; /* Ensure buttons are inline */
    padding: 0px 5px; /* Adjust padding for better look */
    cursor: pointer; /* Change cursor to pointer */
    transition: background-color 0.3s ease; /* Smooth transition */
}

.language button:hover {
    background-color: #e0e0e0; /* Change background on hover */
}

button:hover {
    box-shadow: 1px 1px 5px black;
}

/* Style language buttons */
.fi-flag {
    background-image: url('assets/flags/fi.png'); /* Replace with the actual path to the Finnish flag image */
    width: 40px; /* Adjust width as needed */
    height: 20px; /* Adjust height as needed */
    background-size: cover;
    background-position: center;
    border: none;
    cursor: pointer;
    text-indent: -9999px; /* Hide the text */
}

.en-flag {
    background-image: url('assets/flags/en.png'); /* Replace with the actual path to the English flag image */
    width: 40px; /* Adjust width as needed */
    height: 20px; /* Adjust height as needed */
    background-size: cover;
    background-position: center;
    border: none;
    cursor: pointer;
    text-indent: -9999px; /* Hide the text */
}

.es-flag {
    background-image: url('assets/flags/es.png'); /* Replace with the actual path to the Spanish flag image */
    width: 40px; /* Adjust width as needed */
    height: 20px; /* Adjust height as needed */
    background-size: cover;
    background-position: center;
    border: none;
    cursor: pointer;
    text-indent: -9999px; /* Hide the text */
}




/* Sidebar styles */
.sidebar {
    display: none; /* Initially hidden */
    flex-direction: column; /* Stack items vertically */
    position: absolute; /* Position relative to nav */
    top: 0;
    right: 0;
    width: 250px; /* Width of sidebar */
    height: 100vh; /* Full viewport height */
    background-color: var(--header-color);
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.5);
    padding: 20px;
    z-index: 1000;
}

.sidebar li {
    margin-bottom: 20px; /* Space between items */
}

.sidemenubutton {
    cursor: pointer;
    display: inline-block;
}

/* Show sidebar when activated (JS will toggle this class) */
.sidebar.active {
    display: flex;
}


button{
    width: 100%;
    padding: 12px;
    background-color: var(--textbody-color);
    border-radius: 50px;
    outline: none;
    cursor: pointer;
    transition: all 0.5s, ease 0s;
    border: none;
    z-index: 999;
}
button:hover{
    box-shadow: 1px 1px 5px black;
}

.sidebar{
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: 300px;
    z-index: 999;
    background-color: var(--textbody-color);
    backdrop-filter: blur(10px);
    box-shadow: -3px 0 10px black;
    display: none;
    justify-content: flex-start;
    list-style: none;
    flex-direction: column;
    transition: transform 0.3s ease;
    transform: translateX(100%);
}
.sidebar li{
    width: 100%;
    margin: 25px;

}
.sidebar img{
    position: absolute;
    bottom: 100px;
    width: 300px;
}
nav ion-icon{
    font-size: 2em;
    position: absolute;
    top: 35px;
    right: 20px;
}
h2{
    font-size: 2em;
    margin: 20%;
    text-align: center;
}

/* CAROUSEL */

.body-container{

}
#slider{
    width:100%;
    height: 1000px;
    margin:0 auto;
    position:relative;
    overflow:hidden;
    box-shadow:2px 5px 10px rgba(0,0,0,0.4);;
}

.slide{
    width:100%;
    display:none;
    animation-name:fade;
    animation-duration:1s;
}

.slide img{
    width: 100%;
    height: 1100px;
    object-fit: cover;
    object-position: top; /* Align the top of the image with the top of the container */
}
  @keyframes fade{
    from{opacity:0.5;}
    to{opacity:1;}
  }

  .controls{
    position:absolute;
    top:50%;
    transform:translateY(-50%);
    font-size:100px;
    padding:15px 10px;
    border-radius:50px;
    height: 100%;
    width: 30%;

    z-index: 10;

  }

  .controls:hover{

    transition:0.3s;
  }

  .controls:active{
    color:grey;
  }

  #left-arrow{
    left:10px;
  }

  #right-arrow{
    right:10px;
  }

  #dots-con{

    text-align:center;
  }
  .dot{
    display:inline-block;
    background:grey;
    padding:8px;
    border-radius:50%;
    margin:10px 5px;
  }

  .active{
    background:crimson;
  }

  @media (max-width:576px){
    .controls{
      font-size:1em;
    }
  }

/* COLLECTIONLIST  */

.collection-list-container {
    margin-top: 10%;
    margin-left: 10%;
    margin-right: 10%;

    overflow: hidden;
}

.collection-list ul {
    list-style: none;
    margin: 0 0 0 0;
    padding: 0 0 0 0;
    clear: both;
}

.collection-list ul .block {
    overflow: hidden;
    width: 23%;
    height: auto;
    position: relative;
    float: left;
    margin: 10px; /* Add this line to add space around each block */
    padding: 0 0 25% 0;
    transition: 0.8s ease;
}

.collection-list span {
    font-size: 12px; /* Adjust this value as needed */
}

.collection-list ul .block:hover span {
    height: 50%;
}

.collection-list ul .block img {
    max-width: none;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
  }
  .collection-list ul .block span {
    width: 100%;
    height: 2.5rem;
    line-height: 3rem;
    position: absolute;
    bottom: 0;
    left: 0;
    padding: 0 1rem;
    font-size: 1.3rem;
    color: #fff;
    background: rgba(0, 0, 0, 0.5);
    transition: 0.8s ease;
  }

@media screen and (max-width: 1280px) {
    .collection-list ul .block {
      width: 22%;
      padding-bottom: 25%;
    }
  }
  @media screen and (max-width: 1024px) {
    .collection-list ul .block {
      width: 30%;
      margin: 1%; /* Add this line to add space around each block */
      padding-bottom: 33.33%;
    }

  }

  @media only screen and (min-width: 1046px){
    .navlinks ion-icon{
        display: none;

    }
}
@media only screen and (max-width: 1046px){
    .navlinks .items{
        display: none;
    }

    .navlinks .language{
        display: none;
    }

    .collection-list ul .block span {
        display: none;
    }
}

  @media screen and (max-width: 600px) {
    .collection-list ul .block {
    }

    #slider{
        width:100%;
        height: 500px;

    }

    .slide img{
        width: 100%;
        height: 500px;
        object-fit: cover;
        object-position: top; /* Align the top of the image with the top of the container */
    }

    .logo {
        width: 120px;
    }
  }
  @media screen and (max-width: 375px) {
    .collection-list ul .block {
      width: 100%;
      padding-bottom: 100%;
    }
  }



/* ALONSO MERCADER TEXT */

.alonso-mercader-container {

}
.alonso-mercader {    background-color: var(--textbody-color);

  padding-left: 10%;
  padding-right: 10%;
    overflow: hidden;
    margin-left: 10%;
    margin-right: 10%;
    margin-top: 5%;
    padding-bottom: 5%;
    padding-top: 2%;
    padding-bottom: 2%;

}

.title-container h1 {
    font-size: 90px;
    text-align: left;
}

.title-container h3 {
    font-size: 20px;
    text-align: left;
}

/* NBR text */

.nbr-container {

}

.nbr {
    overflow: hidden;
    margin-left: 10%;
    margin-right: 10%;
    margin-top: 5%;
    margin-bottom: 5%;
    padding-top: 2%;
    padding-bottom: 2%;
}

.nbr h1 {
    text-align: right;
    margin-right: 10%;
}


@media screen and (max-width: 600px) {
    .title-container h1 {
        font-size: 50px;
    }

    .title-container h3 {
        font-size: 15px;
    }

}

/* CONTACT US */

.contact-us-container {
    min-height: 50vh;
    width: 100%;
    justify-content: center;
    align-items: center;
    background-size: cover;
    background-position: center;
    position: relative;
}

.contact-us-container::after{
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background-color: #0A0D1A;
}

section {
    position: relative;
    z-index: 3;
    padding-top: 50px;
    padding-bottom: 50px;
  }

  .container {
    max-width: 1080px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 20px;
    padding-right: 20px;
  }

  .row  {
    display: flex;

    align-items: center;
    justify-content: space-between;
  }

  .contact-info {
    margin-top: 10%;
    width: 50%;
  }

  .contact-info-item {
    display: flex;
    margin-bottom: 30px;
  }

  .contact-info-content {
    margin-left: 20px;
  }

  .contact-info-content h1 {
    color: #FFF;
    font-size: 4em;
    margin-bottom: 5px;
  }


  .contact-info-content h2 {
    color: #FFF;
    font-size: 2em;
    margin-bottom: 5px;
    text-align: left;
    margin: 0;
    margin-bottom: 10px;
  }

  .contact-info-content p {
    color: #FFF;
    font-size: 1em;
  }

  .contact-form {

    width: 45%;
    padding-bottom: 20px;
    padding-top: 20px;
  }

  .contact-form h2 {
    font-weight: bold;
    font-size: 3em;
    margin-bottom: 20px;
    color: white;
  }

  .contact-form .input-box {
    position: relative;
    width: 100%;
    margin-top: 10px;;
  }

  .input-box span.hidden {
    display: none;
}

  .contact-form .input-box input,
  .contact-form .input-box textarea{
    width: 100%;
    padding: 10px 0;
    font-size: 16px;
    margin: 10px 0;
    border: none;
    border-bottom: 2px solid #333;
    outline: none;
    resize: none;
    background-color: inherit; /* Make the background color the same as the parent element */

  }

  .contact-form .input-box span {
    position: absolute;
    left: 0;
    padding: 5px 0;
    font-size: 16px;
    margin: 10px 0;
    pointer-events: none;
    transition: 0.5s;
    color: #666;
  }

  .contact-form .input-box input:focus ~ span,
  .contact-form .input-box textarea:focus ~ span{
    color: #e91e63;
    font-size: 12px;
    transform: translateY(-20px);
  }

  .contact-form .input-box input[type="submit"]
  {
      width: 100%;
      background: #7D7777;
      color: #FFF;
      border: none;
      cursor: pointer;
      padding: 10px;
      font-size: 18px;
      border: 1px solid #7D7777;
      transition: 0.5s;
      border-radius: 50px; /* Add this line to make the button round */
  }

  .contact-form .input-box input[type="submit"]:hover
  {
    background: #FFF;
    color: #7D7777;
  }



  @media (max-width: 991px) {
    section {
      padding-top: 50px;
      padding-bottom: 50px;
    }

    .row {
      flex-direction: column;
    }

    .contact-info {
      margin-bottom: 40px;
      width: 100%;
    }

    .contact-form {
      width: 100%;
    }
  }