/* Basic reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Body styles */
body {
    font-family: 'Playfair Display', serif;  /* Lora font applied here */
    font-size: 16px;
    background-color: #051f1aff;  /* Light background for the rest of the page */
}


/* Header banner styles */
.header-banner {
    background-color: #051f1aff; /* Dark British Racing Green */
    width: 100%;
    padding: 15px 0; /* Top and bottom padding */
}

/* Flex container for title + About link */
.header-content {
    display: flex;
    justify-content: space-between; /* Push title left and link right */
    align-items: center;
    padding: 0 100px; /* Side padding */
    max-width: 100%;
}

/* Header title styling */
.header-title {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

/* Heading styles */
h1 {
    font-size: 30px;
    font-weight: normal;
    color: #32b4a1;
    margin: 0; /* Optional: remove default margins */
}

h1 a {
    color: #32b4a1;
    text-decoration: none;
}


h2 {
    font-size: 30px;
    font-weight: normal;
    color: #006b5bff;
    margin: 0; /* Optional: remove default margins */
}

/* Dropdown container */
.plus {
    position: relative;  /* Change to relative for positioning */
    display: inline-block;
}

.plus-link {
    display: inline-block;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
}

.plus-link svg {
    transition: transform 0.2s;
}




/* Container for image and text */
.image-text-container {
    display: flex;
    align-items: center; 
    justify-content: center; 
    margin: 100px auto; 
    gap: 0px;  /* Set the gap to 30px */
    max-width: 1200px;
}


/* Adjust image styles */
#Portrait img {
    width: 80%;
    max-width: 350px;
    height: auto;
    border-radius: 0px;
    margin-right: 0px; /* 30px margin on the right side of the image */
}

/* Text box styles */
.floating-text-box-2 {
    width: 55%;
    padding: 0px;
    background-color: rgba(5, 31, 26, 0.8);
    color: #32b4a1;
    font-family: Playfair Display;
    font-weight: normal;
    font-size: 18px;
    text-align: left;
}


.btn-i {
  position: fixed;
  top: 70%;
  right: 40px;
  width: 50px;
  height: 50px;
  background-color: #32b4a1;
  border-radius: 50px;
  color: white;
  position: fixed;
  overflow: hidden; 
  margin: 4%;
  transition: width 0.3s ease-in;
  }


.btn-e {
    position: fixed;;
  top: calc(70% + 70px); /* Space exactly 70px below .btn-i */
  right: 40px;
  width: 50px;
  height: 50px;
  background-color: #32b4a1;
  border-radius: 50px;
  color: white;
  overflow: hidden; 
  margin: 4%;
  transition: width 0.3s ease-in;
}



.btn-e:hover {
  width: 300px;
}


.btn-i:hover .fa-instagram {
  transform: translate(50%, -50%) scale(1);
  color: #000;

}

.btn-e:hover .envelope {
  transform: translate(50%, -50%) scale(1);
}


.envelope {
  position: absolute;
  color: white;
  text-align: right;
  bottom: 5%;
  right: 25px;
  transform: translate(50%, -50%) scale(1.2);
  transition: transform 0.2s ease;
}

  .fa-instagram {
  position: absolute;
  color: white;
  border: none;
  bottom: 16%;
  right: 50%;
  text-decoration: none;
  transform: translate(50%, -50%) scale(1.2);
 }

.text {
  position: absolute;
  line-height: 50px;
  right: 50px;
}


.footer {
    background-color: transparent;
    color: #006b5bff;
    text-align: center;
    padding: 20px 10px;
    font-size: 16px;
}

@media (max-width: 768px) {
  /* Header adjustments */
  .header-content {
    flex-direction: column;
    align-items: flex-start;
    padding: 20px;
  }

  h1, h2 {
    font-size: 22px;
  }

  /* Stack image and text vertically */
  .image-text-container {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 40px 20px; /* Adjust spacing for mobile */
  }

  #Portrait img {
    width: 100%;
    max-width: 300px;
    margin: 0 auto 20px auto;
    display: block;
  }

  .floating-text-box-2 {
    width: 100%;
    font-size: 14px;
    padding: 0;
    text-align: left;
    color: #32b4a1;
    background-color: rgba(5, 31, 26, 0.9);
  }

    .btn-i, .btn-e {
        width: 50px;
        height: 50px;
        font-size: 16px;
        bottom: 5%;
        margin-right: 0%;
    }


}
