/*
Theme Name: Larrie Lariosauro
Text Domain: Larrie
Version: 1.2
*/
:root {
    --blue: #226a9b;
    --gold: #d0a113;
    --nero: #3d3d3d;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    outline: none;
}

@font-face {
    font-family: "PatrickHand";
    src: url("fonts/PatrickHand-Regular.woff2") format("woff2");
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

img {
    max-width: 100%;
}

body {
    margin: 0;
    line-height: 1.3;
    font-size: 17px;
    background-color: var(--blue);
}

a {
    text-decoration: none;
    transition: all 0.3s ease;
}

p {
    margin-bottom: 1em;
}

h1, h2, h3 {
}

.language-switcher {
    display: flex;
    flex-direction: column;
    height: 20px;
}

.language-switcher li {
    display: none;
}

.language-switcher li.active, .language-switcher:hover li {
    display: block;
}

.language-switcher li.active {
    order: 0;
}

.language-switcher img {
    width: 30px;
    height: 30px;
    object-fit: cover;
    border-radius: 50%;
}

/*menu btn*/
.m-menu {
    width: 30px;
    height: 32px;
    position: relative;
}

.m-menu span {
    display: block;
    position: absolute;
    height: 2px;
    width: 100%;
    background: #fff;
    opacity: 1;
    left: 0;
    border-radius: 2px;
}

.m-menu span:nth-child(1) {
    top: 20px;
}

.m-menu span:nth-child(2) {
    top: 30px;
}

.m-menu span:nth-child(3) {
    top: 40px;
}

.m-menu {
    transform: rotate(0);
    transition: 0.5s ease-in-out;
    cursor: pointer;
    margin-right: 0;
    z-index: 10;
    position: absolute;
    right: 10px;
    top: 12px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
}

.m-menu span {
    transform: rotate(0);
    transition: 0.25s ease-in-out;
    width: 35px;
    left: 13px;
}

.mm-open .m-menu span:nth-child(1) {
    top: 28px;
    transform: rotate(135deg);
}

.mm-open .m-menu span:nth-child(2) {
    opacity: 0;
    left: -60px;
}

.mm-open .m-menu span:nth-child(3) {
    top: 28px;
    transform: rotate(-135deg);
}

#header {
    position: relative;
    position: absolute;
    left: 0;
    right: 0;
    z-index: 11;
    padding: 30px;
    display: flex;
    justify-content: space-between;
}

nav {
    display: none;
    display: block;
    background: #145072;
    position: fixed;
    right: -240px;
    top: 0;
    bottom: 0;
    width: 240px;
    padding: 100px 0 20px 0px;
    box-shadow: 0 0 10px -5px #000;
    transition:all 0.3s ease;
}
.mm-open nav{
    right:0;
}
nav  ul{
    display:flex;
    flex-direction:column;
}
nav li{
    display:block;
}
nav a{
    color:#fff;
    font-weight:bold;
    font-size:16px;
    display:block;
    padding:5px 20px;
}

.title {
    background: url(images/txtbg.svg) no-repeat center;
    background-size: 100% 100%;
}

.frog1 {
    position: absolute !important;
    left: 50%;
    top: -170px;
    margin-left: 450px;
    z-index: 1;
    width: 250px;
}

.foot {
    position: absolute !important;
    left: 50%;
    top: -50px;
    margin-left: 450px;
    z-index: 1;
    width: 200px;
}

.sslider .swiper-slide {
    width: 460px;
    margin-bottom: 40px;
}

.sslider .swiper-slide img {
    width: 170px;
    height: 170px;
    display: block;
    object-fit: cover;
    border-radius: 30px;
}

.sslider .swiper-slide .img {
    border: 8px solid #fff;
    border-radius: 35px;
    background: #fff;
    position: relative;
    height: 186px;
}

.sslider .s-slide {
    display: grid;
    grid-template-columns: 186px 1fr;
}

.sslider h4 {
    position: absolute;
    background: #fff;
    font-size: 30px;
    font-weight: normal;
    line-height: 1;
    font-family: "PatrickHand", sans-serif;
    color: #226a9b;
    padding: 0px 27px;
    border-radius: 6px;
    box-shadow: 0px 3px #0c5640;
    left: 50%;
    bottom: -22px;
    transform: translateX(-50%) rotate(-4deg);
}

.sslider .txt {
    font-family: Arial,Helvetica Neue,Helvetica,sans-serif;
    color: #fff;
    padding-left: 15px;
    padding-right: 15px;
}

.swiper .swiper-pagination-bullet {
    width: 16px;
    height: 16px;
}

.swiper .swiper-pagination-bullet.swiper-pagination-bullet-active {
    background: #fff;
}

.pslider .swiper-slide img {
    position: relative;
    width: 160px;
    height: 160px;
    margin: auto;
    display: block;
}

.pslider h4 {
    font-size: 22px;
    font-weight: bold;
    line-height: 1.1;
    font-family: Georgia,Times,Times New Roman,serif;
    color: #fff;
    text-align: center;
    padding: 15px 0;
    max-width: 270px;
    margin: auto;
}

.pslider .img {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-bottom: 60px;
}

.pslider a {
    background: #b62c34;
    font-size: 25px;
    font-weight: normal;
    line-height: 1;
    font-family: "PatrickHand", sans-serif;
    color: #fff;
    padding: 3px 27px;
    border-radius: 6px;
    box-shadow: 0px 3px 0px 0px #0c5640 !important;
    transform: rotate(-2deg);
    display: block;
    margin: auto;
}

.pslider a:hover {
    background-color: #145072;
}

.page {
    overflow-x: hidden;
}

@media(max-width: 767px) {
    body {
        font-size:16px;
    }

    .frog1 {
         position: absolute !important;
         left: 100%;
         top: -110px;
         margin-left: -70px;
         z-index: 1;
         width: 140px;
    }

    .foot {
        position: absolute !important;
        left: 100%;
        top: 80px;
        margin-left: -100px;
        z-index: 1;
        width: 140px;
    }
    .sslider .s-slide{
        grid-template-columns: 140px 1fr;
        padding-left: 20px;
    }
    .sslider .swiper-slide .img{
        border-width: 4px;
        border-radius: 30px;
        height: 140px;
    }
    .sslider .swiper-slide img{
        width: 132px;
        height: 132px;
    }
    .sslider .txt{
        font-size:15px;
        padding-right: 10px;
    }
    .sslider .swiper-slide{
        width:100%;
    }
    .sslider h4{
        font-size:20px;
        padding:5px 20px;
    }
}
