* {
    box-sizing: border-box;
    font-family: 'Barlow', sans-serif;
}

.desktop {
    display: flex;
}

.mobile {
    display: none;
}

body {margin: 0; }

img {
    width: 100%;
    height: auto;
}
h2 {
    color: #5FA948;
    font-size: 50px;
    margin: 0;
}
h2, h3 {
    font-weight: normal;
}

h3 {
    line-height: 1.3em;
}

p, ol, li {
    line-height: 1.7em;
}

p {
    font-size: 1.3em;
    margin:0;
}
section, footer {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

}

.content {
    margin: 90px;
    width: 80%;
}

button, input[type="submit"] {
    background: rgb(95,169,72);
    background: linear-gradient(180deg, rgba(136,192,90,1) 0%, rgba(95,169,72,1) 100%);
    color: #fff;
    font-size: 18px;
    text-align: center;
    border-radius: 5px;
    height: 60px;
    border: none;
    border-radius: 30px;
    -webkit-box-shadow: 0px 5px 9px 2px rgba(0,0,0,0.1);
    box-shadow: 0px 5px 9px 2px rgba(0,0,0,0.1);
    cursor: pointer;
}

button:hover,
    input[type="submit"]:hover {
        background-image: linear-gradient(180deg, rgba(113, 199, 87, 1) 0%, rgba(118, 189, 81, 1) 100%);
    }



button a,
button a:link,
button a:hover,
button a:visited {
    color: #fff;
    width: 100%;
    height: 100%;
    justify-content: center;
    align-items: center;
    display: flex;
}

ul {
    list-style: disc;
    margin-left: 0;
    padding-left: 0;
    list-style-position: inside;
}

a,
a:link,
a:hover,
a:visited {
    text-decoration: none;

}

header {
    box-sizing: content-box;
    position: relative;
    width: 100%;
    height: 150px;
    padding: 22.5px 0;


}

header #logo {
    position: absolute;
    top: 45px;
    left: 180px;
    z-index: 10;
    border-radius: 100%;
    width: 105px;
    height: 105px;

}

header nav {

    width: 100%;
    padding: 22.5px;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 0;
}



header nav ul {

    display: flex;

    padding-left: 0;
    margin-left: 0;
}

header nav ul li {
    display: flex;
    align-items: center;
    text-align: center;

}



header nav ul li a,
header nav ul li a:link,
header nav ul li a:visited {
    text-decoration: none;
    color: #237a2e;
    font-weight: 500;
    font-size: 24px;

}

header nav ul li a:hover {
    color: #5fa948;
}

header nav.desktop ul li.first-half {
    text-align: left;
}

header nav.desktop ul li.second-half {
    text-align: right;
}

header nav.desktop {
    width: 60%;
    height: 150px;
    padding: 22.5px;
    position: absolute;
    top: 22.5px;

    right: 180px;

}

header nav.desktop ul {
    justify-content: space-between;
    width: 100%;
}

header nav.desktop ul li {
    justify-content: center;
    width: 20%;
    height: 105px;
    text-align: center;
}



.desktop.flags-container {
    width: 120px;
    position: absolute;
    top: 22.5px;
    right: 22.5px;

    justify-content: space-between;
    z-index: 2;
    padding: 0;
}

.flags {
    width: 40%;
}

.joyflo-row {
    display: flex;
    justify-content: space-between;

}

section#app_for_green_lovers .content {
    margin-top: 0;
    padding-top: 90px;
    border-top: solid 1px #5FA948;
}


#slogan {
    height: 380px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    position: relative;
}

.desktop.slogan {
    height: 380px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    position: relative;
}

#slogan,
#stores-container
{
    width: 40%;

}


#cell-phone-previews,
#countdown {
    width: 30%;
    background-size: contain;
}

#cell-phone-previews {
    position: relative;
}

#cell-phone-previews img {
    position: absolute;
    bottom: 0;
    left: 0;
}

.desktop.watch-video-button {
    width: 100%;
    height: 60px;
    margin-top: 45px;
    position: absolute;
    bottom: 0;
    left: 0;

}



.watch-video-button button {
    width: 75%;
    margin-top: 60px;
}

.desktop.watch-video-button button {
    margin-top: 0;

}





#stores-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
    width: 30%;
    margin-top: 180px;
}



