/*!
Theme Name: poenglishcake
Theme URI: http://underscores.me/
Author: Ezra Molkho
Author URI: http://underscores.me/
Description: poenglishcake main site
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: poenglishcake
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned.

poenglishcake is based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc.
Underscores is distributed under the terms of the GNU GSPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/
/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Generic
	- Normalize
	- Box sizing
# Base
	- Typography
	- Elements
	- Links
	- Forms
## Layouts
# Components
	- Navigation
	- Posts and pages
	- Comments
	- Widgets
	- Media
	- Captions
	- Galleries
# plugins
	- Jetpack infinite scroll
# Utilities
	- Accessibility
	- Alignments

--------------------------------------------------------------*/
/*--------------------------------------------------------------
# Generic
--------------------------------------------------------------*/
/* Normalize
--------------------------------------------- */
/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */
/* Document
	 ========================================================================== */
/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */
html {
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
}

/* Sections
	 ========================================================================== */
/**
 * Remove the margin in all browsers.
 */
body {
  margin: 0;
}

/**
 * Render the `main` element consistently in IE.
 */
main {
  display: block;
}

/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Firefox, and Safari.
 */
h1 {
  font-size: 2em;
  margin: 0.67em 0;
}

/* Grouping content
	 ========================================================================== */
