/*=== GLOBAL STYLES ============================*/

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500&display=swap');


* {
    box-sizing: border-box;
}

html,
body {  
    border: 0px;
    width: 100%;
    margin: 0px;
    padding: 0px;
    line-height: 1.7;  
    font-family: 'Montserrat', sans-serif;
    font-size: 18px;      
}


/*=== IOS Input Reset ==========================*/

input, textarea {
    border-radius: 0;
    -webkit-border-radius:0px;
}

html {
    -webkit-text-size-adjust: 100%; 
    -moz-text-size-adjust: 100%; 
    -ms-text-size-adjust: 100%;
}


/*=== HEADER =====================================*/

/*--- INDEX PAGE HEADER ---*/

.header_bg {
    transition: .3s;    
}

.index-header .fixed-header {
  background-image: url("../images/header_image.svg");
  height: 700px;
  text-align: center;
  position: fixed;
  top: 0;
  width: 100%;
  transform: translateZ(0);
  -moz-transform: translatez(0);
  -ms-transform: translatez(0);
  -o-transform: translatez(0);
  -webkit-transform: translateZ(0);
  -webkit-font-smoothing: antialiased;
  background-repeat: no-repeat;
  background-position: center top; 
  background-size: 100%;
}

.index-header .fixed-header h1 {
    margin: 0;
}

/*--- NAVIGATION ---*/

.navigation {
  position: fixed;
  top: 0;
  z-index: 99;
}

.overlay {
  height: 100%;
  width: 0;
  position: fixed;
  z-index: 1;
  top: 0;
  left: 0;
  background-color:#339e70e6;
  overflow-x: hidden;
  transition: 0.5s;
}

.overlay-content {
  position: relative;
  top: 5%;
  width: 100%;
  text-align: center;
  margin-top: 30px;
  z-index: 99;
}

.overlay a {
  cursor: grab;
  padding: 8px;
  text-decoration: none;
  font-size: 20px;
  color: white;
  display: block;
  transition: 0.3s;
}

.overlay a:hover, .overlay a:focus {
  color: #E7D551;
  opacity: 1;
}

.overlay .closebtn {
  position: absolute;
  top: 20px;
  right: 45px;
  font-size: 60px;
}

@media screen and (max-height: 450px) {
  .overlay a {
    font-size: 20px
  }
}


/*=== MAIN CONTENT ===============================*/

main {
    position:relative;
    background-color: rgb(255, 255, 255, 0.6);
}

h2 {
  text-align: center;
  margin: 0;
}

h3 {
  text-align: center;
}
  
.intro-section {
  width: 335px;
  background-color: rgb(255, 255, 255, 0.8);
  margin-top: 210px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 80px;
}

.section {
  width: 335px;
  background-color: transparent;
  margin-top: 0;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 80px;
}

.section-image {
  display: block;
  width: 100%;
  border-radius: 50%;
  margin: auto;
}

.training-session {
  width: 335px;
  background-color: rgb(255, 255, 255, 0.8);
  margin: 0 auto 40px 0;
  padding: 0 10px;
  border: 2px solid silver;
  box-shadow: 2px 5px #888888;
}

.training-session-button {
  display: block;
  width: 175px;
  text-decoration: none;
  text-align: center;
  border: none;
  border-radius: 10px;
  color: white;
  background-color:  #349f71;
  margin: 15px auto;
  padding: 15px;
  font-size: 20px;
  font-weight: bold;
}

/* RESOURCES PAGE General Page Styling */

.resources-intro {
  background-color: #fdfdfd;
  border-left: 4px solid #0077cc;
  margin: 2rem 0;
  padding: 1rem 1.5rem;
  font-style: italic;
  color: #444;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  border-radius: 6px;
}

.resources-intro p {
  margin: 0;
}

.resources-main {
  max-width: 325px;
  text-align: center;
  margin: auto;
}

section h2 {
  text-align: center;
}

.resources-section {
  width: 100%;
  margin-top: 0;
  margin-bottom: 60px;
  border-bottom: 1px solid #ddd;
}

.resources {
  width: 100%;
}

