/*!
Theme Name: ppinfo
Theme URI: http://underscores.me/
Author: Underscores.me
Author URI: http://underscores.me/
Description: Description
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
*/

/*** UNIVERSAL ***/
* {
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}
html {
  scroll-behavior: smooth;
}
body {
    opacity: 0;
    margin: 0;     
    background:var(--dark);
    overflow-x: hidden;
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
}
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-thumb {
    background: var(--blue);
}
::-webkit-scrollbar-track {
    background: var(--dark-blue);
}
img {
    display: block;
}
a:focus, button:focus, input:focus {
    outline:none;
}
:root {
    --black: #000000;    
    /*--dark: #001128;*/
    --dark: #001c42;
    --darker: #001128;
    /*--dark-blue: #092359;*/
    --dark-blue: #001635;
    --white: #ffffff;
    --yellow:#F7C341;
    --dark-yellow: #d7a62a;
    --blue:#2B3FB2;
    --red: #FF4500;
    --green: #93D156;
    --orange: #F88F00;
    --green-gradient:linear-gradient(to bottom, #93D156, #64CA00);
    --red-gradient:linear-gradient(to bottom, #FF4500, #C83600);
    --orange-gradient:linear-gradient(to bottom, #F88F00, #DA7E00);
    --blue-gradient:linear-gradient(to bottom, #2B3FB2, #1E31A1);
    --max-width: 1320px;
}
p, .site-content p, .site-content li {
    font-size: 16px;
    line-height: 1.7;
    position: relative;
}

h1, h2, h3, h1 a, h2 a, h3 a, h4, h5, h6, h4 a, h5 a, h6 a {
    font-weight: 700;
}
h1 {
    font-size: 68px;
    line-height: 66px;
    font-weight: 800;
    color: #fff;
    text-shadow: 0px 0px 15px rgb(247 195 65 / 25%);
    margin-top:0;
    margin-bottom: 20px;
}
h2 {
    font-size: 48px;
    line-height: 1.2;
    margin-top:0;
    margin-bottom: 20px;
}
h3 {
    font-size: 38px;
    line-height: 1.2; 
    margin-top:0;
    margin-bottom: 20px;
}
h4 {
    font-size: 30px;
    line-height: 1.3;
    margin-top: 0;
    margin-bottom: 20px;
}
h5 {
    font-size: 18px;
    line-height: 1.3; 
    margin-top:0;
}
h6 {
    font-size: 14px;
    line-height: 1.3;
    margin-top: 0;
}
strong {
    font-weight: 600;
}

/*** HEADER ***/
#headercontainer {
    position: sticky;
    width: 240px;
    background: var(--darker);
    top: 75px;
    height: calc(100vh - 75px);
    z-index: 99;
    transition: 0.2s all ease-in-out;
}
.site-header {
    position: sticky;
    top:0;
}
.top-header.flex-container {
    position: sticky;
    top: 0;
    background: var(--darker);
    z-index: 100;
    height: 75px;
    padding:0 24px;
}
.top-header a.cta {
    margin:0;
}
.button-container {
    height: 46px;
    display: flex;
    align-items: center;
}
.button-container ul {
    margin: 0;
}
.button-container ul li {
    display: inline-block;
}
.button-container ul li a {
    color: var(--white);
    text-decoration: none;
    margin-right: 30px;
    transition: 0.2s all ease-in-out;
}
.button-container ul li a:hover {
    color: var(--yellow);
}
.site-title img {
    width:180px !important;
    height: auto;
    object-fit: contain;
}
.main-content {
    width:calc(100% - 240px);
}


hr {
    margin-top: 20px;
    opacity: 0.1;
}
ul.news-menu {
    padding-left: 30px;
    margin: 0;
    list-style: none;
}
ul.news-menu li {
    margin-top: 20px;
}
ul.news-menu li a {
    color: var(--white);
    text-decoration: none;
    font-size: 18px;
    font-weight: 500;
    line-height: 28px;
    transition: 0.2s all ease-in-out;
}
ul.news-menu li a:hover {
    color: var(--yellow);
}


/*** MAIN MENU ***/
.main-navigation {
    padding:24px;
}
.main-navigation ul {
    padding: 0;
    margin:0;
}
.main-navigation ul li {
    list-style-type: none;
    position: relative; 
    margin-right: 0;
}
.main-navigation ul li:last-of-type {
    margin-right: 0;
}
.main-navigation ul li a {
    position: relative;
    color: var(--white);
    font-size: 16px;
    font-weight: 400;
    text-decoration: none;
    padding: 8px 0;
    z-index: 3;
    transition: 0.2s all ease-in-out;
}
.main-navigation ul li a:hover {
    color:var(--yellow);
}
.current-menu-item > a {
    color:var(--white);
}




/*** MOBILE MENU ***/
#nav-icon {
  display: none;
}
.toggle {
  position: relative;
  width: 36px;
  height: 40px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 7px;
  transition-duration: .5s;
}
.bars {
  width: 100%;
  height: 2px;
  background:var(--white);
  border-radius: 4px;
}
#bar2 {
  transition-duration: .8s;
}
#nav-icon:checked + .toggle .bars {
  position: absolute;
  transition-duration: .5s;
  background:var(--yellow);
}
#nav-icon:checked + .toggle #bar2 {
  transform: scaleX(0);
  transition-duration: .5s;
}
#nav-icon:checked + .toggle #bar1 {
  width: 100%;
  transform: rotate(45deg);
  transition-duration: .5s;
}
#nav-icon:checked + .toggle #bar3 {
  width: 100%;
  transform: rotate(-45deg);
  transition-duration: .5s;
}
#nav-icon:checked + .toggle {
  transition-duration: .5s;
  transform: rotate(180deg);
}
.mobile-menu {  
    display: none;
    position: absolute;
    right: 24px;
    top: 50%;
    transform: translateY(-50%);        
    z-index: 102;
    transition: 0.2s all ease-in-out;
}

