/* CSS Document */

/*VARIABILI*/

:root {
	--font-primario: "DM Sans", sans-serif;
    --playfair: "Playfair Display", serif;
	--font-scuro: #2d387a;
	--font-chiaro: #b8c1fc;
    --leggibile: "Noto Serif", serif;

}



/*GENERALI*/

body {
	font-family: var(--playfair);
    font-weight: 400;
    background-color: #f8f8f8;

}


.container{
	width: 100%;
	max-width: 1290px;
	margin: 0 auto;
}

.flex {
    display: flex;
}

.sfondo {
	background-color: var(--font-chiaro);
	height: 100vh;
}
.scuro {
    color: var(--font-scuro);
}

button , .button {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    transform-style: preserve-3d;
}

button:hover , .button:hover {
    transform: scale(1.1) translateZ(20px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}





/*HEADER*/
a.flex {
    align-items: center;
    gap: 10px;
    
}

.logo a {
    text-decoration: none;
}
header.flex{
	justify-content: space-between;
	align-items: center;
	padding: 10px 0;
}
nav {
    padding-right: 15%;
}
nav ul {
	list-style-type: none;
	display: flex;
	gap: 30px;
}

nav ul a {
    text-decoration: none;
    font-family: var(--leggibile);
    color: var(--font-scuro);
    padding-bottom: 5px; 
	text-transform: uppercase;
	font-weight: bolder;
   
}
.account a {
    text-decoration: none;
}
.social .icon {
    color: var(--font-scuro);
    font-size: 30px;
    padding: 0 10px;
}


.logo.flex {
    align-items: center;
    gap: 10px;
}
.logo img {
    width: 20%;
}

.logo p {
    font-family: var(--leggibile);
    color: var(--font-scuro);
    font-size: 1.4rem;
}

/*HERO */


.hero h1 {
    margin-bottom: 40px;
   /* text-align: center; */
    color: var(--font-scuro);
    font-size: 5rem;
    font-weight: 400;
    text-transform: uppercase;
}

.hero .container.flex {
	height: calc(100vh - 90.55px);
    align-items: center;
    gap: 40px; 
}


.button {
    background: var(--font-scuro);
    border: none;
    color: white;
    padding: 20px 30px;
    text-transform: uppercase;
    font-family: var(--leggibile);
    font-weight: 500;
    font-size: 1.2rem;
    cursor: pointer;
}

.cta .button a {
    text-decoration: none;
    color: #fff;
}
.foto {
    width: 45%;
}

.foto img {
    width: 100%;
}


.cta p {
    font-size: 1.2rem;
    line-height: 1.4;
    font-family: var(--leggibile);
    color: var(--font-scuro);

}

.cta .button {
    margin-top: 30px;
}

/*PROVA PETALI */

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



.background {
  background-color: var(--font-scuro);
 /* height: 100vh; */
  width: 100%;
  z-index: 0;
}

.content {
  background-color: #f8f8f8;
 /* height: 97.6vh; */
  width: 100%;
  position: relative;
  z-index: 1;
	padding-bottom: 10%;
 /* border-bottom-right-radius: 200px;*/
  border-bottom-left-radius: 25% 60%;
      border-bottom-right-radius: 5% 10%;

  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}



.titolo{
    margin-top: 0;
    padding: 80px 100px 5px;
    text-transform: uppercase;
    font-size: 5rem;
    font-weight: 400;
    border: none;
    color: var(--font-scuro);
    border-bottom: 1px solid var(--font-scuro);
}




/*FIORE PETALI*/


.flower-container {
  height: 100px;
  width: 100px;
  position: relative;

  margin: auto;
}

.flower-container:not(.animate) .droplet {
  animation: none !important;
  opacity: 0 !important;
}


.droplet {
  border-radius: 5px 90%;
  border-style: solid;
  border-width: 5px;
  border: none;
  height: 10vh;
  margin: auto;
  width: 7vw;
  position: absolute;
  top: 50px;
  left: 50px;
  transform-origin: left top;
  opacity: 0;
}

/*ANIMAZIONI*/
#no1 {
  background: var(--font-scuro);
  animation: spin 5s ease-out forwards;
  animation-delay: 0s;
}

#no2 {
  background: var(--font-chiaro);
  animation: spin2 5s ease-out forwards;
  animation-delay: 0.05s;
}

