/* General Styles */


body,html{
  width: 100%;
}
body {
    background-color: #ffffff;
    font-family: Arial;
    margin: 0;
    padding: 0;
  }


  .hero-image{
    /* Refrence for image needs to be added */
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url("../img/ArielShoot.jpg");

    height: 500px;
    /* Allows for the image to take up the entire width of the screen */
    width: 100%;

    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;

    object-fit: cover;
  }

  .hero-text{
    text-align: center;
    position: absolute;
    top: 25%;
    left: 50%;
    transform: translate(-50%, 50%);
    color: #eae5e5;
    font-size: 0.90vw; /* size dependant on view port size (width) */
  }

  /* Ensures the font doesn't get too small on narrow viewports */
@media (max-width: 1500px) {
  .hero-text{
    font-size: 0.7rem;

  }
}

/* Ensures the font doesn't get too big on wide viewports */
@media (min-width: 1200px) {
  
}
  
  /* Container Styles */
  
  .container {
    /* Creates a large box within the center of a page to hold information */
    /* Color used should work with the scheme of the website while being able to help information stand out easily */
    background-color: rgb(255, 255, 255);
    padding: 20px;
    margin: 0 20%;
    max-width: 2000px;
  }
  
  /* Hotel Styles */
  
  .hotel-container {
    padding: 1rem;
    
    background-color: rgb(253, 253, 253);
    color: #000000;
    max-width: 850px;
    margin: 0 auto; /* Centering the hotel-container */
    border-radius: 15px;
    border: 2px solid rgba(0, 0, 0, 0.1);
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 40px;


  }
  
  .hotel-container img {
    width: 250px;
    height: 250px;
    object-fit: cover;
    border-radius: 10px;
   
  }
  
  .hotel-container h2 {
    margin-top: 20px;
  }
  
  .hotel-desc {
    margin: 0 auto;
    margin-top: 10px;
  }
  
  .location-text {
    color: rgba(53, 53, 53, 0.571);
  }
  
  .hotel-container button {
    background-color: #1a54b1;
    border: none;
    color: white;
    padding: 15px 32px;
    text-align: center;
    font-size: 16px;
    border-radius: 8px;
    /* Temp */
    /* margin-top: 10px;
    height: 35px;
    width: 20px; */
    
  }
  
  .rating-box {
    background-color: #1a54b1;
    border: none;
    color: white;
    padding: 15px 32px;
    /* margin-top: 10px;
    height: 35px;
    width: 20px; */
    border-radius: 8px;
  
    /* Centering */
    display: flex;
    justify-content: center;
    align-items: center;
  
    /* Edits font size */
    font-size: x-large;
  }
  
  /* Text Styles */
  
  h2,
  p {
    margin: auto;
  }
  
  /* Image Styles */
  
  .box img {
    float: left;
    /* width: 250px; */
    height: 250px;
    object-fit: cover;
    border-radius:box 10px;
    cursor: pointer;
    max-width: 50rem;
  }
  
  .image-container {
    display: flex;
    flex-direction: row;
    justify-content: center;
    text-indent: 5px;
    margin: 5px;
    margin-bottom: 25px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 20px;
  }
  
  .image-container img {
    margin-right: 100px; /* Adjust the value to set the desired spacing */

  }
  

  /* Cards */
  .card {
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
    max-width: 300px;
    margin: auto;
    text-align: center;
    font-family: arial;
    border-radius: 8px;
    
  }

  .card img{
    /* Used to curve top image corners */
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
    width: 100%; /* Make the image fill the card width */
    height: 200px; /* Set a fixed height for the images */
    object-fit: cover; /* Maintain aspect ratio and fill the space */
  }
  
  .redirect {
    color: grey;
    font-size: 22px;
  }
  
  .card button {
    border: none;
    outline: 0;
    padding: 12px;
    color: white;
    background-color: #1a54b1;
    text-align: center;
    cursor: pointer;
    width: 100%;
    font-size: 18px;

    /* Curves only the bottom corners */
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
  }
  
  .card button:hover {
    opacity: 0.7;
  }

  /* Used to help poistion the cards beside one another */
  .card-position{
    display: flex;
    flex-wrap: wrap;
    max-width: 70rem;
   
  }

  /* Accordion styling */

  /* Used to set the colors and center the items */
  section{
    width: 100%;
    /* Controls the heigh on the containg element */
    height: 50vh;
    /* Sets a background colour behind the boxes Do i really need this? */
    /* background-color: #3c4053; */
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .fq-container{
    width: 100%;
    max-width: 80rem;
    margin: 0 auto;
    padding: 0.15rem;
  }

  .accordion-item{
    background-color: #1a54b1;
    border-radius: .4rem;
    margin-bottom: 1rem;
    padding: 1rem;
    box-shadow: .5rem 2px .5rem rgba(0, 0, 0, .1);
  }

  .accordion-link{
    font-size: 1.6rem;
    color: rgb(255, 255, 255);
    text-decoration: none;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
  }

  /* Hides the answers until clicked on */
.answer{
    max-height: 0;
    overflow: hidden;
    position: relative;
    background-color: white;
    /* Causes an animation to play when another question is opend  */
    transition: max-height 400ms;
}

.answer::before{
    content: "";
    position: absolute;
    /* Controls the size  and other elements of the bar beside each answer */
    width: 20px;
    height: 90%;
    background-color: #608ac4;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
}

.answer p{
    font-size: 1.4rem;
    color: rgba(0, 0, 0, 0.837);
    padding: 2rem;
}


.accordion-item:target .answer{
    /* Allows for only one question to be opend at a time */
    max-height: 20rem;
}


/* Other Styles */
button:hover {
    background-color: #133d80;
    cursor: pointer;
}

.buttons-container{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px;
  width: 40%;
  margin-top: 1%;
}

