/*
.hexagon {
    width: 60vmin;
    height: calc(25vmin * 0.866); 
    background-color: #ffffff; 
    position:relative;
    margin-top: calc(50vmin * 0.433); 
    margin-bottom: calc(50vmin * 0.433); 
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.3); 
    margin-right: 15%;
    margin-left: 53%;
}

.hexagon:before,
.hexagon:after {
    content: "";
    position: absolute;
    width: 0;
    border-left: 25vmin solid transparent; 
    border-right: 25vmin solid transparent;
}

.hexagon:before {
    top: calc(-25vmin * 0.866);
    border-bottom: calc(25vmin * 0.866) solid #ffffff; 
}

.hexagon:after {
    bottom: calc(-25vmin * 0.866);
    border-top: calc(25vmin * 0.866) solid #ffffff;
    
}


@media (max-width: 400px) {
    .hexagon {
        width: 80vmin;
        height: calc(80vmin * 0.866);
        margin-top: calc(80vmin * 0.433);
        margin-bottom: calc(80vmin * 0.433);
        
    }
}
*/
* {
    box-sizing: border-box;
    padding: 0;
    margin: 0;
  }
@font-face {
    font-family: 'amiri';
    src: url('assets/fonts/amiri/Amiri-Regular.ttf') format("truetype");
}
.hexagon-container{
    width: 20vw; /* Adjusted width for the hexagon container */
    height: 23vw; /* Adjusted height for the hexagon container */
    position: relative;
   
    border-radius: 30%; /* Adjusted border-radius to make the image hexagonal */
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);

  margin-right: 34%;
  overflow: hidden;
 /* background: linear-gradient(35deg, #ebc819, #228cd5); */
  margin-bottom: 0;
    
}

.hexagon-container {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.6); /* Shadow style */
}


.hexagon-image {
    width: 75%;
    height: 75%;
    object-fit: cover; /* Maintain the aspect ratio of the image */
    margin: 11%;
   
}
.contact-alais{
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;

}
.cntr{
    text-align: center;
    
}
table {
    border-collapse: collapse;
    width: 80%; /* Adjusted width for responsiveness */
    max-width: 90%; /* Set a maximum width for smaller screens */
    margin: 0 auto; /* Center the table horizontally */
    display: flex;
    font-family: hurra;
}

th, td {
    border: 3px solid #ddd;
    padding: 8px;
    width: auto;
}
main {
    display: grid;
    grid-template-columns: 1fr repeat(12, minmax(auto, 60px)) 1fr;
    grid-gap: 40px;
    padding: 60px 0;
  }
  
.text--medium{
    font-family: amiri;
    font-size: 16px;
    line-height: 20px;
    font-weight: 400;
    color: #000000;
  }
  
.cards{
    grid-column: 2 / span 12;
    display: grid;
    grid-template-columns: repeat(12, minmax(auto, 60px));
    grid-gap: 40px;
}
  
.card{
    grid-column-end: span 4;
    display: flex;
    flex-direction: column;
    background-color: rgb(249, 249, 250);
    cursor: pointer;
    transition: all 0.3s ease 0s;
}
  
.card:hover {
    transform: translateY(-7px);
}
  
.card__image-container {
    width: 100%;
    padding-top: 56.25%;
    overflow: hidden;
    position: relative;
}
  
.card__image-container img {
    width: 100%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
  }
  
  .card__content {
    padding: 20px;
  }
  
  .card__title {
    margin-bottom: 20px;
   
  }
  
  .card__info {
    display: flex;
    align-self: end;
    align-items: center;
    
    
    
  }
 
  
  .card__price {
    margin-left: auto;
    padding: 5px 20px;
    background-color: #303032;
    border-radius: 20px;
  }
  .img-container img{
    margin: 0;
    margin-right: 13%;
  }
 
  .loc:before{
    font-family: FontAwesome;
    content: "\f124";
    display: inline-block;
    font-weight: 900;
    font-size:25px;
  }
  .pho:before{
    font-family: FontAwesome;
    content: "\f095";
    display: inline-block;
    font-weight: 900;
    font-size:25px;
  }

  .rght{
    text-align: right;
  }

  .cntr img{
    width:600px;
    height:600px;
  }
  
  
  @media only screen and (max-width: 1400px) {
    .hexagon-container{
        width: 34vw;
        height: 34vw;
        margin-right: 30%;
    }

  }
  @media only screen and (max-width: 1000px) {
    .card {
      grid-column-end: span 6;
    }
    .hexagon-container {
        width: 60vw; /* Adjusted width for smaller screens */
        height: 60vw; /* Adjusted height for smaller screens */
        margin-right: 17%; /* Removed right margin for smaller screens */
    }
    .cntr img{
        width: 80vw; /* Adjusted width for smaller screens */
        height: 80vw; 
      }
  }
  
  @media only screen and (max-width: 700px) {
    main {
      grid-gap: 20px;
    }
    .card {
      grid-column-end: span 12;
    }
    th, td {
        display: block;
        width: 100%;
        box-sizing: border-box;
    }
  }
  
  @media only screen and (max-width: 500px) {
    main {
      grid-template-columns: 10px repeat(6, 1fr) 10px;
      grid-gap: 10px;
    }
    .cards {
      grid-column: 2 / span 6;
      grid-template-columns: repeat(6, 1fr);
      grid-gap: 20px;
    }
    .card {
      grid-column-end: span 6;
    }

  }
@media (max-width: 768px) {
    .hexagon-container {
        width: 80vw; /* Adjusted width for smaller screens */
        height: 80vw; /* Adjusted height for smaller screens */
        margin-right: 7%; /* Removed right margin for smaller screens */
    }
    table {
        width: 90%; /* Adjusted width for smaller screens */
    }
    .img-container img{
        height: 100%;
        width: 100%;
        margin-right: 1%;
    }
}
@media (max-width: 350px) {
.hexagon-container{
    display: none;
}


}