#no3 {
  background: var(--font-scuro);
  animation: spin3 5s ease-out forwards;
  animation-delay: 0.1s;
}

#no4 {
  background: var(--font-chiaro);
  animation: spin4 5s ease-out forwards;
  animation-delay: 0.15s;
}

#no5 {
  background: var(--font-scuro);
  animation: spin5 5s ease-out forwards;
  animation-delay: 0.2s;
}

#no6 {
  background: var(--font-chiaro);
  animation: spin6 5s ease-out forwards;
  animation-delay: 0.25s;
}

#no7 {
  background: var(--font-scuro);
  animation: spin7 5s ease-out forwards;
  animation-delay: 0.3s;
}

#no8 {
  background: var(--font-chiaro);
  animation: spin8 5s ease-out forwards;
  animation-delay: 0.35s;
}

#no9 {
  background: var(--font-scuro);
  animation: spin9 5s ease-out forwards;
  animation-delay: 0.4s;
}

#no10 {
  background: var(--font-chiaro);
  animation: spin10 5s ease-out forwards;
  animation-delay: 0.45s;
} 


/*KEYFRAMES PER ANIMAZIONI FIORE */
@keyframes spin {
  0% {
    opacity: 0;
    transform: rotate(0deg) scale(0.01);
  }
  20%, 60%, 100% {
    opacity: 1;
    transform: rotate(324deg) scale(1);
  }
}

@keyframes spin2 {
  0% {
    opacity: 0;
    transform: rotate(0deg) scale(0.01);
  }
  20%, 60%, 100% {
    opacity: 1;
    transform: rotate(288deg) scale(1);
  }
}

@keyframes spin3 {
  0% {
    opacity: 0;
    transform: rotate(0deg) scale(0.01);
  }
  20%, 60%, 100% {
    opacity: 1;
    transform: rotate(252deg) scale(1);
  }
}

@keyframes spin4 {
  0% {
    opacity: 0;
    transform: rotate(0deg) scale(0.01);
  }
  20%, 60%, 100% {
    opacity: 1;
    transform: rotate(216deg) scale(1);
  }
}

@keyframes spin5 {
  0% {
    opacity: 0;
    transform: rotate(0deg) scale(0.01);
  }
  20%, 60%, 100% {
    opacity: 1;
    transform: rotate(180deg) scale(1);
  }
}

@keyframes spin6 {
  0% {
    opacity: 0;
    transform: rotate(0deg) scale(0.01);
  }
  20%, 60%, 100% {
    opacity: 1;
    transform: rotate(144deg) scale(1);
  }
}

@keyframes spin7 {
  0% {
    opacity: 0;
    transform: rotate(0deg) scale(0.01);
  }
  20%, 60%, 100% {
    opacity: 1;
    transform: rotate(108deg) scale(1);
  }
}

@keyframes spin8 {
  0% {
    opacity: 0;
    transform: rotate(0deg) scale(0.01);
  }
  20%, 60%, 100% {
    opacity: 1;
    transform: rotate(72deg) scale(1);
  }
}

@keyframes spin9 {
  0% {
    opacity: 0;
    transform: rotate(0deg) scale(0.01);
  }
  20%, 60%, 100% {
    opacity: 1;
    transform: rotate(36deg) scale(1);
  }
}

@keyframes spin10 {
  0% {
    opacity: 0;
    transform: rotate(0deg) scale(0.01);
  }
  20%, 60%, 100% {
    opacity: 1;
    transform: rotate(0deg) scale(1);
  }
} 



/*SINISTRA*/



.sinistra {
  /*  float: right; */
    padding: 2% 5% 3.7% 10%;   
    width: 60%;
    background: var(--font-chiaro);
    border-top-left-radius: 800px;
}

.sinistra h3 {
    font-family: var(--leggibile);
    text-transform: uppercase;
    color: var(--font-scuro);
    text-align: right;
    font-size:2rem; 
    font-weight: 700;
}

.sinistra p {
    font-family: var(--leggibile);
    color: var(--font-scuro);
    text-align: right;
    font-size: 1.2rem;
    font-weight: 500;
    line-height: 1.5;
}

.sinistra .button {
    margin-top: 20px;
    display: block; 
    float: right; 
    padding: 10px 15px;
}

.sinistra .button a {
    text-decoration: none;
    color: #fff;
}

.background-2 {
  background-color: var(--font-chiaro);
/*height: 100vh;*/
  width: 100%;
  z-index: 1;
}