/*** SIDENAV ***/
.menu {
    padding-left: 0;
}
.menu-paamenu-container {
    width:100%;
}
.overlay {
    background:var(--darker);
    backdrop-filter:blur(10px);
    width: 340px;
    position: absolute;
    z-index: 1;
    padding: 40px; 
    top: 90px;
    right: 24px;
    border-radius: 20px;
    transition: 0.3s;
    overflow: auto;
    opacity: 0;
    visibility: hidden;
    transform: scale(0.7);
}
.overlay ul.menu {
    padding: 0;
    margin: 0;
}
.overlay ul.menu li {
    margin:0;
    margin-bottom: 20px;
    cursor:pointer;
    list-style-type: none;
    position: relative;
}
.overlay ul.menu li:last-of-type {
    margin-bottom: 0;
}
.overlay ul.menu li a {
    position: relative;
    text-decoration: none;
    color:var(--white);
    font-size: 18px;
    font-weight: 500;
    line-height: 28px;
    transition: 0.2s all ease-in-out;
}
.overlay ul.menu li a:hover {
    color:var(--yellow);
}
.overlay ul.menu li a:hover:after {
    left: calc(100% + 20px);
    opacity: 1;
}
.open-menu {
    opacity: 1 !important;
    visibility: visible !important;
    transform: scale(1);
}

