:root {
    --primary: #388a7b;
    --secondary: #b6aea9;
    --secondary-light: #f3f0e7;
    --accent: #ee4b5a;
    --dark: #3b3646;
    --white: #ffffff;
    --black: #000;

    --text-color: #555555;
    --text-color-light: #6e6c6c;

    /* font size */
    --font-size-xs: 12px;
    --font-size-sm: 14px;
    --font-size-base: 18px;
    --font-size-lg: 24px;
    --font-size-xl: 36px;
    --font-size-2xl: 50px;

    /* gap */
    --gap-xs: 5px;
    --gap-sm: 12px;
    --gap-md: 20px;
    --gap-lg: 40px;
    --gap-xl: 60px;

    /* Spacing */
    --spacing-xs: 5px;
    --spacing-sm: 12px;
    --spacing-md: 20px;
    --spacing-lg: 40px;
    --spacing-xl: 60px;
    --spacing-2xl: 80px;
    --spacing-3xl: 100px;
}

body,
html {
    height: 100%;
    margin: 0;
    padding: 0;
}

body {
    position: relative;
    font-family: "Lucida Grande", sans-serif;
    background-color: var(--white);
    color: var(--text-color);
    font-size: var(--font-size-base);
    text-align: left;
    line-height: 20px;
    scrollbar-color: var(--primary) var(--secondary);
}

h1, h2, h3, h4, h5, h6 {
    font-family: "Quicksand", sans-serif;
    font-weight: normal;
    padding: 0px;
    margin: 0px;
}

h1 {
    font-size: var(--font-size-2xl);
    font-weight: 500;
    /* margin-bottom: 20px; */
    text-transform: uppercase;
}

h2 {
    font-size: var(--font-size-xl);
    font-weight: 500;
    margin-bottom: 20px;
}

h3 {
    font-size: var(--font-size-lg);
    font-weight: 500;
    margin-bottom: 20px;
}

p, span, ul {
    font-size: var(--font-size-base);
    line-height: 1.75em;
    list-style: none;
}

a:link,
a:visited {
  text-decoration: none;
  color: #fff;
}

a:hover,
a:active,
a:focus {
  color: #fdfff1;
}

a i:before {
  cursor: pointer !important;
}

img {
  vertical-align: middle;
  border: 0px;
  max-width: 100%;
}

mark {
    background-color: transparent;
    color: var(--primary);
    padding: 0;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

code {
  color: #fff;
  font-family: monospace;
  font-size: 16px;
  background: #f7f7f7;
  padding: 3px 5px;
  border-radius: 3px;
  border: 1px solid #ebebeb;
}

.highlight {
  background: rgba(255, 215, 0, 0.115);
}

.container {
    position: relative;
    margin: 0 auto;
    width: 100%;
    padding-right: 0.75rem;
    padding-left: 0.75rem;

    @media (min-width: 576px) {
        max-width: 540px;
    }
    @media (min-width: 769px) {
        max-width: 720px;
    }
    @media (min-width: 1025px) {
        max-width: 998px;
    }
    @media (min-width: 1229px) {
        max-width: 1140px;
    }
    @media (min-width: 1400px) {
        max-width: 1320px;
    }
}

.modshape>h2 {
    text-align: center;
    margin-bottom: 0;
    margin-top: var(--spacing-lg);
    text-transform: uppercase;
    font-size: var(--font-size-xl);

    /* Desktop */
    @media (min-width: 1025px) {
        margin-top: var(--spacing-2xl);
        font-size: var(--font-size-2xl);
    }
}

/* Display */
.grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: var(--gap-md);
    place-items: center;
    padding-block: var(--spacing-lg);

    /* Tablet */
    @media (min-width: 769px) {
    }
    /* Desktop */
    @media (min-width: 1025px) {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--gap-md);
        padding-block: var(--spacing-2xl);
    }
}

.flex-row {
    display: flex;
    flex-direction: row;
}

.flex-column {
    display: flex;
    flex-direction: column;
}

