/* Define the custom font */
@font-face {
    font-family: 'ASITP';
    src: url('../fonts/AShellinthePit-Regular.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

/* Italic */
@font-face {
    font-family: 'ASITP';
    src: url('../fonts/AShellinthePit-Italic.otf') format('opentype');
    font-weight: normal;
    font-style: italic;
}

/* Bold */
@font-face {
    font-family: 'ASITP';
    src: url('../fonts/AShellinthePit-Bold.otf') format('opentype');
    font-weight: bold;
    font-style: normal;
}

/* 1. Unvisited link (default state) */
a:link {
  color: #f8bd4e; 
  text-decoration: underline; /* Removes the default underline */
}

/* 2. Visited link (after a user has clicked it) */
a:visited {
  color: #1f5a51; 
}

/* 3. Mouse over (when the user hovers) */
a:hover {
  color: #d793ff; 
  text-decoration: underline;
}

/* 4. Active link (the moment it is being clicked) */
a:active {
  color: #a8f0fd; 
}

/* Reset some default styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    font-family: sans-serif;
    /* Use a fallback for general body text */
    background-color: #00c3af;
    margin: 0;
    min-height: 100vh;
    /* Ensure the body takes at least the full viewport height */
    font-family: 'ASITP', sans-serif;
    /* Apply the custom font here */
}

.header {
    background-color: #a8f0fe;
    width: 100%;
    height: 250px;
    /* Fixed height for header */
    padding: 20px;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
    margin-bottom: -10px;
}

/* 1. The Heading Container */
h1, h2, .blog-post-title {
    color: #a9f0fd;
    font-size: 25px;
    text-decoration: none;
}

@media only screen and (min-width: 760px) {
    h2, .blog-post-title {
        font-size: 55px; /* Or 95px if you want it huge */
    }
}

/* 2. The Link inside the Title (Normal State) */
.blog-post-title a {
    color: inherit; /* Forces it to be light blue like the H2 */
    text-decoration: none;
}

/* 3. The Link inside the Title (Visited State) */
/* This prevents the title from turning green/#1f5a51 after clicking */
.blog-post-title a:visited {
    color: #a9f0fd; 
}

/* 4. The Hover State (The Fix) */
/* We use a more specific selector here to beat the general a:hover */
.resources-section .blog-post-title a:hover {
    color: #d793ff !important;
    text-decoration: underline;
}

.headerContent {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.header h1 {
    margin: 0;
    font-size: 100px;
    color: black;
    font-family: 'ASITP', sans-serif;
    /* Apply the custom font here */
}

@media only screen and (min-width: 760px) {
.header h1 {
    margin: 0;
    font-size: 0px;
    color: black;
    font-family: 'ASITP', sans-serif;
    /* Apply the custom font here */
}
}

.header nav {
    margin-top: -25px;
    margin-bottom: 55px;
    padding: 0 15px;
    width: 100%;
}

@media only screen and (min-width: 760px) {
.header nav {
    margin-top: 0px;
    padding: 0 15px;
    width: 100%;
}
}

.header nav ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: nowrap; /* CRITICAL: Allows links to drop to the next line */
    justify-content: center; /* Centers the links on all screen sizes */
    gap: 1.5em clamp(10px, 4vw, 57px); /* Adds vertical (1.5em) and horizontal (1em) space between items */
    width: 100%; /* Ensure the flex container uses all available space */
}

.header nav ul li {
    margin: 0; /* Minimal vertical margin. Horizontal spacing is now handled by the 'gap' property above. */
    text-align: center;
}

.header nav ul li a {
    color: black;
    text-decoration: none;
	font-size: clamp(25px, 2.8vw, 40px); /* The new fluid font size */
    padding: 5px 0; /* Add a little vertical padding for click space */
}

.resources-section {
    margin-bottom: 100px;
    width: 100%;
    padding: 3vw;
    display: flex;
    flex-direction: column;
    align-items: left;
    box-sizing: border-box;
    font-size: 20px;
    z-index: 1;
    margin-top: 70vw;
    margin-left: 0vw;
    position: relative; /* Add this */
    z-index: 2;       /* Add this */
    background-color: #00c3af;
}

@media only screen and (min-width: 760px) {
.resources-section {
    margin-bottom: 100px;
    width: 100%;
    padding: 0px;
    display: flex;
    flex-direction: column;
    align-items: left;
    box-sizing: border-box;
    font-size: 30px;
    z-index: 1;
    margin-top: 20vw;
    margin-left: 26vw;
}
}



p {
    color: #1f5a51;
}

#youtube-playlist {
    width: 100%;
    /* Full width of the parent */
    height: 210px;
    /* Set a specific height */
    max-width: 800px;
    /* Optional: limit the max width */
    border: none;
    /* Remove default border */
    border-radius: 8px;
    /* Optional: add rounded corners */
    z-index: 2;
    pointer-events: auto;
    margin-top: 0px;
    margin-bottom: 0px;
}

