/*
 Theme Name:   Ronda 5x1000
 Theme URI:    5x1000.rondadellacaritaverona.org
 Description:  Ronda 5x1000
 Author:       Visiva Studio
 Author URI:   https://visivastudio.com/
 Template:     genesis-block-theme
 Version:      0.0.2
*/


/*Typography*/

@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,100..1000;1,9..40,100..1000&family=Space+Mono&display=swap');

/*Fonts*/

body {
    font-family: 'DM Sans', sans-serif;
    font-weight: 500;
    background-color: var(--cream);
}

body.home {
    background-color: var(--cream);
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'DM Sans', sans-serif;
}


/*Colors*/

:root {
    --darkblue: #002f46;
    --orange: #f25921;
    --cream: #fefcea;
    --coolwhite: #f2fff0;
    --warmwhite: #fefdf7;
    --lightgrey: #f5f5f5;
    --lightgrey2: #e0e0e0;
}

.has-cream-color {
    color: var(--cream);
}

.has-blue-color {
    color: var(--darkblue);
}

.has-orange-color {
    color: var(--orange);
}

.blue {
    background-color: var(--darkblue);
    color: var(--warmwhite);
}

.orange {
    background-color: var(--orange);
}

.has-coolwhite-color {
    color: var(--coolwhite);
}

.has-warmwhite-color {
    color: var(--warmwhite);
}

.wp-block-button__link.has-blue-background-color,
.has-blue-background-color {
    background-color: var(--darkblue);
}

.wp-block-button__link.has-orange-background-color,
.has-orange-background-color {
    background-color: var(--orange);
}

.wp-block-button__link.has-warm-white-background-color {
    background-color: var(--warmwhite);
    color: var(--darkblue);
}


/* Gap Classes */

.gap-20 {
    gap: 20px;
}

.gap-50 {
    gap: 50px;
}

.gap-80 {
    gap: 80px;
}

.gap-100 {
    gap: 100px;
}

.entry-content .social-share p a {
    color: white;
    font-size: 20px;
    box-shadow: none;
    line-height: 1.3;
}

.wp-block-image.number img {
    max-width: 48px;
}

.site-footer,
.site-header,
html {
    background-color: var(--purple);
}

.site-footer {
    color: var(--cream);
    padding: 0px;
    padding-bottom: 20px;
}

.footer-widgets {
    margin-bottom: 0px;
}

.footer-widgets .widget_text a {
    color: var(--cream);
    border-bottom: none;
}

.footer-widgets .widget_text a:hover {
    color: var(--green);
}

.footer-widgets .footer-column.one {
    width: 42% !important;
    margin-right: 20%;
}

.footer-widgets .footer-column.two {
    width: 20% !important;
}

.footer-widgets .footer-column.two p {
    font-size: 20px;
}

.footer-widgets .footer-column.three {
    width: 10% !important;
    text-align: right;
}

.block-footer h6 {
    font-size: 15px;
    margin-bottom: 0px;
}

.block-footer .sito {
    align-items: center;
    display: flex;
}

.sm-buttons {
    flex-direction: row;
    align-items: center;
    padding: 20px;
}

.sm-buttons img {
    max-width: 50px;
}

.facebook img {
    width: 50px;
    border-right: 2px solid white;
    padding-right: 10px;
}

#page {
    background-color: var(--cream);
    color: var(--purple);
}

.home #page {
    background-color: var(--warmwhite);
    color: var(--darkblue);
    padding-top: 0px;
}

.home #page .container {
    max-width: 100%;
    padding: 0px;
}

.home #page .home-hero .wp-block-columns.is-layout-flex {
    gap: 0px;
}

.project-homeless img {
    max-width: 1000px;
}

.project-homeless .wp-block-image {
    align-items: center;
    justify-content: end;
    display: flex;
}

.hero-box {
    padding: 50px;
    padding-left: 70px;
	justify-content: center;
    display: flex;
    flex-direction: column;
}

.hero-box img {
    margin-left: -30px;
}

.hero-box p {
    font-size: 30px;
    max-width: 500px;
}

.wp-block-columns {
    margin-bottom: 0px;
}

.inner {
    max-width: 1200px;
    padding: 50px;
    padding-top: 75px;
    margin: 0 auto !important;
}

.inner-wide {
    max-width: 1600px;
    padding: 50px;
    padding-top: 75px;
    margin: 0 auto !important;
}

p {
    font-size: 25px;
}

p.has-warm-white-color {
    color: var(--warmwhite);
}

h6 {
    font-family: "Space Mono";
}

.block-footer {
    padding-left: 20px;
    padding-right: 20px;
}

#mc_embed_signup {
    margin-top: 10px;
}

#mc_embed_signup input[type='submit'] {
    background-color: var(--darkblue);
    font-weight: 300;
}

#mc_embed_signup input[type='email'] {
    border: 0px;
    border-radius: 0px;
}

#mc_embed_signup input[type='checkbox'] {
    width: 40px;
    height: 40px;
    border: 0px;
    border-radius: 0px;
    box-shadow: none;
    margin-top: 10px;
}

#mc_embed_signup label.checkbox {
    align-items: center;
}

#mc_embed_signup label.checkbox span {
    margin-top: 10px;
    margin-left: 10px;
    color: white;
    font-weight: 500;
    max-width: 260px;
    font-size: 15px;
}

.site-content {
    padding-bottom: 0px;
}

.entry-header h1.entry-title {
    font-size: 90px;
    color: var(--purple);
    line-height: 1;
}

.entry-content {
    font-size: 20px;
}

.entry-content li {
    margin-bottom: 0px;
}