.wall-card .grid .card {
    position: relative;
    overflow: hidden;
    aspect-ratio: 3 / 4;
    z-index: 2;
   
    /* Tablet */
    @media (min-width: 769px) {
        aspect-ratio: 1 / 1;
    }
}


.wall-card .grid picture {
    overflow: hidden;
    aspect-ratio: 1 / 1;
}

.wall-card .grid picture::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4));
    z-index: 1;
    pointer-events: none;
}

.wall-card .grid picture img {
    transition: transform 0.5s ease;
}

.wall-card .grid .card:hover picture img {
    transform: none;
    /* Desktop */
    @media (min-width: 1025px) {
        transform: scale(1.1);
    }
}

.wall-card .grid img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.wall-card .grid .card hr {
    border-top: 1px solid var(--white);
    width: 80%;
}

.wall-card .grid .card .content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    padding: var(--padding-md);
    color: var(--white);
    align-items: center;
    text-transform: uppercase;
    text-align: center;
    gap: var(--gap-sm);
    z-index: 2;
}

.wall-card .grid .card .content .people,
.wall-card .grid .card .content .location {
    align-items: center;
    gap: var(--spacing-sm);
}

/* .wall-card .grid .card .content img {
    width: 30px;
    height: 30px;
} */

.wall-card .grid .card .btn-wrapper {
    display: flex;
    flex-direction: column;
    gap: var(--gap-sm);

    /* Tablet */
    @media (min-width: 769px){
        flex-direction: row;
        gap: var(--gap-md);
    }
}

.btn {
    font-size: var(--font-size-base);
	padding: 8px 16px;
	cursor: pointer;
    transition: all 0.4s ease;
    text-transform: uppercase;
}

.btn-primary {
    color:var(--white);
	background-color: var(--primary);
}

.btn-inverted {
    color: var(--primary) !important;
	background-color: var(--white) !important;
    border: 1px solid var(--white) !important;
}

.btn-dark {
    color: var(--white);
	background-color: var(--accent);
    border: 1px solid var(--accent);
}

.btn-primary:hover,
.btn-inverted:hover,
.btn-dark:hover {
    background-color: var(--dark) !important;
    color: var(--white) !important;
    border: 1px solid var(--dark) !important;
}

.btn-primary:active,
.btn-primary:focus {
    background-color: var(--primary) !important;
}

.menu-floatbar .socials {
    justify-content: center;
    align-items: center;
    gap: var(--spacing-sm);
}

.nereo_menu .socials {
    font-size: var(--font-size-lg);
}

.description h1 {
    text-align: center;
}

.description .box {
    border: 1px solid var(--primary);
    padding: var(--spacing-xl);
    margin-block: var(--spacing-lg);

    @media (min-width: 1025px) {
        margin-block: var(--spacing-2xl);
    }
}

#box {
  position: relative;
  height: auto !important;
}

#colonna1 {
  position: relative;
}

#colonna2 {
  position: relative;
}

div.logo {
    position: absolute;
    top: 100px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    max-width: 300px;

    /* Desktop */
    @media (min-width: 1025px){
        width: 420px;
    }
}

/* Single Flat page styles */
.title-banner .content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);

    /* desktop */
    @media (min-width: 1025px){
        align-items: center;
        margin-top: var(--spacing-2xl);
    }
}

.title-banner .content .details {
    gap: var(--spacing-md);
}

.title-banner .content .details .detail-item {
    align-items: center;
    gap: var(--spacing-xs);
}

.single-flat-page .card {
    position: relative;
    overflow: hidden;
    aspect-ratio: auto;
    height: 100%;
    z-index: 2;
   
    /* Tablet */
    @media (min-width: 769px) {
    }
}

.single-flat-page .text-card {
    width: 100%;
    text-align: left;
    justify-content: start;
    background-color: var(--secondary-light);
    padding-block: var(--spacing-xl);
    padding-inline: var(--spacing-lg);
}