/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */
hr {
  box-sizing: content-box;
  height: 0;
  overflow: visible;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
pre {
  font-family: monospace, monospace;
  font-size: 1em;
}

/* Text-level semantics
	 ========================================================================== */
/**
 * Remove the gray background on active links in IE 10.
 */
a {
  background-color: transparent;
}

/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */
abbr[title] {
  border-bottom: none;
  text-decoration: underline;
  -webkit-text-decoration: underline dotted;
  text-decoration: underline dotted;
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */
b,
strong {
  font-weight: bolder;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
code,
kbd,
samp {
  font-family: monospace, monospace;
  font-size: 1em;
}

/**
 * Add the correct font size in all browsers.
 */
small {
  font-size: 80%;
}

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */
sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

/* Embedded content
	 ========================================================================== */
/**
 * Remove the border on images inside links in IE 10.
 */
img {
  border-style: none;
}

/* Forms
	 ========================================================================== */
/**
 * 1. Change the font styles in all browsers.
 * 2. Remove the margin in Firefox and Safari.
 */
button,
input,
optgroup,
select,
textarea {
  font-family: inherit;
  font-size: 100%;
  line-height: 1.15;
  margin: 0;
}

/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */
button,
input {
  overflow: visible;
}

/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */
button,
select {
  text-transform: none;
}

/**
 * Correct the inability to style clickable types in iOS and Safari.
 */
button,
[type=button],
[type=reset],
[type=submit] {
  -webkit-appearance: button;
}

/**
 * Remove the inner border and padding in Firefox.
 */
button::-moz-focus-inner,
[type=button]::-moz-focus-inner,
[type=reset]::-moz-focus-inner,
[type=submit]::-moz-focus-inner {
  border-style: none;
  padding: 0;
}

/**
 * Restore the focus styles unset by the previous rule.
 */
button:-moz-focusring,
[type=button]:-moz-focusring,
[type=reset]:-moz-focusring,
[type=submit]:-moz-focusring {
  outline: 1px dotted ButtonText;
}

/**
 * Correct the padding in Firefox.
 */
fieldset {
  padding: 0.35em 0.75em 0.625em;
}

/**
 * 1. Correct the text wrapping in Edge and IE.
 * 2. Correct the color inheritance from `fieldset` elements in IE.
 * 3. Remove the padding so developers are not caught out when they zero out
 *		`fieldset` elements in all browsers.
 */
legend {
  box-sizing: border-box;
  color: inherit;
  display: table;
  max-width: 100%;
  padding: 0;
  white-space: normal;
}

/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */
progress {
  vertical-align: baseline;
}

/**
 * Remove the default vertical scrollbar in IE 10+.
 */
textarea {
  overflow: auto;
}

/**
 * 1. Add the correct box sizing in IE 10.
 * 2. Remove the padding in IE 10.
 */
[type=checkbox],
[type=radio] {
  box-sizing: border-box;
  padding: 0;
}

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */
[type=number]::-webkit-inner-spin-button,
[type=number]::-webkit-outer-spin-button {
  height: auto;
}

/**
 * 1. Correct the odd appearance in Chrome and Safari.
 * 2. Correct the outline style in Safari.
 */
[type=search] {
  -webkit-appearance: textfield;
  outline-offset: -2px;
}

/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */
[type=search]::-webkit-search-decoration {
  -webkit-appearance: none;
}

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */
::-webkit-file-upload-button {
  -webkit-appearance: button;
  font: inherit;
}

/* Interactive
	 ========================================================================== */
/*
 * Add the correct display in Edge, IE 10+, and Firefox.
 */
details {
  display: block;
}

/*
 * Add the correct display in all browsers.
 */
summary {
  display: list-item;
}

/* Misc
	 ========================================================================== */
/**
 * Add the correct display in IE 10+.
 */
template {
  display: none;
}

/**
 * Add the correct display in IE 10.
 */
[hidden] {
  display: none;
}

/* Box sizing
--------------------------------------------- */
/* Inherit box-sizing to more easily change it's value on a component level.
@link http://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/ */
*,
*::before,
*::after {
  box-sizing: inherit;
}

html {
  box-sizing: border-box;
}

/*--------------------------------------------------------------
# Base
--------------------------------------------------------------*/
/* Typography
--------------------------------------------- */
body,
button,
input,
select,
optgroup,
textarea {
  color: #404040;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
  font-size: 1rem;
  line-height: 1.5;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  clear: both;
}

p {
  margin-bottom: 1.5em;
}

dfn,
cite,
em,
i {
  font-style: italic;
}

blockquote {
  margin: 0 1.5em;
}

address {
  margin: 0 0 1.5em;
}

pre {
  background: #eee;
  font-family: "Courier 10 Pitch", courier, monospace;
  line-height: 1.6;
  margin-bottom: 1.6em;
  max-width: 100%;
  overflow: auto;
  padding: 1.6em;
}

code,
kbd,
tt,
var {
  font-family: monaco, consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
}

abbr,
acronym {
  border-bottom: 1px dotted #666;
  cursor: help;
}

mark,
ins {
  background: #fff9c0;
  text-decoration: none;
}

big {
  font-size: 125%;
}

/* Elements
--------------------------------------------- */
body {
  background: #fff;
}

hr {
  background-color: #ccc;
  border: 0;
  height: 1px;
  margin-bottom: 1.5em;
}

ul,
ol {
  margin: 0 0 1.5em 3em;
}

ul {
  list-style: disc;
}

ol {
  list-style: decimal;
}

li>ul,
li>ol {
  margin-bottom: 0;
  margin-left: 1.5em;
}

dt {
  font-weight: 700;
}

dd {
  margin: 0 1.5em 1.5em;
}

/* Make sure embeds and iframes fit their containers. */
embed,
iframe,
object {
  max-width: 100%;
}

img {
  height: auto;
  max-width: 100%;
}

figure {
  margin: 1em 0;
}

table {
  margin: 0 0 1.5em;
  width: 100%;
}

/* Links
--------------------------------------------- */
a {
  color: #4169e1;
}

a:visited {
  color: #800080;
}

a:hover,
a:focus,
a:active {
  color: #191970;
}

a:focus {
  outline: thin dotted;
}

a:hover,
a:active {
  outline: 0;
}

/* Forms
--------------------------------------------- */
button,
input[type=button],
input[type=reset],
input[type=submit] {
  border: 1px solid;
  border-color: #ccc #ccc #bbb;
  border-radius: 3px;
  background: #e6e6e6;
  color: rgba(0, 0, 0, 0.8);
  line-height: 1;
  padding: 0.6em 1em 0.4em;
}

button:hover,
input[type=button]:hover,
input[type=reset]:hover,
input[type=submit]:hover {
  border-color: #ccc #bbb #aaa;
}

button:active,
button:focus,
input[type=button]:active,
input[type=button]:focus,
input[type=reset]:active,
input[type=reset]:focus,
input[type=submit]:active,
input[type=submit]:focus {
  border-color: #aaa #bbb #bbb;
}

input[type=text],
input[type=email],
input[type=url],
input[type=password],
input[type=search],
input[type=number],
input[type=tel],
input[type=range],
input[type=date],
input[type=month],
input[type=week],
input[type=time],
input[type=datetime],
input[type=datetime-local],
input[type=color],
textarea {
  color: #666;
  border: 1px solid #ccc;
  border-radius: 3px;
  padding: 3px;
}

input[type=text]:focus,
input[type=email]:focus,
input[type=url]:focus,
input[type=password]:focus,
input[type=search]:focus,
input[type=number]:focus,
input[type=tel]:focus,
input[type=range]:focus,
input[type=date]:focus,
input[type=month]:focus,
input[type=week]:focus,
input[type=time]:focus,
input[type=datetime]:focus,
input[type=datetime-local]:focus,
input[type=color]:focus,
textarea:focus {
  color: #111;
}

select {
  border: 1px solid #ccc;
}

textarea {
  width: 100%;
}

/*--------------------------------------------------------------
# Layouts
--------------------------------------------------------------*/
/*--------------------------------------------------------------
# Components
--------------------------------------------------------------*/
/* Navigation
--------------------------------------------- */
/* Posts and pages
--------------------------------------------- */
.sticky {
  display: block;
}

.post,
.page {
  margin: 0 0 1.5em;
}

.updated:not(.published) {
  display: none;
}

.page-content,
.entry-content,
.entry-summary {
  margin: 1.5em 0 0;
}

.page-links {
  clear: both;
  margin: 0 0 1.5em;
}

/* Comments
--------------------------------------------- */
.comment-content a {
  word-wrap: break-word;
}

.bypostauthor {
  display: block;
}

/* Widgets
--------------------------------------------- */
.widget {
  margin: 0 0 1.5em;
}

.widget select {
  max-width: 100%;
}

/* Media
--------------------------------------------- */
.page-content .wp-smiley,
.entry-content .wp-smiley,
.comment-content .wp-smiley {
  border: none;
  margin-bottom: 0;
  margin-top: 0;
  padding: 0;
}

/* Make sure logo link wraps around logo image. */
.custom-logo-link {
  display: inline-block;
}

/* Captions
--------------------------------------------- */
.wp-caption {
  margin-bottom: 1.5em;
  max-width: 100%;
}

.wp-caption img[class*=wp-image-] {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.wp-caption .wp-caption-text {
  margin: 0.8075em 0;
}

.wp-caption-text {
  text-align: center;
}

/* Galleries
--------------------------------------------- */
.gallery {
  margin-bottom: 1.5em;
  display: grid;
  grid-gap: 1.5em;
}

.gallery-item {
  display: inline-block;
  text-align: center;
  width: 100%;
}

.gallery-columns-2 {
  grid-template-columns: repeat(2, 1fr);
}

.gallery-columns-3 {
  grid-template-columns: repeat(3, 1fr);
}

.gallery-columns-4 {
  grid-template-columns: repeat(4, 1fr);
}

.gallery-columns-5 {
  grid-template-columns: repeat(5, 1fr);
}

.gallery-columns-6 {
  grid-template-columns: repeat(6, 1fr);
}

.gallery-columns-7 {
  grid-template-columns: repeat(7, 1fr);
}

.gallery-columns-8 {
  grid-template-columns: repeat(8, 1fr);
}

.gallery-columns-9 {
  grid-template-columns: repeat(9, 1fr);
}

.gallery-caption {
  display: block;
}

#header {
  position: relative;
  top: 0;
  left: 0;
  width: 100%;
  height: 135px;
}

#header .headerImage {
  position: relative;
  z-index: -1;
  top: 0;
  left: 0;
  width: 100%;
  height: 135px;
}

#header #bgHeader {
  width: 100%;
  height: 135px;
  -o-object-position: 50% 0%;
  object-position: 50% 0%;
}

#header #logo {
  width: 250px;
  height: auto;
  position: absolute;
  top: 5px;
  left: 50px;
}