@media only screen and (min-width: 760px) {
#youtube-playlist {
    width: 100%;
    /* Full width of the parent */
    height: 450px;
    /* Set a specific height */
    max-width: 800px;
    /* Optional: limit the max width */
    border: none;
    /* Remove default border */
    border-radius: 8px;
    /* Optional: add rounded corners */
    z-index: 2;
    pointer-events: auto;
    margin-top: 0px;
    margin-bottom: 0px;
}
}


.blog-post {
    border-bottom: 0px solid;
    /* border-left: 13px groove #e8a6ff; */
    outline: 0;
    outline-offset: 60px;
    max-width: 100%;
    margin-bottom: 1vw;
    
}

@media only screen and (min-width: 760px) {
    .blog-post {
    border-bottom: 0px solid;
    /* border-left: 13px groove #e8a6ff; */
    outline: 0;
    outline-offset: 60px;
    max-width: 52%;
    margin-bottom: 1vw;
    
}
}

.blog-post-title {
    margin-bottom: 0px;

}

.HeaderTitleImage {

  max-width: auto;
  max-height: 175px;
  padding: 50px;
  margin: 0px;
  margin-top: 90px;

}

.date {
    color: black;
    margin-bottom: 20px;
    font-size: 20px; 
}

.seaLife {
    position: absolute;
    z-index: 1;
    width: 100%;
    height: 100%;
    bottom: 0;
    left: 0;
    opacity: 0.7;
    overflow-x: hidden;
  }

.newWavesBlog {
  width:100%;
  height:100%;
  margin-top: -9%;
  margin-bottom: -120%;
  background-color: #a8f0fe;
  pointer-events: all;
}

@media only screen and (min-width: 760px) {
.newWavesBlog {
  width:100%;
  height:100%;
  margin-top: -9%;
  margin-bottom: -72%;
  background-color: #a8f0fe;
  pointer-events: all;
}
}

.lineart1, .lineart2, .lineart3, .lineart4 {
    position: relative;
    height: auto;
}

.lineart1 {
  position: relative;
  width: 250px;
  right: -450px; /* Offset from the right edge of .headerLineArt */
  top: 85px; /* Distance from the top edge */
  height: auto; /* Maintain aspect ratio */
}

.lineart2 {
  position: relative; /* Needed for precise positioning */
  width: 250px;
  left: -420px; /* Offset from the left edge of .headerLineArt */
  top: -40px; /* Distance from the top edge */
  height: auto; /* Maintain aspect ratio */
}

.lineart3 {
  position: relative; /* Needed for precise positioning */
  width: 150px;
  left: 720px; /* Offset from the left edge of .headerLineArt */
  top: -40px; /* Distance from the top edge */
  height: auto; /* Maintain aspect ratio */
}

.lineart4 {
  position: relative; /* Needed for precise positioning */
  width: 150px;
  right: 620px; /* Offset from the left edge of .headerLineArt */
  top: -190px; /* Distance from the top edge */
  height: auto; /* Maintain aspect ratio */
  transform: rotate(25deg);
}

/* 1. Hide both containers by default (Mobile) */
.underwaterDecorationsTop, 
.underwaterDecorationsBottom {
    display: none;
}

/* 2. Show them only on screens wider than 760px (Desktop/Tablet) */
@media only screen and (min-width: 760px) {
    .underwaterDecorationsTop, 
    .underwaterDecorationsBottom {
        display: block; /* This brings them back! */
    }
}

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 50px;
    font-size: 20px;
}

.pagination a {
    color: black;
    text-decoration: none;
    background: #a8f0fe;
    padding: 10px 20px;
    border-radius: 50px; /* Matching your bubble theme */
    border: 2px solid black;
}

.pagination a:hover {
    background: #00c3af;
    transform: scale(1.05);
}