.single-flat-page .grid {
    padding-block: 0px;
    margin-top: var(--spacing-lg);
    margin-bottom: var(--spacing-md);

    /* Desktop */
    @media (min-width: 1025px) {
        margin-top: var(--spacing-2xl);
    }
}

.single-flat-page .grid .flat-image {
    overflow: hidden;
    width: 100%;
    height: 100%;
}

.single-flat-page .grid picture {
    overflow: hidden;
}

.single-flat-page .grid img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.single-flat-page .flat-landscape {
    grid-column: 1 / span 1;
    width: 100%;
    height: 600px;

    /* Desktop */
    @media (min-width: 1025px) {
        grid-column: 1 / span 2;
    }
}

.single-flat-page .flat-landscape picture {
    object-position: center;
}

.single-flat-page .flat-landscape img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.single-flat-page .flat-services {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.single-flat-page .services {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
}

.single-flat-page .service-item {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-md);
}

.single-flat-page .icon-wrapper {
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 2rem;
    flex-shrink: 0;
}

.single-flat-page .service-item p {
    margin: 0;
}

.single-flat-page .galleryshape {
    margin-bottom: var(--spacing-lg);

    /* Desktop */
    @media (min-width: 1025px) {
        margin-bottom: 0px;
    }
}

.single-flat-page .btn-wrapper {
    display: flex;
    flex-direction: column;
    gap: var(--gap-md);
    align-items: center;
    margin-block: var(--spacing-lg);
    width: 100%;

    /* Desktop */
    @media (min-width: 1025px) {
        margin-block: var(--spacing-2xl);
    }
}

.single-flat-page .btn-wrapper .btn-inverted {
    border: 1px solid var(--primary) !important;
}

#form_pagina {
    background-color: var(--secondary);
    color: var(--white);
    text-align: center;
    padding-bottom: var(--spacing-xl);
}

#form_pagina h2 {
    text-transform: uppercase;
}

.contact-page .title-banner {
    margin-bottom: var(--spacing-xl);
}

.contact-page .btn-wrapper {
    text-align: center;
    margin-top: var(--spacing-md);
}

.contact-page .textshape {
    margin-bottom: var(--spacing-xl);
}

.contact-page .contact-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: var(--gap-md);
    margin-bottom: var(--spacing-lg);

    /* Tablet */
    @media (min-width: 769px) {
        grid-template-columns: repeat(3, 1fr);
        gap: var(--gap-md);
    }
    /* Desktop */
    @media (min-width: 1025px) {
    }
}

.contact-page .contact-grid>div {
    border: 1px solid var(--secondary);
    padding: var(--gap-md);
}

.contact-page .contacts {
    text-align: center;
    font-size: var(--font-size-lg);
}

.contact-page .contacts a {
    color: var(--text-color);
}

#form_pagina form {
    max-width: 400px;
    margin: 0 auto;
    text-align: left;

    @media (min-width: 576px) {
        max-width: 500px;
    }
    /* Tablet */
    @media (min-width: 769px) {
        max-width: 600px;
    }
    /* Desktop */
    @media (min-width: 1025px) {
        max-width: 800px;
    }
}

#form_pagina .fieldset {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

#form_pagina textarea {
    margin-top: 0;
    margin-bottom: 0;
}

#form_pagina .agree-buttons {
    margin-block: var(--spacing-lg);
}

#form_pagina .agree-buttons span {
    font-weight: 400;
}

#form_pagina .submit-btn input {
    margin: 0 auto;
}


#newsletter {
    height: auto;
    width: 100%;
    background-color: var(--secondary);
    color: var(--white);
    padding-block: var(--spacing-lg);

    /* Desktop */
    @media (min-width: 1025px){
        padding-top: var(--spacing-xl);
        padding-bottom: 0;
    }
}

#newsletter .container {
    display: grid;
    grid-template-columns: repeat(1, 1fr);

    /* Desktop */
    @media (min-width: 1025px) {
        grid-template-columns: repeat(6, 1fr);
    }
}