#header #note {
  width: 110px;
  height: auto;
  position: absolute;
  top: 5px;
  right: 76px;
}

#header #learning {
  width: 350px;
  height: auto;
  position: absolute;
  top: 20px;
  right: 30%;
}

.site-menu {
  background-color: #1e90ff;
  padding: 7px;
  font-size: 100%;
}

/* Style the main menu list */
#mainNav {
  margin-top: -48px;
}

#primary-menu {
  list-style: none;
  padding: 0;
  margin: 0;
  margin-left: 50px;
}

#primary-menu .menu-item {
  display: inline-block;
}

#primary-menu .menu-item a {
  text-decoration: none;
  color: #fff;
  padding: 6px 10px;
  font-weight: bold;
}

#primary-menu .menu-item a:hover {
  background-color: #00509e;
  color: #fdff9e;
}

#primary-menu .sub-menu {
  display: none;
  margin-top: 0px;
  margin-left: -10px;
  padding: 3px;
  position: absolute;
  background-color: #1e90ff;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
  z-index: 20;
}

#primary-menu .menu-item-has-children:hover .sub-menu {
  display: block;
}

#primary-menu .menu-item-has-children:hover .menu-item {
  display: block;
  padding: 4px;
  margin: 0;
}

#footer .footer-text {
  text-align: center;
  padding-top: 20px;
}

#gameCursel {
  margin: 0 auto;
  width: 90%;
  margin-top: 0px;
}

#gameCursel .slaider-containter2 {
  position: relative;
  display: flex;
  margin-left: 0;
  margin-right: 0;
  justify-content: center;
  align-items: center;
  background: linear-gradient(0deg, rgb(17, 117, 174) 0%, rgb(175, 210, 230) 100%);
  width: 100%;
  min-width: 230px;
  height: 140px;
  padding: 20px 50px 20px 40px;
  border: 3px outset #888;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  border-radius: 15px;
}

#gameCursel .slaider-containter2 .vertical-text {
  width: 50px;
  font-size: 30px;
  font-weight: bold;
  color: #fff;
  text-shadow: 2px 2px 2px #000;
  writing-mode: vertical-rl;
  text-orientation: mixed;
  transform: rotate(180deg);
}

#gameCursel .slaider-containter2 .swiper-container {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  width: 100%;
  overflow: hidden;
  padding: 10px 0 10px 0;
}

#gameCursel .slaider-containter2 .swiper-container .swiper-button-next,
#gameCursel .slaider-containter2 .swiper-container .swiper-button-prev {
  color: transparent;
  /* Hide default arrow */
  position: absolute;
  top: 67%;
  /* Center vertically */
  transform: translateY(-50%);
  z-index: 10;
  /* Ensure buttons are above other elements */
  width: 100px;
  height: 100px;
  user-select: none;
  /* Standard */
  -webkit-user-select: none;
  /* Safari/Chrome */
  outline: none;
  /* Removes the blue border/outline on click */
  -webkit-tap-highlight-color: transparent;
}

#gameCursel .slaider-containter2 .swiper-container .swiper-button-next {
  right: 20px;
  /* Position to the right */
}

#gameCursel .slaider-containter2 .swiper-container .swiper-button-prev {
  left: -60px;
  /* Position to the left */
}

#gameCursel .slaider-containter2 .swiper-container .swiper-button-next::after,
#gameCursel .slaider-containter2 .swiper-container .swiper-button-prev::after {
  content: "";
  display: block;
  width: 0;
  height: 0;
  border-style: solid;
}

#gameCursel .slaider-containter2 .swiper-container .swiper-button-next::after {
  border-width: 15px 0 15px 15px;
  border-color: transparent transparent transparent white;
}

#gameCursel .slaider-containter2 .swiper-container .swiper-button-prev::after {
  border-width: 15px 15px 15px 0;
  border-color: transparent white transparent transparent;
}

#gameCursel .slaider-containter2 .swiper-container .swiper-pagination {
  position: absolute;
  bottom: -20px;
  width: 100%;
  display: flex;
  justify-content: center;
  gap: 10px;
}

#gameCursel .slaider-containter2 .swiper-container .swiper-wrapper {
  display: flex;
  gap: 12px;
}

#gameCursel .slaider-containter2 .swiper-container .swiper-wrapper .swiper-slide {
  width: 155px;
  height: 115px;
  display: flex;
  border: none;
}