/*** CONTENT ***/
.dark-container {
    background:var(--dark);
    position: relative;
    z-index: 1;
}
.darker-container {
    background:var(--darker);
}
.blue-container {
    background:var(--dark-blue);
}
.dark-container :is(h2, h3, h4, h5, h6){
    color:var(--white);
}
.dark-container p, .dark-container li {
    color:var(--white);
}
.dark-container a {
    color:var(--yellow);
    text-decoration: none;
}
.dark-container p a {
    font-weight: 800;
}
.site-content {
    width:100%;
    max-width: var(--max-width);
    padding: 80px 40px;
    margin:0 auto;
    position: relative;
    z-index: 1;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
    will-change: opacity, transform;
}
.site-content.visible {
  opacity: 1;
  transform: translateY(0);
}
.no-top {
    padding-top: 0 !important;
}
.no-bottom {
    padding-bottom: 0 !important;
}
.site-content ul {
    padding-left: 18px;
    position: relative;
}
.site-content ol {
    padding-left: 0;
    position: relative;
    list-style-type: none;
}
.flex-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    position: relative;
    width:100%;
    z-index: 2;
}
.flex-container img {
    width:100%;
}
.center {
    max-width: 991px;
    margin:0 auto;
    text-align: center;
    margin-bottom: 40px;
}
.center p {
    font-size: 22px;
    line-height: 32px;    
}
.flex-start {
    justify-content: start;
}
.flex-center {
    justify-content: center;
}
.flex-end {
    justify-content: end;
}
.align-start {
    align-items: start;
}
.align-center {
    align-items: center;
}
.align-end {
    align-items: end;
}
.flex-100 {
    width:100%;
    position: relative;
}
.flex-80 {
    width:80%;
    position: relative;
}
.flex-75 {
    width:75%;
    position: relative;    
}
.flex-66 {
    width:calc(66.66% - 20px);
    position: relative;
}
.flex-60 {
    width:calc(60% - 20px);
    position: relative;
}
.flex-50 {
    width:calc(50% - 20px);
    position: relative;
}
.flex-40 {
    width:calc(40% - 20px);
    position: relative;
}
.flex-33 {
    width:calc(33.33% - 20px);
    position: relative;
}
.flex-25 {
    width:calc(25% - 20px);
    position: relative;
}
.flex-20 {
    width:calc(20% - 20px);
    position: relative;
}


/*** BUTTONS ***/
a.cta {
    display: inline-block;
    padding: 14px 40px 12px 40px;
    text-decoration: none;
    transition: 0.2s all ease-in-out;
    font-size: 16px;
    line-height: 20px;
    font-weight: 600 !important;
    background:var(--green-gradient);
    color:var(--white);
    margin-top:20px;
    border-radius: 6px;
    overflow:hidden;
    font-family: 'Poppins', sans-serif;
    text-align: center;
    animation: pulse-white 2s infinite;    
}
.red-banner a.cta {
    background:var(--orange-gradient);
}
@keyframes pulse-white {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7);
  }
  
  70% {
    transform: scale(1);
    box-shadow: 0 0 0 10px rgba(255, 255, 255, 0);
  }
  
  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
  }
}
a.cta:hover {
    /*background:var(--dark-yellow);*/
    filter:brightness(1.1);
}





.glow-container:before {
    content: '';
    width: 800px;
    height: 600px;
    background: var(--blue);
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    filter: blur(200px);
    opacity: 0.3;
    z-index: 0;
}


/*** FLICKITY SLIDER ***/
.flickity-page-dots {
    left: 50%;
    bottom: 40px !important;
    transform: translateX(-50%) !important;
    z-index: 2 !important;
    text-align: center !important;
    width: auto !important;
    padding: 0 !important;
}
.flickity-page-dots .dot {    
    width: 12px !important;
    height: 12px !important;
    border-radius: 50% !important;
    background: rgba(255, 255, 255, 0.4) !important;
    transition: 0.3s ease-in-out !important;
}
.flickity-page-dots .dot.is-selected {
    background:var(--yellow) !important;
    width:40px !important;
    border-radius: 6px !important;
}









