/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}

/*-------------------------------------- FINE DEL RESET */

/*----------------------------------------- IMPORT FONT */

@font-face {
    font-family: Manrope;
    font-weight: 400;
    font-style: normal;
    font-display: swap;
    src: url(../font/manrope-latin-400-normal.woff2) format(woff2);
}

@font-face {
    font-family: Manrope;
    font-weight: 600;
    font-style: normal;
    font-display: swap;
    src: url(../font/manrope-latin-600-normal.woff2) format(woff2);
}

@font-face {
    font-family: Manrope;
    font-weight: 800;
    font-style: normal;
    font-display: swap;
    src: url(../font/manrope-latin-800-normal.woff2) format(woff2);
}

/*-------------------------------------- STILI GENERALI */

:root {
    --white-0: hsl(0, 0%, 0%, 0%);
    --white-5: hsl(0, 0%, 0%, 5%);
    --white-10: hsl(0, 0%, 0%, 10%);
    --white-15: hsl(0, 0%, 0%, 15%);
    --white-20: hsl(0, 0%, 0%, 20%);
    --white-25: hsl(0, 0%, 0%, 25%);
    --white-30: hsl(0, 0%, 0%, 30%);
    --white-35: hsl(0, 0%, 0%, 35%);
    --white-40: hsl(0, 0%, 0%, 40%);
    --white-45: hsl(0, 0%, 0%, 45%);
    --white-50: hsl(0, 0%, 0%, 50%);
    --white-55: hsl(0, 0%, 0%, 55%);
    --white-60: hsl(0, 0%, 0%, 60%);
    --white-65: hsl(0, 0%, 0%, 65%);
    --white-70: hsl(0, 0%, 0%, 70%);
    --white-75: hsl(0, 0%, 0%, 75%);
    --white-80: hsl(0, 0%, 0%, 80%);
    --white-85: hsl(0, 0%, 0%, 85%);
    --white-90: hsl(0, 0%, 0%, 90%);
    --white-95: hsl(0, 0%, 0%, 95%);
    --white-100: hsl(0, 0%, 0%, 100%);
    --accent: hsl(33.59, 95.12%, 48.24%);
    --background-color: hsl(0, 0%, 96.86%);
    --soft-black: hsl(216.92, 10.24%, 24.9%);
}

body {
    margin: auto;
    padding: 1.25em; /* 20px */
    background-color: var(--background-color);
    opacity: 1;
    background-image: radial-gradient(#e8e8e8 1px, #f7f7f7 1px);
    background-size: 20px 20px;
}

h1 {
    font-family: "Manrope", Arial, Helvetica, sans-serif;
    font-size: 2em; /* 32px */
    font-weight: 800;
    font-style: normal;
    letter-spacing: 0em;
    color: var(--white-0);
}

h2 {
    font-family: "Manrope", Arial, Helvetica, sans-serif;
    font-size: 1.8em; /* 28.8px */
    font-weight: 800;
    font-style: normal;
    letter-spacing: -0.03125em; /* 0.5px */
    color: var(--soft-black);

}

h3 {
    font-family: "Manrope", Arial, Helvetica, sans-serif;
    font-size: 1.6em; /* 25.6px */
    font-weight: 800;
    font-style: normal;
    letter-spacing: -0.03125em; /* 0.5px */;
    line-height: 1.2;
    color: black;
}

h4 {
    font-family: "Manrope", Arial, Helvetica, sans-serif;
    font-size: 1.4em;
    font-weight: 800;
    font-style: normal;
}

h5 {
    font-family: "Manrope", Arial, Helvetica, sans-serif;
    font-size: 1.2em;
    font-weight: 800;
    font-style: normal;
}

p {
    font-family: "Manrope", Arial, Helvetica, sans-serif;
    font-size: 1em; /* 16px */
    line-height: 1.6; /* 25.6px > em può essere omesso */
    font-weight: 400;
    color: black;
}

p b {
    font-family: "Manrope", Arial, Helvetica, sans-serif;
    font-weight: 600;
}

a {
    color: var(--accent);
    text-decoration: none;
}

li a {
    font-family: "Manrope", Arial, Helvetica, sans-serif;
    font-weight: 400;
}

/*---------------------------------------- ALL / HEADER */

/*---------------------------------------- BACK TO TOP */

.back_to_top {
    position: fixed;
    bottom: 6em;
    right: 1em;
    z-index: 99;
    background-repeat: no-repeat;
}

/*------------------------------------------------ HERO */

/*------------------------------------------------ MAIN */

.main_container {
    width: auto;
    height: auto;
    background-color: var(--background-color);
}

/*--------------------------- ALL / SECTIONS HEADING --*/

.section_heading {
    width: auto;
    height: auto;
    padding: 1em 0em; /* 16px 0px */
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    border-bottom: 2px dotted black;
}

.section_heading p {
    font-size: 0.8em; /* 12.8px */
}

/*--------------------------------- HOME / DESIGN WORK */
/*--------------------------- I SINGOLI DESIGN WORK */
.design_work {
    width: auto;
    height: auto;
    display: flex;
    flex-direction: column-reverse;
    flex-wrap: nowrap;
    box-shadow: 0 0 20px 0 rgba(0, 0, 0, 0.08);
    margin-top: 2em; /* 32px */
}

.design_work .design_work-img { /* Immagine responsive */
    width: 100%; /* L'immagine è larga al 100% e vincolata al viewport */
    height: auto; /* L'altezza è vincolata alla larghezza, in questo modo scalerà a seconda del dispositivo */
    object-fit: cover;
} 

.design_work .design_work-txt {
    width: auto;
    height: auto;
    padding: 1.5em; /* 24px */
    box-sizing: border-box;
}

/*--------------------------- SEPAREE */

.separee_quad {
    width: auto;
    height: 200px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='48' height='48' fill='rgba(240,137,6,1)'%3E%3Cpath d='M4 3H20C20.5523 3 21 3.44772 21 4V20C21 20.5523 20.5523 21 20 21H4C3.44772 21 3 20.5523 3 20V4C3 3.44772 3.44772 3 4 3ZM5 5V19H19V5H5Z'%3E%3C/path%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
}

/*---------------------------------------- TESTIMONIALS */

.testimonial_comment {
    width: auto;
    height: auto;
    margin-top: 2em; /* 32px */
}

.testimonial_author {
    width: auto;
    height: auto;
    margin-top: 1em; /* 16px */
    text-align: right;
}

/*---------------------------------------- CHI SONO */

.bio_paragraph {
    width: auto;
    height: auto;
    margin-top: 1em; /* 16px */
}


/*---------------------------------------- ALL / FOOTER */

.footer_container {
    width: auto;
    height: auto;
    padding: 1.25em 0em; /* 20px */
    background-color: var(--background-color);
}

.footer_menu {
    width: auto;
    height: auto;
    
}

.footer_menu ul {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    padding: 1em 0em;
    justify-content: space-between;
    border-bottom: 2px dotted black;
}

.footer_menu li {
    display: inline;
}

.footer_buttons_container {
    width: auto;
    height: auto;
    padding: 1em 0em;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
}

/* -------------------------------------------- DESKTOP */
@media only screen and (min-width: 768px) {

    .main_container {
        width: 650px;
    }

    .design_work {
        flex-direction: row;
        flex-wrap: nowrap;
    }
    
    .design_work .design_work-img { /* Immagine responsive */
        width: 50%;
        height: auto;
    }
    
    .design_work .design_work-txt {
        width: 50%;
        height: auto;
    }

    .footer_container {
        width: 650px;
    }
} 