#gameCursel .slaider-containter2 .swiper-container .swiper-wrapper .swiper-slide img {
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 106px;
  background-color: transparent;
  border: solid 3px #ddd;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  box-sizing: border-box;
  /* Fixes the width calculation */
  width: 100%;
  /* Ensure the max-width doesn't exceed the slide */
  max-width: 100%;
}

#gameCursel .slaider-containter2 .swiper-container .swiper-wrapper .swiper-slide:last-child {
  margin-right: 100px !important;
  /* Adds dead space after the last item */
}

#gameCursel .slaider-containter2 .swiper-container .swiper-button-disabled {
  opacity: 0.3 !important;
  /* Make it fade out so user knows to stop clicking */
  cursor: default;
  /* Change cursor back to arrow instead of pointer */
  pointer-events: auto;
  /* KEEP this auto. If you set 'none', clicks will fall through to the image behind! */
}

/*--------------------------------------------------------------
# Plugins
--------------------------------------------------------------*/
/* Jetpack infinite scroll
--------------------------------------------- */
/* Hide the Posts Navigation and the Footer when Infinite Scroll is in use. */
.infinite-scroll .posts-navigation,
.infinite-scroll.neverending .site-footer {
  display: none;
}

/* Re-display the Theme Footer when Infinite Scroll has reached its end. */
.infinity-end.neverending .site-footer {
  display: block;
}

/*--------------------------------------------------------------
# Utilities
--------------------------------------------------------------*/
/* Accessibility
--------------------------------------------- */
/* Text meant only for screen readers. */
.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute !important;
  width: 1px;
  word-wrap: normal !important;
}

.screen-reader-text:focus {
  background-color: #f1f1f1;
  border-radius: 3px;
  box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
  clip: auto !important;
  clip-path: none;
  color: #21759b;
  display: block;
  font-size: 0.875rem;
  font-weight: 700;
  height: auto;
  left: 5px;
  line-height: normal;
  padding: 15px 23px 14px;
  text-decoration: none;
  top: 5px;
  width: auto;
  z-index: 100000;
}

/* Do not show the outline on the skip link target. */
#primary[tabindex="-1"]:focus {
  outline: 0;
}

/* Alignments
--------------------------------------------- */
.alignleft {
  /*rtl:ignore*/
  float: left;
  /*rtl:ignore*/
  margin-right: 1.5em;
  margin-bottom: 1.5em;
}

.alignright {
  /*rtl:ignore*/
  float: right;
  /*rtl:ignore*/
  margin-left: 1.5em;
  margin-bottom: 1.5em;
}

.aligncenter {
  clear: both;
  display: block;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 1.5em;
}

/* pages
--------------------------------------------- */
#home-page a,
#home-page a:hover,
#home-page a:active {
  color: #0000ff;
}

#home-page a:visited {
  color: #7979e8;
}

#home-page h1 {
  color: red;
}

#home-page .container {
  display: flex;
  flex-wrap: wrap;
  width: 100px;
  height: auto;
}

#home-page .container div {
  border: solid 1px black;
  flex: 0 1 50%;
  height: 50px;
}

#home-page .box-container {
  position: relative;
  display: flex;
  gap: 25px;
  padding: 5px;
  justify-content: left;
  max-width: 1500px;
  width: 90%;
  margin: auto;
  margin-top: 25px;
}

#home-page .box-container.activitiesColumns {
  gap: 5%;
}

#home-page .box-container .frametop {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 68px;
  border-top-right-radius: 15px;
  border-top-left-radius: 15px;
  text-align: center;
  padding-top: 20px;
}

#home-page .box-container .box {
  display: flex;
  flex-direction: column;
  width: 30%;
  min-width: 200px;
  height: 450px;
  margin-right: 20px;
  margin-bottom: auto;
  border-top: 2px solid #ccc;
  border-left: 2px solid #333;
  border-right: 2px solid #333;
  border-bottom: 2px solid #333;
  border-radius: 15px;
}

#home-page .box-container .box .reading {
  padding: 5px 10px;
  line-height: 1.2;
}

#home-page .box-container .box .frametop {
  width: 100%;
  background: rgb(215, 215, 215);
  height: 68px;
  border-top-right-radius: 15px;
  border-top-left-radius: 15px;
  text-align: center;
  padding-top: 20px;
}

#home-page .box-container .box .frametop h1 {
  color: #000;
  padding-bottom: 10px;
  font-size: 150%;
  line-height: 1em;
  margin-top: -5px;
}

#home-page .box-container .box .frametop h1 span {
  font-size: 70%;
  font-weight: normal;
}

#home-page .box-container .box p {
  margin-bottom: 20px;
}

#home-page .box-container .box ul {
  padding: 0;
  list-style-type: none;
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin: 0;
  width: 100%;
  padding: 5px;
}

#home-page .box-container .box ul :hover a {
  color: #fff;
}

#home-page .box-container .box ul li {
  display: flex;
  justify-content: space-between;
  padding: 5px 5px 5px 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
  box-shadow: -1px 3px 2px #ddd;
}

#home-page .box-container .box ul li a {
  text-decoration: none;
  color: #000;
}

#home-page .box-container .box ul a {
  text-decoration: none;
  color: #000;
}

#home-page .box-container .box.beginner ul :hover {
  background: #B4E156;
}

#home-page .box-container .box.beginner .frametop {
  background: linear-gradient(0deg, rgb(181, 181, 181) 0%, rgb(255, 255, 255) 94%);
}