/*** LISTINGS ***/
.basic-box {
    padding: 60px;
    background:rgb(0 17 40 / 40%);
    border-radius: 30px;
}
.basic-box p {
    font-weight: 500;
}
.icon {
    width: 18px;
    margin-right: 14px;
}
.icon img {
    max-height: 22px;
    margin-top:-2px;
}
.large-icon {
    width:30px;
}
.large-icon img {
    max-height: 40px;
}
.icon-text {
    width:calc(100% - 32px);
}
.basic-info {
    border-bottom: solid 1px rgba(255,255,255,0.1);
}
.basic-info:last-of-type {
    border-bottom: none;
}
.basic-info p span {
    font-weight: 600;
    color:var(--yellow);
}
.headline {
    margin-bottom: 20px;
}
.headline h2, .headline h3 {
    margin-bottom: 0;
}








.campaign-element {
    border-radius: 30px;
    margin-top:40px;  
    background-size: cover !important;
    background-position: center !important;
}
.flex-33.campaign-element {
    padding:30px;
}
.flex-50.campaign-element {
    padding:60px;
}
.dark-container .campaign-element {
    background: linear-gradient(rgb(0 28 66 / 0%), rgb(0 28 66 / 100%)), url(assets/potti-background.jpg); 
    background-position: top center !important; 
}
.dark-container.blue-container .campaign-element {
    background: linear-gradient(rgb(0 28 66 / 0%), rgb(0 22 53 / 100%)), url(assets/potti-background.jpg);   
    background-position: top center !important;
}
.campaign-element p {
    font-weight: 500;
}
.campaign-element p span {
    font-weight: 600;
    color:var(--yellow);
}

.campaign-element h4 {
    margin-top:0;
}
img.chest-img {
    width: 100%;
}
img.wheel-img {
    width: 100%;
    margin-top:-60px;
}

/*** NEWS ***/
.post-grid {
    margin-top:40px;
}
.news-image img {
    height: 240px;
    width:100%;
    object-fit: cover;
    border-radius: 30px 30px 0 0;
}
.news-text {
    padding:40px;
    border-radius: 0 0 30px 30px;
    background: rgb(0 17 40 / 40%);
}
.news-text h4 {
    margin-top: 0;
    font-size: 24px;
}


/*** SANASTO ***/
.alphabet-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin-bottom: 32px;
}
.alphabet-filter a {
    padding: 10px 14px;
    border-radius: 6px;
    font-weight: 600;
    text-decoration: none;
    color: var(--white);
    background: var(--blue-gradient);
    transition: all 0.2s ease;
    min-width: 46px;
    text-align: center;
}
.alphabet-filter a:hover, .alphabet-filter a.active {
    background: var(--dark-blue);
    color:var(--white);
}

/*** LETTER HEADINGS ***/
.alphabet-letter {
    width: 100%;
    font-size: 32px;
    margin-top:20px;
    padding-bottom: 20px;
    border-bottom: 2px solid var(--white);
}
.single-vocabulary-content {
    padding-top: 200px;
}
.post-menu-container {
    margin-top:40px;
    border-radius: 10px;
    overflow:hidden;
}
.post-menu-container p {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 10px !important;
    margin-top: 0;
    color:var(--white) !important;
}
.post-menu-container a { 
    font-size: 20px;
    letter-spacing: -0.4px;
    font-weight: 700;
    text-decoration: none;
    transition:0.2s all ease-in-out;    
    color:var(--yellow) !important;
}
.previous-post {
    width:50%;
    padding:40px;
    background: var(--orange-gradient);
    border-radius: 20px;
}
.next-post {
    width:50%;
    padding:40px;
    background:var(--blue-gradient);
    border-radius: 20px;
}
p.breadcrumbs {
    font-size: 13px;
    font-weight: 500;
}
p.breadcrumbs a {
    color:var(--yellow);
}


/*** SINGLE POST ***/
.single-post-banner img {
    border-radius: 40px 40px 0 0;
}
.single-post-content {
    background:var(--darker);
    padding:80px;
    border-radius: 0 0 40px 40px;
}
.single-post-content h1 {
    margin-top:0;
    font-size: 56px;
}
p.date {
    margin-top:0;
    color:var(--yellow);
    font-size: 14px;
}
figure {
    margin:0 !important;
}
.wp-block-image img {
    border-radius: 20px;
    width:100%;
}
figcaption.wp-element-caption {
    color:var(--yellow);
    font-size: 14px;
    text-align: center;
    font-style: italic;
}