.content-2 {
      background-color: #f8f8f8;
     /*height: 100vh; */
      width: 100%;
	padding-bottom: 10%;
      z-index: 2;
      border-top-left-radius:   25% 60%;
    border-top-right-radius: 5% 10%;
      box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.content-2 .titolo {
    text-align: right;
}

/*SKILLS */

.mandala { 
    padding: 8.5%;
    background: url("img/mandala vuoto.png");
     background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    justify-content: center;
    align-items: center;    
    position: relative;
    margin: 0 auto;

}


.mandala .cerchio {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100px;
    height: 100px;
    z-index: 2;
    transition: transform 0.5s ease-out
    
}
.skill {
    color: var(--font-scuro);
    text-align: center;
    font-size: 40px;
    transition: transform 0.5s ease-out

}
.mandala .cerchio:hover  {
    transform: scale(2.5);
    cursor: pointer;
}

.cerchio svg {
    color: var(--font-scuro);
    text-align: center;
    width: 30px;
    height: 30px;
    transition: transform 0.5s ease-out
}

.container.btn.flex {
    margin-top: 6%;
    justify-content: center;
    gap: 7%;
}

path.ai {
    fill: var(--font-scuro);
}
.etichette .container.flex {
    justify-content: space-around;
    /*gap: 13%;*/
}
.etichette h3 {
    font-family: var(--leggibile);
    font-weight: 400;
    font-size: 1.8rem;
    color: var(--font-scuro);
    
}

.etichette h3:nth-child(1) , .etichette h3:nth-child(2){
    margin-left: 2%;
}

.container.btn button a {
    text-decoration: none;
}

.container.btn button a {
    color: var(--font-scuro);
}

.container.btn .button a {
    color: #fff;
}

.container.btn button a:nth-child(2) {
    color: var(--font-scuro);
}
.container.btn button:nth-child(2) {
    color: var(--font-scuro);
    text-transform: uppercase;
    padding: 15px 30px;
    background: none;
    border: 2px solid var(--font-scuro);
    font-family: var(--leggibile);
    font-weight: 600;
    font-size: 1.2rem;
    cursor: pointer;
    
}
footer {
    text-align: center;
    background: var(--font-scuro);
    padding-bottom: 50px;
}
footer i, footer .titolo , footer p {
    color: #fff;
}
footer i {
    font-size: 40px;
    padding: 0 15px;
}
footer p {
    font-family: var(--leggibile);
    font-size: 1.3rem;
}
footer .titolo {
    border: 1px solid #fff;
}



/*-----------------------------
------------CONTATTI-----------
-------------------------------*/

.hero-2.flex {
    align-items: center;
    justify-content: space-around;
}

.hero-title {
    font-size: 8.5rem;
    font-weight: 400;
    color: var(--font-scuro);
    text-transform: uppercase;
    margin: 0;
}

.sfondo-secondario {
    padding-bottom: 80px;
    background-color: var(--font-chiaro);
}
/*.hero-left {
    width: 20%;
    margin-bottom: 50px;
}

.hero-left img {
    width: 90%;
} */


.hero-2 .hero-title {
    border-bottom: 1px solid var(--font-scuro);
}

/*PETALI*/
 .foglia {
     margin: 40px 0;
      display: flex;
      flex-direction: row;
      justify-content: center; 
      gap: -20px;
    }

    .petalo {
      width: 100px;
      height: 100px;
      transform: rotate(75deg);
    }

    .petalo:nth-child(2) {
      transform: rotate(80deg);
    }

    .petalo:nth-child(3) {
      transform: rotate(100deg);
    }

    .petalo:nth-child(4) {
      transform: rotate(65deg);
    }





   .petalo svg {
      width: 90%;
      height: 100%;
    }

    .petalo path {
      fill: #2d387a;
    }


/* CONTACT CARDS */
.contact {
    margin-top: 80px;
    padding-bottom: 100px;
}
.contact-card-container.flex {
    justify-content: center;
    gap: 50px;    
}


.contact-card {    
    width: 33%;
    border-radius: 10px;
    padding: 40px;
    background: var(--font-scuro);
    text-align: center;
    
}

.icon-contact {
    font-size: 30px;
}
.contact-card .scuro {
    color: #fff;
    font-family: var(--leggibile);
    font-weight: 500;
}


.quick-contact {
    margin-top: 60px;
}

.quick-contact .titolo {
    text-align: left;
}

label {
    padding: 10px;
    font-family: var(--leggibile);
    color: var(--font-scuro);
    font-weight: bold;
}

/*.camp {
 padding: 20px;   
    align-items: center;
} */


.forms {
    padding-bottom: 50px;
    width: 50%;
}

.super-container.flex {
    justify-content: center;
	gap: 15%;
}



.decorazioni {
    width: 30%;
}

.decorazioni img {
    width: 100%;
}

.quick-contact .content-2 {
      z-index: 2;
    box-shadow:none;

}


input[type=text], input[type="email"] , textarea {
  width: 100%;
  padding: 12px 20px;
  margin: 20px 0;
  display: inline-block;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
}

input[type="submit"] {
    margin-top: 15px;
    padding: 12px 17px;

}

/*
input[type="text"] , input[type="email"] , textarea {
    border: 1px solid #dbcdcd;
    border-radius: 10px;
    margin-left: 10%;
} */

textarea {padding: 10px;}

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

.presentazione {
    margin-bottom: 150px;
}
.presentazione .container {
    justify-content: space-between;
}
.cerchio{
    text-align: center;
  width: 450px;
  height: 450px;
  border-radius: 50%; /* the magic */
    background-color: var(--font-chiaro);
    
}


.cerchio img {
    padding-top: 10%;
    width: 80%;
}

.cerchio-2 { 
text-align: center;
  width: 640px;
  height: 640px;
  border-radius: 50%; /* the magic */
    background-color: var(--font-chiaro);
    
}

.cerchio-2 h3 {
    padding-top: 10%;
     color: var(--font-scuro);
    font-size:2rem; 
    font-weight: 700;
}

.cerchio-2 p {
    padding: 5% 10%;
    line-height: 1.5;
    font-size: 1.2rem;
    font-family: var(--leggibile);
    color: var(--font-scuro);
}

.cerchio-2 span {
    font-weight: bold;
}


/*-----------------------------
----------- WEB DESIGN --------
-------------------------------*/

.col a {
    text-decoration: none;
}

.portfolio-titolo .container {
    width: 50%;    

}

.container.alt {
    padding-top: 60px;
}

.portfolio-titolo h2 {
    text-align: center;
    color: var(--font-scuro);
    font-size: 2.5rem;
    font-weight: 400;
}
   

.col {
    width: 45%;
    margin: 0 auto;}

.ultimi-lavori{ margin-top: 80px;}

.ultimi-lavori .flex{ gap:30px; }


.contenuti{ margin-bottom: 50px;}

.img_last-project{
	position: relative;
	margin-bottom: 30px;
	overflow:hidden; /* quanto spazio occupa oggetto nello scorrimento */
	border-radius: 30px;
}

.img_last-project img{
	width: 100%;
	object-fit: cover;
	transition-property: transform;
	transition-duration: 0.5s;
}

/*.img_content{
	position: static;
	bottom: 40px; 
	left: 20px;} */

.img_content {
    padding-bottom: 40px;
}

.img_content h4{
	color: var(--font-scuro);
    font-family: var(--leggibile);
    line-height: 1.2;
    font-size: 1.4rem;
    margin-bottom: 0;
    transition: opacity 0.4s;
}

.img_content p {
    color: purple;
    font-family: var(--leggibile);
    font-weight: bold;  
    transition: transform 0.4s;
    transform: translateY(0);
}

 
.img_last-project img:hover{
	transform: scale(1.1);
}


.img_last-project:hover + .img_content h4,
.img_content:hover h4 {
  opacity: 0;
  pointer-events: none;
}

.img_last-project:hover + .img_content p,
.img_content:hover p {
  transform: translateY(-4rem); /* adjust this value to roughly the height of h4 */
}
/*.img_last-project:before img:hover{  non funziona 
	content: "";
	inset: 0;
	opacity: 0.3;
	pointer-events: none;
	position: absolute;
	z-index: 1;
}
*/



/*--------------------------
---------E-COMMERCE---------
---------------------------- */

.hero-3.flex {
    align-items: center;
}

.hero-title-container {
    width: 50%;
}

.img-container {
  width: 55%;
}
.hero-title-2 {
    font-size: 3.2rem;
    line-height: 1.5;
    color: var(--font-scuro);
    font-weight: 400;
    
}

.img-container img {
    width: 100%;
}

.sfondo-secondario.padding {
    padding-bottom: 25px;
}

.tools {
   /* border-top: 2px solid purple; */
    background: whitesmoke;
}
 
.tools .container.flex {
    align-items: center;
    justify-content: center;
    gap: 20%;
}

.tool-title {
    font-weight: 400;
    font-size: 2rem;
    font-family: var(--leggibile);
    color: grey;
}



.tool-icon {
    padding: 20px;
    font-size: 50px;
}

.dev {
    padding: 20px 0;
    /*width: 30%; */
}



.dev.flex {
    align-items: center;
}

.dev-content {
    padding: 0 25px;
}

.dev-content p {
    font-family: var(--leggibile);
    color: #4f4f4f;
}

.dev-content p:nth-child(1) {
    text-transform: uppercase;
    font-weight: bold;
}

.dev-content p:nth-child(2) {
    font-size: 1rem;
}
.tool-left p {
    font-size: 1.5rem;
    font-weight: bold;
    font-family: var(--leggibile);
    color: #4f4f4f;
}

.design.flex {
    align-items: center;
}
.design img {
    width: 15%;
    height: 15%;
}

.width-2 {
    width: 20%;
}
.width {
    width: 40%;
}
.cards.flex {
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10%;
}
.mockup {
    width: 45%;
}
.spiegazione {
    padding: 200px 0;
}
.mockup img {
    width: 100%;
}

.mockup-content {
    width: 45%;
}

.mockup-content p {
    line-height: 1.5;
    font-size: 1.6rem;
    font-family: var(--leggibile);
    color: var(--font-scuro);
}

.mockup video {
    width: 100%;
}
/*-----------------------------
------------JANE DOE ---------
-------------------------------*/

.img-container.jane {
    padding: 10px;
}
.img-container.jane img {
    width: 75%;
}


/*-----------------------------
------------JANE DOE ---------
-------------------------------*/

.bi-wordpress {
	font-size: 2.3rem;
	color: var(--font-scuro);
}


.visit a {
    text-decoration: none; 
    color: white;
}
/*-----------------------------
------------GRAFICA-----------
-------------------------------*/


/*CAROSELLO*/

.carousel-section {
    padding: 2rem 0;
    margin: 5% 0 7% 0;
}
.carousel-section .container.flex {
    justify-content: center;

}
.carousel {
    width: 100%;
    max-width: 960px;
    aspect-ratio: 16 / 9;
    border-radius: 3px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.2);
}