#home-page .box-container .box.beginner .framebootom {
  background: linear-gradient(270deg, rgb(134, 187, 8) 0%, rgb(209, 249, 136) 94%);
  border-radius: 0px 0 12px 12px;
  margin-top: auto;
}

#home-page .box-container .box.beginner .framebootom .AdvancedSearch {
  text-align: center;
  padding: 7px;
  color: #fff;
  font-size: 1.2em;
  text-shadow: 2px 2px #aaa;
  font-weight: bold;
}

#home-page .box-container .box.beginner .framebootom .AdvancedSearch .Search {
  margin-top: auto;
  vertical-align: bottom;
  padding: 7px;
  width: 40px;
  height: auto;
}

#home-page .box-container .box.intermediate ul :hover {
  background: #F7BA55;
}

#home-page .box-container .box.intermediate .frametop {
  background: linear-gradient(0deg, rgb(181, 181, 181) 0%, rgb(255, 255, 255) 94%);
}

#home-page .box-container .box.intermediate .framebootom {
  background: linear-gradient(270deg, rgb(245, 161, 16) 0%, rgb(250, 219, 178) 94%);
  border-radius: 0px 0 12px 12px;
  margin-top: auto;
}

#home-page .box-container .box.intermediate .framebootom .AdvancedSearch {
  text-align: center;
  padding: 7px;
  color: #fff;
  font-size: 1.2em;
  text-shadow: 2px 2px #aaa;
  font-weight: bold;
}

#home-page .box-container .box.intermediate .framebootom .AdvancedSearch .Search {
  margin-top: auto;
  vertical-align: bottom;
  padding: 7px;
  width: 40px;
  height: auto;
}

#home-page .box-container .box.advanced {
  margin-left: auto;
  margin-right: 0;
}

#home-page .box-container .box.advanced ul :hover {
  background: #62B9E1;
}

#home-page .box-container .box.advanced .frametop {
  background: linear-gradient(0deg, rgb(181, 181, 181) 0%, rgb(255, 255, 255) 94%);
}

#home-page .box-container .box.advanced .framebootom {
  background: linear-gradient(270deg, rgb(17, 117, 174) 0%, rgb(136, 217, 249) 94%);
  border-radius: 0px 0 12px 12px;
  margin-top: auto;
}

#home-page .box-container .box.advanced .framebootom .AdvancedSearch {
  text-align: center;
  padding: 7px;
  color: #fff;
  font-size: 1.2em;
  text-shadow: 2px 2px #aaa;
  font-weight: bold;
}

#home-page .box-container .box.advanced .framebootom .AdvancedSearch .Search {
  margin-top: auto;
  vertical-align: bottom;
  padding: 7px;
  width: 40px;
  height: auto;
}

#home-page .box-container .scoolPen {
  display: flex;
  flex: 0.12;
  margin: 0;
}

#home-page .box-container .scoolPen img {
  height: 104%;
  margin: 0;
}

#home-page .box-container .sliderFrame {
  display: flex;
  flex: 1;
  margin-top: 5px;
  line-height: 1em;
  margin-left: auto;
  margin-right: 0;
  position: relative;
  padding-top: 0;
  padding-left: 5%;
  min-width: 308px;
  height: 308px;
  background: linear-gradient(0deg, rgb(17, 117, 174) 0%, rgb(175, 210, 230) 100%);
  font-weight: bold;
  font-size: 25px;
  color: #fff;
  text-shadow: 2px 2px 2px black;
  border: 2px outset #888;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  border-radius: 15px;
}

#home-page .box-container .slaider-containter1 {
  left: 17%;
  top: 40px;
  display: flex;
  flex-direction: column;
  flex: 1;
  position: absolute;
  width: 79%;
  min-width: 300px;
  height: 258px;
  padding: 10px 60px 10px 60px;
  border: 2px outset #888;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  border-radius: 15px;
}

#home-page .box-container .slaider-containter1 .plateHeader {
  line-height: 0.7em;
  font-size: 1.5em;
  font-family: "Cooper Black", sans-serif;
  color: #2222cc;
  text-align: center;
}

#home-page .box-container .slaider-containter1 .swiper-container {
  display: flex;
  width: 108%;
  overflow: hidden;
  margin-left: -40px;
}

#home-page .box-container .slaider-containter1 .swiper-container .swiper-button-next,
#home-page .box-container .slaider-containter1 .swiper-container .swiper-button-prev {
  color: transparent;
  /* Hide default arrow */
  position: absolute;
  top: 54%;
  /* Center vertically */
  transform: translateY(-50%);
  z-index: 10;
  /* Ensure buttons are above other elements */
  width: 100px;
  height: 100px;
}

#home-page .box-container .slaider-containter1 .swiper-container .swiper-button-next {
  right: -4%;
  /* Position to the right */
}

#home-page .box-container .slaider-containter1 .swiper-container .swiper-button-prev {
  margin-left: -120px;
  /* Position to the left */
}

#home-page .box-container .slaider-containter1 .swiper-container .swiper-button-next::after,
#home-page .box-container .slaider-containter1 .swiper-container .swiper-button-prev::after {
  content: "";
  display: block;
  width: 0;
  height: 0;
  border-style: solid;
}

#home-page .box-container .slaider-containter1 .swiper-container .swiper-button-next::after {
  border-width: 23px 0 23px 23px;
  border-color: transparent transparent transparent #ffffff;
}

#home-page .box-container .slaider-containter1 .swiper-container .swiper-button-prev::after {
  border-width: 23px 23px 23px 0;
  border-color: transparent white transparent transparent;
}