/*** FOOTERCONTAINER ***/
.site-content.site-footer {
    padding-top: 40px;
    padding-bottom: 40px;
    opacity: 1;
    transform: none;
}
.site-content.site-footer p {
    text-align: center;
    font-size: 13px;
}


/*** MEDIA QUERIES ***/
@media(max-width: 1920px){    
    .site-content {
        padding: 60px 40px;
    }
}
@media(max-width: 1650px){  
    p, .site-content p, .site-content li {
        font-size: 15px; 
    }
    h1 {
        font-size: 58px;
        line-height: 56px;
    }
    .blue-banner .banner-text span {
        font-size: 76px;
        line-height: 76px;
    }
    .blue-banner .banner-text h1 {
        font-size: 48px;
        line-height: 48px;
    }
    .site-content {
        padding: 40px;
    }

}
@media(max-width:1450px){ 
    h2 {
        font-size: 42px;
    }
    h3 {
        font-size: 32px;
    }  
    .basic-box {
        padding: 40px;        
    }
    .banner-content {
        padding:60px;
    }
    .flex-50.campaign-element {
        padding: 40px;
    }
}
@media(max-width:1200px){
    .blue-banner .banner-text span {
        font-size: 54px;
        line-height: 54px;
    }
    .blue-banner .banner-text h1 {
        font-size: 36px;
        line-height: 36px;
    }
    .basic-box {
        width: 100%;
        margin-bottom: 40px;
    }
    .basic-box:last-of-type {
        margin-bottom: 0;
    }
    .flex-33.campaign-element {
        width:calc(50% - 20px);
    }
    .accordion-item {     
        width: 100%;
    }
    .single-post-content h1 {     
        font-size: 42px;
    }
    .single-post-content {        
        padding: 60px;
    }
    .flex-33 {
        width: calc(50% - 20px);
        margin-bottom: 40px;
    }
}

@media(max-width:991px){
    .top-header.flex-container {     
        padding: 0 24px;
    }
    #headercontainer {
        display: none;
    }
    .main-navigation {
        display: none;
    }
    .mobile-menu {
        display: block;
    }
    .button-container {
        display: flex;
        align-content: center;
        margin-right: 60px;
    }
    .main-content {
        width:100%;
    }
    .site-content {
        padding:40px 30px;                                                              
    }
    h1 {
        font-size: 42px;  
        line-height: 44px;   
    }
    h2 {
        font-size: 34px;
    }
    h3 {
        font-size: 28px;
    }
    h4 {
        font-size: 24px;
    }
    .blue-banner .banner-text span {
        font-size: 46px;
        line-height: 46px;
    }
    .banner-content {
        padding: 40px;
        border-radius: 20px;
    }
    .basic-box {
        border-radius: 20px;
    }
    .campaign-element {
        border-radius: 20px;
    }
    .offer {
        top: unset;
        right:unset;
        bottom: 0;
        left: 0;
        transform: none;        
        width:100%;
    }
    .offer {
        padding: 0px 40px;
    }
    .offer p {
        max-width: 100%;
    }
    .game-container .flickity-viewport {
        min-height: 220px !important;
    }
    .game-cell {
        width: 180px;
    }
    .glow-container:before {    
        width: 500px;
        height: 500px;
    }


}