.blog-divider {
    text-align: center;
    padding: 0px 0;
    margin: -10px 0px;
}

.blog-divider img {
    max-width: 65%; /* Adjust based on how big your images are */
    height: auto;
    opacity: 0.8;    /* Optional: makes them look a bit more subtle */
}

/* Optional: Hide the divider after the very last post on the page */
.blog-post:last-of-type .blog-divider {
    display: none;
}

.underwaterDecorationsTop {
  position: absolute;
  z-index: 999999999999999999999999;
  width: 100%;
  height: 100%;
  top: 0%;
  left: 0;
  opacity: 0.2;
}
.underwaterDecorationsTop .screen4-1 {
  position: absolute;
  top: 32%;
  left: -9%;
  width: 20%;
}
@media only screen and (min-width: 760px) {
  .underwaterDecorationsTop .screen4-1 {
    top: 18%;
    left: 5%;
    width: 10%;
  }
}
.underwaterDecorationsTop .screen4-2 {
  position: absolute;
  top: 18%;
  right: -10%;
  width: 20%;
}
@media only screen and (min-width: 760px) {
  .underwaterDecorationsTop .screen4-2 {
    top: 19%;
    right: 5%;
    width: 11%;
  }
}
.underwaterDecorationsTop .screen4-3 {
  position: absolute;
  top: 39%;
  right: -10%;
  width: 20%;
}
@media only screen and (min-width: 760px) {
  .underwaterDecorationsTop .screen4-3 {
    top: 40%;
    right: 4%;
    width: 11%;
  }
}
.underwaterDecorationsTop .screen4-4 {
  position: absolute;
  top: 39%;
  right: -10%;
  width: 20%;
}
@media only screen and (min-width: 760px) {
  .underwaterDecorationsTop .screen4-4 {
    top: 64%;
    left: 3%;
    width: 11%;
  }
}
.underwaterDecorationsTop .screen4-5 {
  position: absolute;
  top: 8%;
  left: 3%;
  width: 20%;
  transform: scaleX(-1);
}
@media only screen and (min-width: 760px) {
  .underwaterDecorationsTop .screen4-5 {
    top: 41%;
    left: 3%;
    width: 11%;
    transform: scaleX(-1);
  }
}
.underwaterDecorationsTop .screen4-6 {
  position: absolute;
  top: 39%;
  right: -10%;
  width: 20%;
}
@media only screen and (min-width: 760px) {
  .underwaterDecorationsTop .screen4-6 {
    top: 65%;
    right: 4%;
    width: 11%;
  }
}
.underwaterDecorationsTop .screen4-7 {
  position: absolute;
  top: 39%;
  right: -10%;
  width: 20%;
}
@media only screen and (min-width: 760px) {
  .underwaterDecorationsTop .screen4-7 {
    top: 38%;
    right: 4%;
    width: 11%;
  }
}
.underwaterDecorationsTop .screen4-7 {
  position: absolute;
  top: 39%;
  right: -10%;
  width: 20%;
}
@media only screen and (min-width: 760px) {
  .underwaterDecorationsTop .screen4-7 {
    top: 90%;
    left: 4%;
    width: 11%;
  }
}
.underwaterDecorationsTop .screen4-8 {
  position: absolute;
  top: 39%;
  right: -10%;
  width: 20%;
}
@media only screen and (min-width: 760px) {
  .underwaterDecorationsTop .screen4-8 {
    top: 90%;
    right: 4%;
    width: 11%;
  }
}

.content {
    background: #00c3af;
    min-height: 100vh;
    z-index: 1;
    position: relative;

}

@media only screen and (min-width: 760px) {
    .content {
    background: #00c3af;
    min-height: 100vh;
    z-index: 1;
    position: relative;

}
}

.headericons .emaillogo-container {
    position: static; /* It will no longer anchor its children */
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Unified Copied Message Style */
.headericons .textCopied {
    position: fixed; 
    top: 50%;
    left: 50%;
    width: 50vw; /* Mobile width */
    height: auto;
    transform: translate(-50%, -50%) !important;
    z-index: 99999; 
    pointer-events: none; 
    opacity: 0; /* Hidden by default */
    transition: opacity 0.3s ease;
}

@media only screen and (min-width: 760px) {
    .headericons .textCopied {
        width: 35vw; /* Desktop width */
    }
}

.emaillogo-container {
    position: relative;
    display: inline-block;
}

.blog-text {
    color: #1f5a51;

  }