#home-page .box-container .slaider-containter1 .swiper-container .swiper-pagination {
  position: absolute;
  bottom: -20px;
  width: 100%;
  display: flex;
  justify-content: center;
  gap: 10px;
}

#home-page .box-container .slaider-containter1 .swiper-container .swiper-wrapper {
  display: flex;
  gap: 0x;
}

#home-page .box-container .slaider-containter1 .swiper-container .swiper-wrapper .swiper-slide {
  width: 208px;
  height: 258px;
}

#home-page .box-container .slaider-containter1 .swiper-container .swiper-wrapper .swiper-slide .slide-forground {
  position: absolute;
  top: 0;
  left: 0;
  width: 214px;
  height: 198px;
  pointer-events: none;
}

#home-page .box-container .slaider-containter1 .swiper-container .swiper-wrapper .swiper-slide .swiper-slide-text a {
  width: 100%;
  text-decoration: none;
  left: -25px;
  color: #000;
  font-size: 1.1em;
  font-weight: bold;
  align-items: baseline;
  justify-content: baseline;
  text-align: center;
  position: absolute;
  top: 185px;
}

#home-page .box-container .slaider-containter1 .swiper-container .swiper-wrapper .swiper-slide img {
  position: absolute;
  top: 39px;
  left: 36px;
  max-width: 110px;
  max-height: 112px;
  min-width: 110px;
  min-height: 112px;
  border-width: 1px 1px 1px medium;
  border-style: solid solid solid none;
}

.masthead {
  position: relative;
  z-index: 3;
  height: 176px;
  margin-bottom: 10px;
}

.highlight-red {
  color: #ff0000;
}

.highlight-blue {
  color: #3300ff;
}

#games a,
#games a:hover,
#games a:active {
  color: #0000ff;
}

#games a:visited {
  color: #7979e8;
}

#games .box-container {
  position: relative;
  display: flex;
  gap: 25px;
  padding: 5px;
  justify-content: left;
  max-width: 1500px;
  width: 90%;
  margin: auto;
  margin-top: 25px;
}

#games .box-container .gamelinks {
  font-family: Georgia, "Times New Roman", Times, serif;
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  width: 100%;
  box-sizing: border-box;
  padding: 10px;
  margin-bottom: 50px;
  height: 100%;
  justify-content: center;
}

#games .box-container .gamelinks .gameBox {
  flex: 1 1 calc(33.333% - 20px);
  flex-basis: 20%;
  flex-grow: 0;
  flex-shrink: 0;
  text-decoration: none;
  color: #000000;
  margin-left: 10px;
  gap: 10px;
  overflow: hidden;
  display: flex;
  width: 50%;
  height: 25%;
  flex-direction: column;
  margin-top: 10px;
}

#games .box-container .gamelinks .gameBox img {
  width: auto;
  min-height: 50%;
  border: solid 1px #000000;
}

#games .box-container .gamelinks .gameBox .gameInfo {
  background: #fff;
  font-size: 0.8em;
  height: inherit;
  min-height: 40%;
}

#games .box-container .gamelinks .gameBox .gameInfo h3 {
  text-align: center;
  margin: 0.2em;
  padding: 0;
  font-size: 1.2em;
  line-height: 1em;
}

#games .box-container .gamelinks .gameBox .gameInfo p {
  margin: 0.2em;
  font-size: 1em;
  color: #666666;
}

#lessons a,
#lessons a:hover,
#lessons a:active {
  color: #0000ff;
}

#lessons a:visited {
  color: #7979e8;
}

#lessons .popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 999;
  display: none;
}

#lessons #lesson-popup {
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 480px;
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  z-index: 1000;
  padding: 20px;
  display: none;
  /* Initially hidden */
}

#lessons #lesson-popup .popup-content {
  position: relative;
}

#lessons #lesson-popup .popup-content #popup-close {
  position: absolute;
  top: -35px;
  right: -5px;
  font-size: 24px;
  font-weight: bold;
  cursor: pointer;
}

#lessons #lesson-popup .popup-content .popup-title {
  font-size: 24px;
  margin-bottom: 10px;
  color: #333;
  text-align: center;
}

#lessons #lesson-popup .popup-content .popup-text {
  font-size: 16px;
  margin-bottom: 20px;
  text-align: center;
  color: #666;
}

#lessons #lesson-popup .popup-content #popup-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

#lessons #lesson-popup .popup-content #popup-buttons button {
  background-color: #f9f9f9;
  border: 1px solid #ddd;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  padding: 10px 20px;
  margin: 10px;
  font-size: 16px;
  color: #333;
  cursor: pointer;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
  border-radius: 5px;
}

#lessons #lesson-popup .popup-content #popup-buttons button:hover {
  background-color: #eaeaea;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.15);
}

#lessons .box-container {
  position: relative;
  display: flex;
  gap: 25px;
  padding: 5px;
  max-width: 1500px;
  width: 100%;
  margin: auto;
  margin-top: 25px;
}

#lessons .box-container .parentbox {
  display: flex;
  width: 100%;
  justify-content: center;
}

#lessons .box-container .parentbox .smallbox {
  width: 250px;
  margin-left: -250px;
  margin-top: 185px;
  height: -moz-fit-content;
  height: fit-content;
  border-top: 2px solid #ccc;
  border-left: 2px solid #333;
  border-right: 2px solid #333;
  border-bottom: 2px solid #333;
  background-color: #fff;
  border-radius: 15px;
  padding: 30px;
}