#countdown {
    width: 100%;
    padding-top: 180px;
    background-image: url('/imgs/landing-page/cellulari-riflesso.png');
    background-repeat: no-repeat;
    background-position: top;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #237a2e;
    font-weight: 500;
    text-transform: uppercase;
}

#countdown p {
    font-size: 30px;
}

.countdown-section {
    width: 25%;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    text-align: center;
}

.countdown-value {
    font-size: 50px;
}


section#discover-joyflo {
    background-color: #DDF4D1;
    text-align: center;
}


section#discover-joyflo .sub-content,
section#recreate-garden .title {
    margin-bottom: 90px;
}

section#discover-joyflo .title {
    margin-bottom: 45px;
}
section#recreate-garden {
    overflow-x: hidden;
    overflow-y: visible;

}

section#recreate-garden .content {
    overflow-y: visible;
}


#video-container {
    position: relative;
    overflow: hidden;
    padding-top: 56.25%;
    width: 100%;
}

#video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    width: 100%;
    height: 100%;
}

#slider {
    position: relative;
    margin-bottom: 90px;
    min-height: 650px;
    width: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    padding-left: 90px;
    padding-right: 90px;
    display: flex;
    justify-content: space-between;
    width: 100%;
}

.slide-text, .slide-button {
    width: 80%;
}

.slide-image {
    width: 40%;
}

.slide-button {
    width: 100%;
}
.slide-button button {
    width: 80%;
}

.slide-text {
    padding-right: 90px;
}

section#recreate-garden ul {
    margin-left: 0;
    padding-left: 20px;
    list-style-position: outside;
}

section#recreate-garden ul li {
    margin-bottom: 90px;
    font-size: 1.17em;

}

.slide-button {
    width: 80%;
}

.arrows {
    position: absolute;
    top:50%;
    cursor: pointer;
}

#arrow-right {
    right: -80px;
}

#arrow-left {
    left: -80px;
}

.dots-container {
    position: absolute;
    bottom: -100px;
    left: 49%;
    display: flex;
    justify-content: space-around;
    align-items: center;
    width: 8%;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 100%;
    background-color: #237a2e;
    opacity: 0.7;
}

.dot.active {
    width: 15px;
    height: 15px;
    opacity: 1;
}



section#features .content {
    margin-top: 0;
    margin-bottom: 0;
    padding-top: 90px;
    border-top: solid 1px #5FA948;
}

section#features .title {
    margin-bottom: 90px;
    text-align: center;
}

.features-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.feature {
    width: 30%;
    min-height: 300px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    margin-bottom: 90px;
    text-align: center;
}

.feature .feature-image {
    width: 60px;
    height: 60px;

}

.feature .feature-title {
    color: #5FA948;
    margin: 50px 0px 20px 0px;
    font-weight: 500;
}
section#contacts {
    background-color: #ddf4d1;
}

section#contacts .title,
section#contacts .sub-content {
    text-align: center;
}

section#contacts .title,
section#contacts .sub-content-item {
    margin-bottom: 45px;
}

section#contacts h3 {
    font-weight: bold;
}



section#contacts li {
    font-size: 1.3em;
}

.form-container {
    width: 80%;
    margin: 0 auto;
}

input {
    width: 100%;
    height: 50px;
    border-radius: 5px;
}

.input-wrapper {
    padding: 11.25px;

}

form {
    display: flex;
    flex-wrap: wrap;
}

input::-webkit-validation-bubble-icon {
    background: url('/imgs/exclamation-mark-svgrepo-com');
    }

::placeholder {

    color: #237a2e;
}

#name, #surname {
    width: 50%;
}

#email {
    width: 80%;
}

#submit {
    width: 20%;
}

#terms {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    font-size: 1.3em;
    text-decoration: underline;

}

#terms a:link,
#terms a:hover,
#terms a:visited {
    color: #5FA948;
}

input[type="text"],
input[type="email"] {
    height: 60px;
    padding: 10px;
    border: none;
    color: #237a2e;
}

input[type="text"]:focus,
input[type="email"]:focus {
    outline: none;
    border: solid 1px #237a2e;
}

input[type="submit"] {
    width: 100%;
}

input[type="checkbox"] {
    appearance: none;
    width: 20px;
    height: 20px;
    border: solid 1px #5FA948;
    border-radius: 3px;
}

input[type="checkbox"]:checked {
    appearance: none;
    width: 20px;
    height: 20px;
    border: solid 1px #5FA948;
    border-radius: 3px;
    background-color: #5FA948;

}