#newsletter .heading-col {
    grid-column: 1 / span 1;
    text-align: center;

    /* Desktop */
    @media (min-width: 1025px){
        grid-column: 1 / span 2;
        text-align: right;
    }
}

#newsletter form {
    grid-column: 1 / span 1;
    display: flex;
    flex-direction: column;

    /* Desktop */
    @media (min-width: 1025px){
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        grid-column: 3 / span 4;
    }
}

#newsletter input[type="text"] {
    font-family: "Roboto Condensed", sans-serif !important;
    max-width: 350px;

    /* Desktop */
    @media (min-width: 1025px){
        max-width: 100%;
    }
}

#newsletter .input-col {
    grid-column: 1 / span 1;
    align-items: center;
    gap: var(--spacing-md);
    
    /* Desktop */
    @media (min-width: 1025px){
        grid-column: 1 / span 3;
        align-items: start;
    }
}

.newsletter-col {
    padding-bottom: 0;

    /* Desktop */
    @media (min-width: 1025px){
        padding-inline: var(--spacing-md);
        padding-bottom: var(--spacing-xl);
    }
}

#newsletter label {
    font-family: "Roboto Condensed", sans-serif;
    font-weight: 300;
    font-size: var(--font-size-sm);
    margin-bottom: 0;
}

footer {
    height: auto;
    width: 100%;
    background-color: var(--primary);
    color: var(--white);
    padding-block: var(--spacing-md);
    
    /* Desktop */
    @media (min-width: 1025px){
        padding-bottom: var(--spacing-xl);
        padding-top: 0;
    }
}

footer .flex-row {
    width: 100%;
    justify-content: space-between;
}

footer .container {
    display: grid;
    grid-template-columns: repeat(1, 1fr);

    /* Desktop */
    @media (min-width: 1025px){
        grid-template-columns: repeat(6, 1fr);
    }
}

.footer-column {
    padding-block: var(--spacing-md);

    /* Desktop */
    @media (min-width: 1025px){
        padding-inline: var(--spacing-md);
        padding-top: var(--spacing-xl);
    }
}

.newsletter-col:not(:last-child),
.footer-column:not(:last-child) {
    border: none;
    /* Desktop */
    @media (min-width: 1025px){
        border-right: 1px solid var(--white);
    }
}

footer .logo-column {
    align-items: center;
    
    /* Desktop */
    @media (min-width: 1025px){
        align-items: flex-end;
    }
}

.footer-logo {
    max-width: 200px;
}

footer .social {
    justify-content: center;
    gap: var(--spacing-sm);
    padding-top: var(--spacing-sm);

    /* Desktop */
    @media (min-width: 1025px){
        justify-content: flex-end;
    }
}

footer .social-item {
    max-width: 40px;
}

footer .contact,
footer .phone-numbers {
    justify-content: center;
    align-items: center;
    gap: var(--spacing-md);

    /* Desktop */
    @media (min-width: 1025px){
        justify-content: flex-start;
        align-items: start;
    }
}

footer .logo-column {
    grid-column: 1 / span 1;

    /* Desktop */
    @media (min-width: 1025px){
        grid-column: 1 / span 2;
    }
}

footer .contact {
    grid-column: 1 / span 1;

    /* Desktop */
    @media (min-width: 1025px){
        grid-column: 3 / span 3;
    }
}

footer .policy-box {
    grid-column: 1 / span 1;
    justify-content: center;
    align-items: center;
    gap: var(--spacing-md);
    font-size: var(--font-size-sm); 

    /* Desktop */
    @media (min-width: 1025px){
        grid-column: 6 / span 1;
        justify-content: flex-start;
        align-items: start;
        gap: var(--spacing-lg);
    }
}

footer .company-data {
    justify-content: center;
    align-items: center;
    gap: var(--spacing-xs);

    /* Desktop */
    @media (min-width: 1025px){
        justify-content: flex-start;
        align-items: start;
        gap: var(--spacing-sm);
    }
}