#lessons .box-container .parentbox .smallbox .levelRedio {
  border: solid #333 0px;
  height: auto;
  text-align: center;
  color: #fff;
  text-shadow: 1px 1px 1px #000;
  min-width: 98%;
  margin: 3px;
  border-radius: 0.2em;
  font-size: 1.2em;
  background-color: rgb(113, 201, 241);
  background-image: linear-gradient(to top left, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2) 30%, rgba(0, 0, 0, 0));
  box-shadow: inset 2px 2px 3px rgba(255, 255, 255, 0.6), inset -2px -2px 3px rgba(0, 0, 0, 0.6);
  active-box-shadow: inset -2px -2px 3px rgba(255, 255, 255, 0.6), inset 2px 2px 3px rgba(0, 0, 0, 0.6);
}

#lessons .box-container .parentbox .smallbox .levelRedio a {
  text-decoration: none;
}

#lessons .box-container .parentbox .box {
  position: relative;
  min-width: 350px;
  height: 585px;
  margin-bottom: auto;
  border-top: 2px solid #ccc;
  border-left: 2px solid #333;
  border-right: 2px solid #333;
  border-bottom: 2px solid #333;
  background-color: #fff;
  border-radius: 15px;
  justify-self: center;
}

#lessons .box-container .parentbox .box .lines {
  overflow: hidden;
}

#lessons .box-container .parentbox .box .lines ul {
  height: 430px;
  overflow-y: auto;
  /* Enables vertical scrolling */
}

#lessons .box-container .parentbox .box .reading {
  padding: 5px 10px;
  line-height: 1.2;
}

.green {
  color: #32CD32;
}

.orange {
  color: #FF4500;
}

.blue {
  color: #3333FF;
}

#lessons .box-container .parentbox .box .frametop {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 68px;
  border-top-right-radius: 15px;
  border-top-left-radius: 15px;
  text-align: center;
  padding-top: 20px;
}

#lessons .box-container .parentbox .box .frametop.Beginner {
  background: linear-gradient(270deg, rgb(134, 187, 8) 0%, rgb(209, 249, 136) 94%);
}

#lessons .box-container .parentbox .box .frametop.Intermediate {
  background: linear-gradient(270deg, rgb(245, 161, 16) 0%, rgb(250, 219, 178) 94%);
}

#lessons .box-container .parentbox .box .frametop.Advanced {
  background: linear-gradient(270deg, rgb(17, 117, 174) 0%, rgb(136, 217, 249) 94%);
}

#lessons .box-container .parentbox .box h1 {
  color: #000;
  padding-bottom: 10px;
  font-size: 150%;
  margin-top: -5px;
}

#lessons .box-container .parentbox .box h1 span {
  font-size: 70%;
  font-weight: normal;

}

#lessons .box-container p {
  margin-bottom: 20px;
}

#lessons .box-container ul {
  padding: 0;
  list-style-type: none;
  display: flex;
  flex-direction: column;
  margin: 30px 0;
  width: 100%;
}

#lessons .box-container li {
  display: flex;
  border-top: 1px solid #ccc;
  line-height: 1em;
}

#lessons .box-container li span.zeta {
  position: relative;
  text-align: center;
  padding: 6px 8px;
  margin-right: 1px;
  border-top-right-radius: 5px;
  border-bottom-right-radius: 5px;
  left: 0px;
  top: 1px;
}

#lessons .box-container li span.zeta.zeta_Beginner {
  background-color: #bedb7f;
}

#lessons .box-container li span.zeta.zeta_Intermediate {
  background-color: #f9d179;
}

#lessons .box-container li span.zeta.zeta_Advanced {
  background-color: #a1d8f0;
}

#lessons .box-container li a {
  padding: 6px 8px;
  text-decoration: none;
  color: #000;
  position: relative;
  display: inline-block;
  width: 100%;
}

#lessons .box-container li a:hover {
  background-color: #dfdddd;
}

.framebootomd {
  position: absolute;
  width: 100%;
  height: 50px;
  bottom: 0;
  border-radius: 0px 0 12px 12px;
  margin-top: auto;
}

.framebootomd.Beginner {
  background: linear-gradient(270deg, rgb(134, 187, 8) 0%, rgb(209, 249, 136) 94%);
}

.framebootomd.Intermediate {
  background: linear-gradient(270deg, rgb(245, 161, 16) 0%, rgb(250, 219, 178) 94%);
}

.framebootomd.Advanced {
  background: linear-gradient(270deg, rgb(17, 117, 174) 0%, rgb(136, 217, 249) 94%);
}

#about a,
#about a:hover,
#about a:active {
  color: #0000ff;
}

#about a:visited {
  color: #7979e8;
}

#about h1 {
  color: red;
}

#about .container {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  height: auto;
}

#about .container div {
  border: solid 1px black;
  flex: 0 1 50%;
  height: 50px;
}

#about .box-container {
  display: block;
  position: relative;
  padding: 5px;
  justify-content: left;
  max-width: 1500px;
  width: 90%;
  margin: auto;
  margin-top: 0px;
}

#about .box-container p {
  margin-bottom: 0;
}

#activities .box-container {
  position: relative;
  display: flex;
  padding: 5px;
  justify-content: left;
  max-width: 1500px;
  width: 90%;
  margin: auto;
  margin-top: 0px;
  /* Display the menu when hovering the hotspot or the menu itself */
}

#activities .box-container .navBtttons-container {
  z-index: 19;
  width: 100%;
  margin-bottom: -9px;
}