footer {
    display: flex;
    justify-content: center;
}

footer h3 {
    font-size: 24px;
    font-weight: bold;
}

footer .content {
    margin-top: 45px;
    margin-bottom: 45px;
    display: flex;
    flex-direction: column;
}

.footer-section {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    width: 100%;
}

.info-column {
    flex-direction: column;
    width: 25%;
}

.info-column {
    flex-basis: 20%;
}


footer {
    width: 100%;
}

footer ul {
    list-style: none;
}

footer a,
footer a:link,
footer a:hover,
footer a:visited,
footer p a,
footer p a:link,
footer p a:hover,
footer p a:visited {


    color: #000;

}

footer a, footer p, footer li {
    font-size: 1.1rem;
    line-height: 1.5em;
}

footer h3 {
    font-size: 20px;
}


.footer-row {
    display: flex;
    justify-content: space-between;
}

footer .info-column h3 {
    text-transform: uppercase;
}

.footer-section.logo-copyright {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 45px;
}

.social-icons-container {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}


#footer-logo {
    display: flex;
    justify-content: center;
    align-items: center;
}

#footer-logo img {
    width: 70%;
}

.copyright {
    color: #237a2e;

}

.social-icon {
    width: 20%;
}

.copyrights {
    width: 100%;
    text-align: center;
}



section#work-in-progress .content {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
    height: 600px;
}

.cookie-bar {
    justify-content: space-between;
    align-items: center;
    width: 100%;
    height: 100px;
    position: fixed;
    right: 0;
    bottom: 0;
    background-color: #fff;
    border-top: solid 1px #ccc;
    -webkit-box-shadow: 0px -6px 19px 5px rgba(0,0,0,0.2);
    box-shadow: 0px -6px 19px 5px rgba(0,0,0,0.2);
    padding: 45px 90px;
}

.cookie-bar button {
    width: 10%;
}

.cookie-bar a,
.cookie-bar a:link,
.cookie-bar a:hover,
.cookie-bar a:visited {
    color: #5FA948;
    text-decoration: none;

}

.cookie-bar.shown {
    display: flex;
}

.cookie-bar.hidden {
    display: none;
}

#toast {
    display: none;
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 9999;
    background-color: #00000077;
}

.toast {
    display: flex;
    justify-content: center;
    align-items: center;
    position: fixed;
    top: 50%;
    left: 30%;
    width: 40%;
    min-height: 50px;
    background-color: #5FA948;
    border-radius: 5px;
    padding: 10px;
    text-align: center;
    color: #fff;
}

.toast button {
    position: absolute;
    top:5px;
    right: 5px;
    width: 10px;
    height: 10px;
    background: none;
    box-shadow: none;
    -webkit-box-shadow: none;
    padding: 0;
}

.toast button img {
    width: 10px;
    height: 10px;
}

.toast-message {
    display: none;
}

@media screen and (max-width: 3000px) {

    #cell-phone-previews,
    #countdown {
        width: 23%;
    }
}



@media screen and (max-width: 2000px) {

    #cell-phone-previews,
    #countdown {
        width: 24%;
    }
}

@media screen and (max-width: 1850px) {

    #cell-phone-previews,
    #countdown {
        width: 27%;
    }
}

@media screen and (max-width: 1700px) {

    #cell-phone-previews,
    #countdown {
        width: 30%;
    }
}

@media screen and (max-width: 1530px) {

    #cell-phone-previews,
    #countdown {
        width: 38%;
    }
}

@media screen and (max-width: 1400px) {
    .flags-container {
        width: 110px;
    }

    #cell-phone-previews,
    #countdown {
        width: 41%;
    }
    .slide-image {
        width: 50%;
    }

    .slide-text {
        width: 45%;
        padding-right: 45px;
    }


}



@media screen and (max-width: 1200px) {

    .flags-container {
        width: 95px;

    }

    .flags-container img {
        width: 75%;
    }

    header nav.desktop  {
        right: 90px;
        width: 65%;
    }

    header #logo {
        left: 135px;
    }


    #slogan,
    #stores-container
    {
        width: 42%;

    }
    #cell-phone-previews,
    #countdown {
        width: 45%;
    }

    .slide-text {
        width: 45%;
    }

    .cookie-bar .cookie-bar-text {
        width: 60%;
    }

    .cookie-bar button {
        width: 30%;
    }
    .slide {
        padding-left: 45px;
        padding-right: 45px;
    }
}
@media screen and (max-width: 1100px) {

    header nav.desktop ul li {
        width: 25%;
        justify-content: flex-end;
    }
    .flags-container img {
        width: 72%;
    }

    #slogan

    {
        width: 43%;

    }

    #stores-container {
        width: 42%;
    }
    #cell-phone-previews,
    #countdown {
        width: 50%;
    }
}

