/*
Theme Name: OPGenerations
Theme URI:  https://www.wpserveur.net
Author:     Ryan Janvier
Author URI: https://ryanjanvier.com
Template:   generatepress
Version:    1.0
License:    GNU General Public License v2 or later
*/

@font-face {
    font-family: 'PolySans Bulky';
    src: url('fonts/PolySans-Bulky.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'PolySans Slim';
    src: url('fonts/PolySans-Slim.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

h1, h2, h3, h4, h5 {
  font-family: 'PolySans Bulky', sans-serif;
}

body {
  font-family: 'PolySans Slim', sans-serif;
}

/* Accordion lists */


.fl-accordion-content {
  margin-top: 10px;
}

.accordion ul {
    list-style-type: none;
    padding-left: 0;
    margin: 0!important;
}

.accordion li {
    padding-left: 0;
    margin-left: 0;
    padding-top: 3px;
    padding-bottom: 3px;
    border-bottom: 1px solid grey;
}

/* Top Bar */


.inside-top-bar {
    padding: 2px 40px;
}

.inside-top-bar a {
  text-decoration: none;
}

/* Header */

.inside-header {
    padding: 10px 40px;
}


.main-navigation.navigation-stick .main-nav ul li,
.main-navigation.navigation-stick a:not([aria-label*='Close'])  

{
    color: #fff;
}	

.main-navigation.is_stuck,
.main-navigation.is_stuck ul ul

{
    background-color: #2584C6;
}

#sticky-navigation .inside-navigation {
    display: flex;
    justify-content: flex-end;
    padding-right: 40px;
}

#primary-menu {
    display: flex;
    justify-content: flex-end;
    width: 100%;
}

#menu-main-menu {
    display: flex;
    justify-content: flex-end;
    list-style-type: none;
    padding: 0;
    margin: 0;
}


.navigation-stick li {
    margin-left: 10px; /* Adjust the spacing between items as needed */
}


/* Hide main navigation on mobile */
@media (max-width: 768px) {
    .main-navigation .main-nav,
    #primary-menu,
    #menu-main-menu {
        display: none !important;
    }
    
    /* Show navigation when mobile menu is toggled open */
    .main-navigation.toggled .main-nav,
    .main-navigation.toggled #primary-menu,
    .main-navigation.toggled #menu-main-menu {
        display: flex !important;
        flex-direction: column;
    }
    
    /* Optional: Style the mobile menu items */
    .main-navigation.toggled #menu-main-menu li {
        width: 100%;
        text-align: center;
    }
    .main-navigation.toggled .menu-item-has-children {
        padding-right: 20px;
    }
    .main-navigation.toggled .menu-item-has-children .dropdown-menu-toggle {
        float: none;
        position: absolute;
    }
}
/* BreadCrumbs */

.top-breadcrumb {
  position: relative;
  background: #2ECF00;
  height: 10px;
}

.breadcrumb-shape {
  position: absolute;
  left: 0;
  top: -13px;
  height: 30px;
  width: 30px;
}

.breadcrumb-outer {
    background-color: #D5EFAF; /* Green background color */
    padding: 5px;
}

.breadcrumb-container {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    max-width: 1140px; /* Adjust as needed */
    width: 100%;
    align-content: center;
    font-size: 13px;
    margin: 0 auto;
    padding: 0 10px;
}

.breadcrumb-container p {
  margin-bottom: 0;
  font-size: 13px;
}

/* Content */

.site-content {
  margin-bottom: 100px;
}

.icon img {
    transition: transform 0.3s ease-in-out;
}

/* Hover state */
.icon img:hover {
    transform: scale(1.2);
}

.fl-node-1ry06u28oesh {
    animation: infiniteBounce 2s infinite;
}

@keyframes infiniteBounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-20px);
    }
    60% {
        transform: translateY(-10px);
    }
}


/* Footer */

.copyright {
  text-align: center;
  color: white;
}

.site-footer {
  position: fixed;
  bottom: 0;
  left: 0;
}

.fade-overlay {
  width: 100%;
  height: 40px; /* Adjust the height of the fade overlay */
  background: linear-gradient(to top, rgba(175, 223, 255, 1), rgba(255, 255, 255, 0)); /* Gradient from white to transparent */
  pointer-events: none; /* Allow clicks to pass through the overlay */
}

.footer-container {
    position: relative;
    width: 100%;
    height: 60px; /* Adjust as needed */
}

.footer-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
}

.bar1, .bar2, .bar3 {
    height: 10px; /* Adjust as needed */
}

.bar1 {
    background-color: #AFDFFF; /* Sample color for bar 1 */
}

.bar2 {
    background-color: #00B1EB; /* Sample color for bar 2 */
}

.bar3 {
    height: 60px; /* Adjust as needed */
    background-color: #2484C6; /* Sample color for bar 3 */
}

.container {
    position: relative;
    margin: 0 auto;
}



/* Islands */

.left-island, .right-island, .navi {
    position: absolute;
    bottom: -230px;
    height: 240px; /* Adjust as needed */
    width: 240px; /* Adjust as needed */
}

.left-island {
    left: 0; /* Adjust as needed */
}

.right-island {
    right: 0; /* Adjust as needed */
    z-index: 11;
}

.navi {
	z-index: 10;
    right: 0;
    bottom: -200px;
    z-index; 10
}

.navi-image {
  height: 100px;
  width: 100px;
}

.parent-element {
  position: relative; /* Ensure the parent element is positioned relatively */
}