blockquote p {
    font-size: 48px;
    font-family: 'DM Sans', sans-serif;
    color: var(--purple);
    padding-left: 30px;
    margin-bottom: 0px;
    line-height: 1.2;
}

.wp-block-quote {
    border-left: 0px;
    padding-left: 0px;
}

.flex {
    display: flex;
}


/*MARGINS & STRUCTURE*/

.mt--5 {
    margin-top: -5px;
}

.mt--10 {
    margin-top: -10px;
}

.mt--20 {
    margin-top: -20px;
}

.mt-10 {
    margin-top: 10px;
}

.mt-20 {
    margin-top: 20px;
}

#primary {
    width: 100%;
    max-width: 100%;
}

.container {
    max-width: 100%;
    padding: 0px;
}

.pagination li {
    list-style-type: none;
}

.pagination .navigation {
    display: flex;
}

.pagination a {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--purple);
    transition: color 0.3s ease;
}

.pagination span {
    align-items: center;
    justify-content: center;
    display: flex;
    color: var(--purple);
    transition: color 0.3s ease;
}

.prev-posts-link a {
    padding-right: 0px;
}

.next-posts-link a {
    padding-left: 0px;
}

.pagination a.button:hover,
.pagination span:hover,
.pagination li a:hover {
    color: var(--green);
    transition: color 0.3s ease;
}


/*BUTTONS*/

.wp-block-button__link {
    color: var(--cream);
    background-color: var(--purple);
    font-family: "DM Sans", sans-serif;
    border-radius: 0px;
    box-shadow: none;
    text-decoration: none;
    padding: 10px 20px;
    font-size: 25px;
    font-weight: 700;
    max-width: 400px;
}

.home h3 {
    font-size: 45px;
    font-weight: 400;
}

.home .home-hero .wp-block-button__link {
    font-size: 35px;
    margin-left: -17px;
}


/*HEADER*/

.site-header,
.site-header a,
.site-header .main-navigation ul li.current-menu-item a {
    color: var(--red);
    text-transform: uppercase;
    font-family: "DM Sans", sans-serif;
    transition: color 0.3s ease;
}

.main-navigation ul li a:hover {
    color: var(--green);
    transition: color 0.3s ease;
}

.site-identity {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 10px 0px;
}

.site-identity::before,
.site-identity::after {
    display: none;
}

.site-title {
    font-size: 45px;
}

.main-navigation ul li {
    font-size: 30px;
}


/*CONTACT FORM*/

.wpcf7-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.wpcf7-form input,
.wpcf7-form textarea {
    border: 3px solid var(--purple);
    background-color: transparent;
    font-family: "Barlow", sans-serif;
    font-size: 20px;
}

.wpcf7-form .flex {
    justify-content: space-between;
    gap: 50px;
    margin-bottom: 30px;
}

.wpcf7-form-control-wrap,
.wpcf7-form-control-wrap input {
    width: 100%;
}

.wpcf7-form ::placeholder {
    color: var(--purple);
    font-family: "Barlow", sans-serif;
    font-size: 20px;
}

.wpcf7-not-valid-tip {
    color: var(--red);
}

.wpcf7-form .wpcf7-submit {
    background-color: var(--red);
    border: var(--red);
    max-width: 200px;
    width: 100%;
    color: var(--cream);
    font-family: "Bebas Neue", sans-serif;
    font-size: 30px;
    text-transform: uppercase;
}


/*MEDIA QUERIES*/

@media all and (max-width:1100px){
	.hero-box p {
    font-size: 22px;
	}
	
    .wp-block-button__link{
	font-size: 15px !important;
	}
	
}

@media all and (max-width:781px) {
	 #page .alignright {
        max-width: 100%;
        width: 100%;
        text-align: center;
		margin: 0;
        margin-bottom: 20px;
    }
	.project-homeless .wp-block-image {
    justify-content: center;;
	}
    .mobile-gap-20 {
        gap: 20px !important;
    }
    .stack-reverse {
        flex-direction: column-reverse;
        gap: 0;
    }
    .project-homeless .wp-block-image {
        margin-bottom: 0px;
    }
    .wp-block-cover.home-hero {
        min-height: 180px !important;
    }
    .project-homeless img {
        max-width: 1000px;
        width: 80%;
        margin-bottom: -20px;
    }
    .hero-box {
        padding: 30px;
        text-align: center;
    }
    .hero-box img {
        margin-left: -20px;
        max-width: 200px;
    }
    .hero-box p {
        font-size: 22px;
        max-width: 100%;
    }
    .hero-box .wp-block-buttons {
        justify-content: center;
    }
    .wp-block-button__link {
        font-size: 20px;
    }
    .inner,
    .inner-wide {
        padding: 30px;
        padding-top: 40px;
        padding-bottom: 40px;
        gap: 0px;
    }
    .block-footer {
        gap: 0;
        padding: 30px;
    }
    .sito {
        justify-content: center;
    }
    .sm-buttons {
        flex-direction: column;
        padding-bottom: 0px;
    }
    .facebook img {
        border-right: 0px;
        padding: 5px;
    }
    h1 {
        font-size: 33px;
        margin-bottom: 30px;
    }
    p {
        font-size: 22px;
        line-height: 1.4;
        margin-bottom: 22px;
    }
}

@media all and (max-width:400px) {
    .wp-block-button__link {
        font-size: 16px;
    }
    .block-footer h6 {
        font-size: 12px;
        margin-bottom: 0px;
    }
	.wp-block-cover__inner-container img{
		width: 100% !important;
		max-width: 250px;
	}
}