.carousel:hover .controls {
  opacity: 1;
}

.carousel .controls {
  opacity: 0;
  display: flex;
  position: absolute;
  top: 50%;
  left: 0;
  justify-content: space-between;
  width: 100%;
  z-index: 99999;
  transition: all ease 0.5s;
}

.carousel .control {
  margin: 0 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  width: 40px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.7);
  opacity: 0.5;
  transition: ease 0.3s;
  cursor: pointer;
}

.carousel .control:hover {
  opacity: 1;
}

.carousel .slides {
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  display: flex;
  width: 100%;
  transition: 1s ease-in-out all;
}

.carousel .slide {
  min-width: 100%;
  min-height: 250px;
  height: auto;
}

.portfolio-titolo .containter.alt {
    padding-top: 30px;
}

.grafica.ultimi-lavori {
    margin: 10% 0;
}


/*----------------------------
---------- INTERFACCIA --------
------------------------------ */

.photoshop  {
    width: 15%;
    padding: 0 5px;
}


/*----------------------------
--------- MEDIA QUERY --------
---------- IPAD --------
------------------------------ */


@media(max-width:1024px) {
	 
     .visit {
        margin: 0 auto; 
        display: block;
        padding: 15px 20px;
    }

    /*menù*/
    .account .button, .account.flex {
        display: none;
    }
	
	.menu-toggle span {
    background: var(--font-scuro);
    transition: transform .5s;
    height: 4px;
    width: 40px;
    display: block;
    margin: 10px;
}
    .menu-toggle {
        order: 3;
		display: block;
		margin: 10px;
	}
	
	.menu-toggle span {
        background: var(--font-scuro);
		transition: transform .5s;
	}
	header {position: relative;}
    
    .logo {padding-left: 20px;}
	
	nav {
		position: fixed; /* rispetto a body (viewport)*/
		top: 0;
		left: -100%; /*nascondere, solo far vedere se è cliccato*/
		background: var(--font-scuro);
		height: 100vh;
		width: 50%;
		transition: left .4s;
        z-index: 9999999;
	}
    nav ul {
        padding-top: 25px;
    }
    
    nav ul li a {
        color: #fff;
    }
    nav.open {
		left:0; /*per mostrare*/
	}
	
	ul.menu {
		flex-direction: column;
	}
	
	.menu-toggle.close > span:nth-child(1) {
		transform: translateY(10px) rotate(45deg);
	}
	.menu-toggle.close > span:nth-child(2) {
		opacity: 0;
	}
	.menu-toggle.close > span:nth-child(3) {
    transform: translateY(-17px) rotate(-45deg);
	}
	
	/*hero*/
	
	.hero h1 {
		text-align: center;
		font-size: 4rem;
	}
	
	.hero p {
		padding: 0 10px;
		text-align: center;
	}
	
	.cta .button {
		margin-top: 10px;
    margin-bottom: 10px;
    padding: 10px 20px;
    font-size: 1em;
}
	
	.hero .container.flex {
		flex-direction: column;
		justify-content: center;
	}
	
	.foto {
		width: 100%;
	}
	
	.foto img {
		margin-left: 15%;
    	width: 70%;
	}
	
	.cta {
    text-align: center;
	}
	
	
	/* chi sono + competenze */
	
	.chi-sono .flex {
		flex-direction: column;
	}
	
	.flower-container {
		margin: 60px auto 80px auto;
	}
	
	.sinistra {
		width: 100%;
	}
	.background {
		background: none;
	}
	
	.content {
		box-shadow: none;
	}
	
	.sinistra-content {
    align-content: flex-end;
    /* width: 90%; */
    /* margin-right: 0; */
    padding-left: 10%;
    padding-top: 10%;
}

	
	.sinistra .button {
		margin: 20px 30%;}
	
	.titolo {
		text-align: center;
		font-size: 2.5rem;
		padding-top: 50px;
		padding-bottom: 50px;
	}
	
	
	.background-2 {
		background: none;
	}
	
	.content-2 {
		box-shadow: none;
	}
	
	.content-2 .titolo {
    text-align: center;
	}
	
	/*.container.btn {
	width: 100%;
    margin-top: 10%;
    margin-left: 18%;
} */
	
	.sinistra-content p {
		font-size: 1.5rem;
		line-height: 1.2;
	}
	
	.flower-container {	
    margin: 15% auto 20% auto;
	}
	
	.container.btn {
		width: 30%;
	}
	/* pagina chi sono*/
	
	.presentazione .container.flex {
		display: block;
		text-align: center;
		
	}
	
	.cerchio , .cerchio-2 {
		margin: 0 auto;
		width: 550px;
    	height: 550px;

	}
    
    
    .container.btn {
        flex-direction: column;
    }
    
    .container.btn .button {
        margin-bottom: 20px;
    }
    
    
	
	/*pagina grafica / web */
	.portfolio-titolo .container {
		width: 60%;
	}
	
	.portfolio-titolo h2 {
    text-align: center;
    color: var(--font-scuro);
    font-size: 2.3rem;
    font-weight: 400;
	}
	
	.web {
		margin-top: 5%;
		font-size: 5rem;
	}
    
       
	
	/*recordhero*/
	.img-container {
    display: none;
    }
    
    .hero-3.flex {
    display: block;
        
}
    
    .hero-title-container {
    width: 100%;
    }

    .small {
        font-size: 2.6rem!important;
    }
    .hero-title-2 {
    text-align: center;
    padding-left: 30px;
    padding-right: 30px;
    font-size: 3rem;
    }
    
    .tools .container.flex {
    flex-direction: column;
}
    
    .width-2, .width {
        width: 80%;
    }
    
    .tool-left.width-2 {
    width: auto;
    }
   
    .dev-content p { 
        font-size: 1.2rem;
    }
    
    

    .cards.flex {
    padding: 0 40px;
    display: block;
    }
    
    .mockup-content p {
        font-size: 1.2rem;
    }
    
    
    .spiegazione {
        padding: 60px 0;
    }
    .mockup-content , .mockup{
        width: 100%;
    }
    .social.icon {
        font-size: 25px; 
    }
    
    /*contatti*/
    .super-container .forms {
        width: 40%;
    }
    
    .super-container.flex {
        align-items: center;
    }
    
    .contact-card {
    width: 30%;
    padding: 20px;
    }
    
    .contact-card-container.flex {
    gap: 20px;
}
    .contact-card:nth-child(2) p {
        font-size: 0.9rem;
    }
    
    .photoshop, .design img {
    width: 10%;
}
}