@media(max-width:768px){
    .banner-container {
        margin-bottom: 40px;
        overflow:unset;
    }
    .banner-container .flickity-page-dots {
        bottom: -20px !important;
    }
    .banner-content {
        padding: 30px;
    }
    .banner-cell {
        margin-right: 60px;
    }
    .basic-box {
        padding:30px;
    }
    .site-content {     
        padding: 30px;
    }
    .overlay {     
        width:calc(100% - 60px);     
        padding: 30px;
        right: 30px;     
    }
    .flex-33 {
        width:100% !important;
        margin-bottom: 30px;
    }
    .flex-50 {
        width:100% !important;
    }
    .flex-66 {
        width:100%;
    }
    .banner-image img {
        max-height: 280px;
    }
    .offer {
        padding: 0px 30px;
    }
    a.cta {
        margin-top:10px;
    }
    .glow-container:before {    
        width: 400px;
        height: 400px;
    }
    .grid-box {     
        padding: 14px 20px;
        border-radius: 6px;
    }
    .news-text {
        padding: 30px;
    }
    .single-post-content h1 {     
        font-size: 36px;
        line-height: 42px;
    }
    .single-post-content {        
        padding: 30px;
    }
    .previous-post, .next-post {     
        padding: 30px;
    }
    .button-container ul {     
        display: none;
    }

}

@media(max-width:520px){ 
    .site-title img {
        width: 150px;
    }
    h2 {
        font-size: 26px;
    }
    h3 {
        font-size: 24px;
    }
    a.cta, pre a {
        padding: 10px 20px 8px 20px;
        font-size: 14px;
    }
    p, .site-content p, .site-content li {
        font-size: 14px;   
        line-height: 1.5;
    }
    /*.banner-content {
        padding: 20px;
    }*/
    .site-content {     
        padding:30px 20px;
    }
    .button-container {
        display: none;
    }
    .banner-container {
        height: 540px;
    }
    .banner-image {
        display: none;
    }
    .banner-cell {
        margin-right: 40px;
        height: 540px;
    }
    .banner-content {
        align-items: start;
    }
    .basic-box {
        padding:20px;
        margin-bottom: 30px;
    }
    .glow-container:before {    
        width: 300px;
        height: 300px;
    }
    .campaign-element {
        padding: 20px !important;
        margin-top: 30px;
    }
    .quality {
        width: 70%;
    } 
    .review {
        width: 30%;
    }
    .game-container .flickity-viewport {
        min-height: 160px !important;
    }
    .game-cell {
        width: 120px;
    }
    .accordion-item {     
        padding: 0 20px;
    }
    h5 {
        font-size: 16px;
    }
    .icon {
        margin-right: 12px;
    }
    .large-icon {
        width: 25px;
    }
    .large-icon img {
        max-height: 30px;
    }
    .flickity-page-dots .dot {
        width: 10px !important;
        height: 10px !important;
        margin:0 6px;
    }
    .flickity-page-dots .dot.is-selected {     
        width: 30px !important;
    }
    .news-text {
        padding: 20px;
    }
    .single-post-content h1 {     
        font-size: 28px;
        line-height: 36px;
    }
    .single-post-content {        
        padding: 20px;
    }
    p.has-medium-font-size {
        font-size: 18px !important;
    }
    .previous-post, .next-post {     
        padding: 20px;
    }
    .post-menu-container a {
        font-size: 16px;
    }
    .flex-33 {
        margin-bottom: 20px;
    }

}

@media(max-width:420px){ 
    .top-header.flex-container {
        height: 65px;
    }
    h1 {
        font-size: 38px;
        line-height: 38px;
        margin-bottom: 10px;
    }
    h2 {
        font-size: 24px;
    }
    h3 {
        font-size: 22px;
    }
    h5 {
        font-size: 15px;
    }
    .blue-banner .banner-text h1 {
        font-size: 31px;
        line-height: 32px;
    }
    .blue-banner .banner-text span {
        font-size: 32px;
        line-height: 32px;
    }
    .site-title img {
        width: 140px;
    }
    .overlay {     
        width:calc(100% - 40px);
        right: 20px;       
    }
    a.cta {
        margin-top: 0px;
    }
    .campaign-element {
        margin-top: 20px;
    }
    .single-post-content h1 {     
        font-size: 24px;
        line-height: 32px;
    }

}