.speech-bubble {
	display: flex;
    background-color: #fff;
    padding: 40px 24px 15px 10px;
    border-radius: 30px;
    width: 420px;
    height: 50px;
    margin: 20px;
    position: absolute;
    top: -110px;
    right: 200px;
	line-height: normal;
    align-items: center;
    justify-content: center;
    text-align: center;
    z-index: -1;
	box-shadow: 3px 2px 8px 8px lightblue;
	font-size: 14px;
}

.speech-bubble:before,
.speech-bubble:after {
  content: "";
  background-color: #fff;
  border-radius: 50%;
  display: block;
  position: absolute;
  z-index: -2;
}

.speech-bubble:before {
  width: 44px;
  height: 44px;
  top: -12px;
  left: 28px;
  box-shadow: -50px 30px 0 -12px #fff;
}

.speech-bubble:after {
  bottom: -10px;
  right: 26px;
  width: 30px;
  height: 30px;
  box-shadow: 40px -34px 0 0 #fff,
              -28px -6px 0 -2px #fff,
              -24px 17px 0 -6px #fff,
              -5px 25px 0 -10px #fff;
}


.canoe {
    position: absolute;
    bottom: -130px;
    left: 100; /* Adjust as needed */
    width: 100px; /* Adjust as needed */
    height: 100px; /* Adjust as needed */
    animation: canoeWave 2s infinite alternate; /* Wave animation */
    z-index: 995;
}


@keyframes canoeWave {
    0% {
        transform: rotate(0deg);
    }
    50% {
        transform: rotate(-5deg); /* Adjust the angle of the wave */
    }
    100% {
        transform: rotate(0deg);
    }
}

.wave {
    position: absolute;
    bottom: 64px; /* Adjust as needed */
    left: -50px;
    width: 100%;
    height: 2px; /* Adjust as needed */
    background: linear-gradient(to left, #afdfff 10%, transparent 100%);
    z-index: -1; /* Place behind the canoe */
    transition: width 2s; /* Transition for smooth width change */
}

@keyframes waveGrow {
    0% {
        width: 0; /* Start with 0 width */
    }
    100% {
        width: 100%; /* Expand to full width */
    }
}


@media (max-width: 600px) {
    .left-island, .right-island, .navi {
        bottom: -115px; /* Adjust according to new height */
        height: 120px;  /* Shrink height */
        width: 120px;   /* Shrink width */
    }
    .canoe {
      position: absolute;
      bottom: -80px;
      left: 100; /* Adjust as needed */
      width: 60px; /* Adjust as needed */
      height: 60px; /* Adjust as needed */
      animation: canoeWave 2s infinite alternate; /* Wave animation */
      z-index: 995;
    }
    
    .wave {
      position: absolute;
      bottom: 40px; /* Adjust as needed */
      left: -20px;
      width: 100%;
      height: 2px; /* Adjust as needed */
      background: linear-gradient(to left, #afdfff 10%, transparent 100%);
      z-index: -1; /* Place behind the canoe */
      transition: width 2s; /* Transition for smooth width change */
    }
    
    .navi {
      right: 0;
      bottom: -100px;
      z-index; 10
    }

    .navi-image {
      height: 50px;
      width: 50px;
    }
    
	.speech-bubble {
		
		position: absolute;
		top: -140px;
		right: 0px;
		width: 420px !important;
		height: 50px;
		background-color: #ffffff;
		border-radius: 50px;
		border: none;
		padding-top: 10px;
		text-align: center;
		font-size: 10px;
		font-weight: bold;
		margin: 20px 0px 0px 0px;
		line-height: normal;
		display: none;
		box-shadow: 6px 4px 12px 10px lightblue;
	}
	.speech-bubble p{
		 margin-bottom: inherit;
	}

}

.bottom-footer {
    background-color: #1b6ca3;
    color: white;
    padding: 0;
    font-size: 11px;
}

.bottom-footer-container {
    max-width: 100%;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
  }

.column {
    flex: 1;
    text-align: center;
}

.social-icons {
    list-style: none;
    padding: 0;
    margin: 0;
}

.social-icons li {
    display: inline-block;
    margin-right: 10px;
}

.footer-links {
    list-style: none;
    padding-top: 10px;
    margin: 0;
}

.footer-links li {
    display: inline-block;
    margin-right: 10px;
}

.footer-links li:last-child {
    margin-right: 0;
}

.footer-links a {
    color: white;
    text-decoration: none;
    font-size: 11px;
}


/* Gamification */

#slideout-menu {
    position: fixed;
    right: -50px; /* Initially hidden */
    top: 50px;
    width: 50px;
    height: 500px;
    background-color: #333;
    z-index: 1000;
    transition: right 0.3s;
}

#menu-icon {
    position: absolute;
    left: -50px;
    top: 0;
    width: 50px;
    height: 50px;
    cursor: pointer;
}

#menu-icon img {
    width: 100%;
    height: 100%;
}

#menu-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 50px;
}

.menu-icon {
    width: 40px;
    height: 40px;
    margin: 10px 0;
    opacity: 0.5;
    transition: opacity 0.3s;
}

.menu-icon.active {
    opacity: 1;
}

/* Fun effects */

#changingWord {
    display: inline-block;
    transition: opacity 0.5s;
}

.electrocuted {
    display: inline-block;
    transition: all 0.1s;
}

.electrocuted.electric {
    color: #65CC01;
    text-shadow: 0 0 5px #65CC01, 0 0 10px #65CC01, 0 0 15px #65CC01;
}