#activities .box-container .navBtttons-container a {
  display: inline-block;
  width: 150px;
  color: #ffffff;
  text-decoration: none;
  font-size: 14px;
  font-family: Arial, Helvetica, sans-serif;
  text-align: center;
  position: relative;
  top: 0;
}

#activities .box-container .hover-zone {
  position: absolute;
  left: 158px;
  width: 158px;
  /* covers from 158px to 316px */
  top: 0;
  bottom: 0;
  /* stretches to full height of the container */
  background: transparent;
  z-index: 20;
  /* sits above the background but below the menu */
}

#activities .box-container .hover-menu {
  display: none;
  /* Hide the menu by default */
  position: absolute;
  top: 100%;
  /* Position below the container */
  left: 163px;
  background-color: #5f5972;
  padding: 0px;
  margin: 0;
  list-style: none;
  border: 1px solid white;
  z-index: 20;
  /* Ensure it appears above other elements */
}

#activities .box-container .hover-menu li {
  padding: 5px 10px;
  margin-bottom: 0px;
  color: white;
  border: 1px solid white;
  cursor: pointer;
}

#activities .box-container .hover-menu li:last-child {
  margin-bottom: 0;
}

#activities .box-container .hover-zone:hover+.hover-menu,
#activities .box-container .hover-menu:hover {
  display: block;
}

#activities .gamelinks {
  font-family: Georgia, "Times New Roman", Times, serif;
  display: flex;
  flex-wrap: wrap;
  gap: 2px;
  width: 100%;
  box-sizing: border-box;
  padding-left: 50px;
  padding-right: 50px;
  margin-bottom: 50px;
  min-height: 500px;
  height: 100%;
}

#activities .gamelinks .plates {
  position: relative;
  width: 150px;
  height: 250px;
  margin-top: -65px;
}

#activities .gamelinks .plates .plates-text {
  width: 90%;
  text-align: center;
  margin-left: -15px;
}

#activities .gamelinks .plates .plates-text a {
  text-decoration: none;
  left: 0px;
  color: #000;
  font-size: 0.9em;
  font-weight: bold;
  font-family: Arial, Helvetica, sans-serif;
  align-items: baseline;
  justify-content: baseline;
  text-align: center;
  position: relative;
  top: -25px;
}

#activities .gamelinks .plates img {
  position: relative;
  top: 97px;
  left: 23px;
  max-width: 67px;
  max-height: 68px;
  min-width: 67px;
  min-height: 68px;
}

#activities .gamelinks .plates .plate-forground {
  position: relative;
  top: 0;
  left: 0;
  width: 135px;
  height: 132px;
  pointer-events: none;
}

#activities .gamelinks .plates .expButton {
  position: absolute;
  top: 172px;
  left: 97px;
  width: 21px;
  height: 21px;
  border: none;
  cursor: pointer;
  z-index: 15;
}

#activities .gamelinks .plates .catMenu {
  z-index: 25;
  line-height: 1px;
  display: block;
  position: absolute;
  background: rgba(210, 62, 109, 0.8);
  left: 50px;
  top: 200px;
  width: 70px;
  height: auto;
  border: 1px solid #fff;
  border-radius: 5px;
}

#activities .gamelinks .plates .catMenu a {
  text-decoration: none;
  display: block;
  font: 11px/13px Arial, Helvetica, sans-serif;
  color: #FFFFFF;
  margin: 0 4px;
  width: 55px;
}

#contact .box-container {
  margin-top: 10px;
  display: flex;
  justify-content: center;
  /* Centers horizontally */
  align-items: center;
  /* Centers vertically */
  flex-wrap: wrap;
  /* Allows items to wrap if screen is small */
}

#contact .contact_info_title {
  font-family: "Assistant", "sans-serif";
  font-size: 2.2em;
  font-weight: bold;
  color: #000000;
}

#contact .contact__form {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  width: 60%;
  background-color: #52CEFA;
  border-radius: 5px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

#contact .contact__form div {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

#contact .contact__form .form_title {
  font-family: "Assistant", "sans-serif";
  font-size: 1.3em;
  font-weight: bold;
  color: #fff;
}

#contact .contact__form input[type=text],
#contact .contact__form input[type=email],
#contact .contact__form textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
  margin-top: 6px;
  margin-bottom: 16px;
  resize: vertical;
}

#contact .contact__form textarea {
  height: 12em;
}

#contact .contact__form .helpSite {
  margin-top: 7px;
  text-align: center;
  width: 100%;
}

#contact .contact__form input[type=submit] {
  background-color: rgb(6, 131, 202);
  border: solid 5px #111;
  color: white;
  font-size: 1.2em;
  font-weight: bold;
  padding: 12px 20px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

#contact .contact__form input[type=submit]:hover {
  background-color: rgb(17, 117, 174);
}

/*# sourceMappingURL=style.css.map */
.menu-push-right {
  font-size: smaller;
  margin-left: 15px !important;
}

.menu-push-right a {
 
  border: 1px solid #ffffff;
    padding: 1px 15px !important;
    /* Adds breathing room inside the box */
    border-radius: 4px;
    /* Optional: rounds the corners slightly */
  
}
.menu-push-right>a::after {
  content: "\25BC";
  /* Unicode for the ▼ shape */
  font-size: 10px;
  /* Make it smaller than the text */
  margin-left: 8px;
  /* Space between the word and the arrow */
  opacity: 0.8;
  /* Slightly softer color */
  display: inline-block;
}
.menu-push-right .sub-menu a {
  
  border: none !important;
padding: 5px 15px !important;
  /* Standard padding for dropdowns */
}