@media screen and (max-width: 1000px) {
    .desktop {
        display: none;
    }

    .mobile {
        display: flex;
    }

    h2 {
        font-size: 50px;

    }


    h3 {
        font-size: 1.5em;
    }



    p, li {
        font-size: 1.4em;

    }

    button, input[type="submit"] {
        height: 60px;
        border-radius: 40px;
        font-size: 24px;
    }


    header #logo {
        left: 90px;
    }

    #menu-open-button-container {

        position: absolute;
        top:45px;
        right: 45px;
        z-index: 10;

    }

    button#menu-open-button {
        width: 105px;
        height: 105px;
        background-color: transparent;
        background-image: url('/imgs/landing-page/bottone_mobile_menu.svg');
        background-position: right;
        background-repeat: no-repeat;
        background-size: 40%;
        cursor: pointer;
        -webkit-box-shadow: none;
        box-shadow: none;
    }

    header nav.mobile {
        width: 100%;
        margin-top: 150px;
        padding: 22.5px 45px;
        font-weight: bold;

    }

    header nav.mobile ul {
        flex-direction: column;
        align-items: stretch;
    }

    header nav.mobile ul li {

        width: 100%;
        height: 105px;
        text-align: left;
    }

    header nav.mobile ul li.language-container {
        margin-top: 30px;
        height: 180px;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        justify-content: space-between;
    }

    .mobile.flags-container {
        width: 100%;
        margin-top: 10px;
        justify-self: flex-start;
    }

    .mobile.flags-container .flags {
        margin-right: 10px;
        width: 20%;
    }




    .joyflo-row {
        flex-direction: column;
    }

    #slogan {
        height: unset;
    }

    #slogan,
    #cell-phone-previews,
    #countdown {
        width: 100%;
        align-items: center;
    }

    #stores-container {
        display: none;
    }

    #cell-phone-previews img {
        position: static;
    }

    .mobile.watch-video-button {
        justify-content: center;
    }

    #slider {
        height: 1380px;

    }

    .slide {
        flex-direction: column;
        align-items: center;
        padding: 0;
    }

    .slides-wrapper {
        overflow: hidden;
    }

    .slide-text, .slide-button {
        width: 100%;
        flex-direction: column;
        align-items: center;
        padding-right: 0;
        text-align: center;
        order: 2;
    }

    .slide-image {
        order:1;
        margin-bottom: 100px;

    }

    .dots-container {
        width: 20%;
        left: 44%;
    }

    .arrows {
        display: none;
    }

    section#recreate-garden ul li {
        margin-bottom: 90px;
        font-size: 1.17em;

    }

    .features-container {
        flex-direction: column;
    }

    .feature {
        width: 100%;
    }

    .form-container {
        width: 100%;
    }

    #name,
    #surname,
    #email,
    #submit,
    #terms {
        width: 100%;
    }

    #name {
        order: 1;
    }

    #surname {
        order: 2;
    }

    #email {
        order: 3;
    }

    #submit {
        order: 5;
    }

    #terms {
        order: 4;

    }

    .footer-section.info {
        flex-wrap: wrap;
    }
/*
    .info-column-menu, .info-column-terms-contacts  {
        width: 50%;
    }

    .info-column-social {
        width: 100%;
        text-align: center;
    }
*/
    .info-column {
        flex-basis: 100%;
    }
    .social-icon {
        width: 15%;
    }

    .info-column-terms-contacts {
        flex-direction: column;
    }

    .cookie-bar {
        justify-content: space-between;
        align-items: center;
        flex-direction: column;
        height: 300px;

    }

    .cookie-bar button {
        width: 30%;
    }

    .toast {
        width: 70%;
        left: 15%;
    }

}

@media screen and (max-width: 700px) {
    header #logo {
        left: 45px;
    }


    section#work-in-progress .content{
        height: 1000px;

    }

    section#work-in-progress button {
        width: 100%;
    }

    .cookie-bar {

        height: 400px;

    }
    .cookie-bar button  {
        width: 50%;
    }
}