/*----------------------------
--------- MEDIA QUERY --------
---------- SMARTPHONE --------
------------------------------ */
@media(max-width:767px) {
	
    
   
	/* singole pagine progetti web design */ 
    .visit {
        margin: 0 auto; 
        display: block;
        padding: 15px 20px;
    }

    .small {
        font-size: 2.5rem!important;
    }
	/*hero*/
	
	.hero h1 {
		text-align: center;
		font-size: 4rem;
	}
	
	.hero p {
		padding: 0 10px;
		text-align: center;
	}
	
/*	.cta .button {
		margin-top: 10px;
    margin-bottom: 10px;
    padding: 10px 20px;
    font-size: 1em;
} */
	
	.hero .container.flex {
		display: block;
	}
	
	.foto {
		width: 100%;
	}
	
	.foto img {
		margin-left: 15%;
    	width: 70%;
	}
	
	/*mi presento*/
	.chi-sono .flex {
		flex-direction: column;
	}
	
	.flower-container {
		margin: 60px auto 80px auto;
	}
	
	.sinistra {
		width: 100%;
	}
	.background {
		background: none;
	}
	
	.content {
		box-shadow: none;
	}
	
	.sinistra-content {
    align-content: flex-end;
    /* width: 90%; */
    /* margin-right: 0; */
    padding-left: 10%;
    padding-top: 30%;
}
	.sinistra-content p, .sinistra-content h3 {
		text-align: center;
	}
	
	.sinistra .button {
		margin: 20px 30%;}
	
	.titolo {
		text-align: center;
		font-size: 2.5rem;
		padding-top: 50px;
		padding-bottom: 50px;
	}
	
	
	.background-2 {
		background: none;
	}
	
	.content-2 {
		box-shadow: none;
	}
	
	.content-2 .titolo {
    text-align: center;
	}
	.skills .container {
		flex-direction: column;
	}
	.skills .scuro.titolo {
		padding: 0;
		padding-bottom: 10%;
	}
    
    .etichette {
        display: none;
    }
	
	.container.btn {
    
    width: 70%;
    margin-top: 15%;
}
    
    .container.btn button:nth-child(2) {
        font-size: 1rem;
    }
    
     .container.btn button {
        font-size: 1rem;
    }
	
	/*chi sono */
	
	.hero-title{
		font-size: 4rem;
		
	}
	
	.sfondo-secondario .logo p {
		font-size: 1rem;
	}
	
	/*.presentazione .container.flex {
		display: block;
		
	}*/
	
	.cerchio , .cerchio-2 {
		margin: 0 auto;
		width: 350px;
    	height: 350px;

	} 

	
	.cerchio-2 h3 {
		margin-bottom: 0;
		font-size: 1.5rem;
	}
	
	.cerchio-2 p {
    	padding: 5% 13%;
		line-height: 1.6;
    	font-size: 0.7rem;
	
	}
	
	.presentazione {
    	margin-bottom: 20%;
}
	
	/*web design*/
    
    
	
	.portfolio-titolo h2 {
    	font-size: 2rem;
		line-height: 1.4; 
	}
	
	.portfolio-titolo .container {
		width: 80%;
	}
	
	.ultimi-lavori .container {
		flex-direction: column;

	}
	.ultimi-lavori .col {
		width: 80%;
	}
	
	.web {
		margin-top: 8%;
		font-size: 3.5rem;
	}
    
    .photoshop , .design img {
    width: 20%!important;
}
	
	/*contatti */
	
	.contact-card-container{
		flex-direction: column;
	}
	
	.contact-card {
		margin: 0 auto;
		width: 90%;
		padding: 40px 20px;
	}
	
	.contact {
		padding-bottom: 0;
	}
	
	.quick-contact {
		margin-top: 0;
	}
	
	.quick-contact .scuro.titolo {
		padding-right: 0;
		padding-left: 0;
	}
	
	.super-container {
		flex-direction: column;
	}
	
	.super-container .forms {
		width: 80%!important;
		margin: 0 auto;
	}
	
	.decorazioni {
		width: 50%;
		margin: 0 auto;
	}
    
}