/* Section Headings */
.resources-section .resources {
  font-family: 'Arial', sans-serif;
  color: #333;
  font-size: 1.75rem;
  font-weight: bold;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* Blog Articles Grid */
.articles {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  width: 100%;
}

/* Article Cards */
.article-card {
  background-color: #fff;
  padding: 1rem;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  transition: transform 0.2s;
  width: 100%;
}

.article-card img {
  display: block;
  width: 100%;
  margin: auto;
}

.article-card:hover {
  transform: translateY(-4px);
}

.article-card h3 {
  margin-top: 0;
  font-size: 1.2rem;
}

.article-card p {
  font-size: 0.95rem;
  color: #555;
}

.article-card a {
  color: #0077cc;
  text-decoration: none;
}

.article-card a:hover {
  text-decoration: underline;
}

/* Placeholder Text */
.placeholder {
  font-style: italic;
  color: #666;
  margin-top: 0.5rem;
}


/*=== IMAGES =============================*/

.training-image {
  display: block;
  width: 335px;
  margin: auto;
}

.flyer-image {
  display: block;
  width: 335px;
  margin: auto;
}


/*=== BUTTONS / LINKS ====================*/

a {
  color: #349f71;
}  

.section-button {
  display: block;
  text-decoration: none;
  font-weight: bold;
  text-align: left;
  width: 335px;
  color: #349f71;
  margin-bottom: 40px;
  padding: 15px;
}

.section-title {
  text-align: center;
  font-size: 24px;
  font-weight: bold;
}

.link-button {
    text-decoration: none;
    display: block;
    width: 230px;
    text-decoration: none;
    text-align: center;
    border: none;
    border-radius: 10px;
    color: white;
    background-color:  #349f71;
    padding: 20px;
    font-size: 20px;
    font-weight: bold;
    margin: auto;
}

/* EMAIL LIST FORM BUTTON */
.ml-onclick-form {
  display: block;
  width: 335px;
  text-decoration: none;
  text-align: center;
  border: none;
  border-radius: 10px;
  color: white;
  background-color:  #349f71;
  padding: 20px;
  font-size: 20px;
  font-weight: bold;
  margin: auto;
}

.link-section {
    text-align: center;
    width: 335px;
    margin: 0 auto;
    padding: 10px 0 10px 0;
}

.link-section a {
    margin: 0 5px;
}


/*=== FOOTER =============================*/

footer {
    text-align: center;
    padding-top: 20px;
}

footer a {
    display: block;
    color: black;
    font-size: 16px;
    text-decoration: none;
}
  

/*=== HOVER/TRANSITIONS ==================*/

.section-button:hover,
.link-button:hover,
.link-section a:hover,
.ml-onclick-form:hover,
footer a:hover,
.training-session-button:hover {
    opacity: 0.6;
    transition: 0.3s;
}



/* BEGIN SECOND MEDIA QUERRY HERE -----------------------------------------------------------------*/
/* media query screen=below 769px -------------------------------------------------------*/

@media (min-width: 768px)  {    

/*=== FLEX ===============================*/
.row-1 {
  display: flex;
}


.overlay a {
  font-size: 28px;
}


/*=== MAIN CONTENT =======================*/

.section-button {
  width: 33%;
}

.intro-section {
  width: 600px;
  margin-top: 480px;
}

.section {
  width: 600px;
}

.section-image {
  padding: 20px;
}

.section-title {
  font-size: 16px;
}

.training-session {
  width: 250px;
  margin: 0 20px 40px 20px;
  padding: 0 10px;
}

.training-session div {
  height: 360px;
  width: 100%;
}

.resources-main {
  max-width: 600px;
}


/*=== IMAGES =============================*/

.training-image {
  width: 400px;
}

.flyer-image {
  width: 500px;
}

 
/*=== BUTTONS =============================*/

.section-button {
  padding: 0;
}


}



/* BEGIN THIRD MEDIA QUERRY HERE -------------------------------------------------------------------*/
/* media query screen=below 1280px -------------------------------------------------------*/

@media (min-width: 1280px)  { 

.row-2 {
  display: flex;
}


/*=== MAIN CONTENT =======================*/  

.intro-section {
  width: 1000px;
  margin-top: 660px;
}

.section {
  width: 1000px;
}

.training-session {
  width: 250px;
  margin: 0 20px 40px 20px;
  padding: 0 10px;
  border: 2px solid silver;
  box-shadow: 2px 5px #888888;
}

.training-session div {
  height: 380px;
  width: 100%;
}

.resources-main {
  max-width: 1200px;
}


}