/* -------------------------------------------------------------------------------- */
/* ! Base */
/* -------------------------------------------------------------------------------- */
/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Tipografia */
h1,
h2,
h3,
h4 {
    font-family: "Source Serif 4", serif;
}

body {
    font-family: "Lato", sans-serif;
    font-size: 20px;
    line-height: 1.2;

}




/* ! pagina sezione about me*/


a {
    text-decoration: none;
}

li {
    list-style-type: none;
}

/* Utlity */
.clippy {
    clip-path: circle();
}

.res {
    width: 100%;
    max-width: 400px;
}

.res2 {
    /* width: 100%; */
    max-width: 500px;
}

.container {
    max-width: 1200px;
}


html,
body {
    overflow-x: hidden;
    /* scrooll più morbido chiedere al prof se ho fatto bene  */
    scroll-behavior: smooth;

}

/* Tipografia */

/* Tavolozza colore */
:root {
    --primary: #000000;
    --light: #ffffff;
    --accent: #f36baf;
    --dark: #a581ec;
}

/* Animazioni */
@keyframes openPanel {
    0% {
        transform: scale(0.8);
    }

    100% {
        transform: scale(1);
    }
}

/* -------------------------------------------------------------------------------- */
/* ! Grid per Mobile first */
/* -------------------------------------------------------------------------------- */
/* Grid system */
.grid {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    gap: 10px;
    padding: 10px 20px;
}


/* ! footer about*/
/* FOOTER */
.footer {
    grid-column: 1/9;
}

/* posizione fissa sullo schermo */
.fabs {
    position: fixed;
    right: 20px;
    bottom: 20px;
}

/* footer prima del passaggio del mouse */
.action {
    background: var(--dark);
    height: 50px;
    width: 50px;
    border-radius: 50%;
    box-shadow: 0 5px 7px 0px gray;
    transition: background-color 0.4s ease-in-out;
}

/* icona */
.action i {
    position: absolute;
    color: var(--light);
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    font-size: 25px;
    cursor: pointer;
}

/* footer dopo il passaggio del mouse */
.action:hover {
    background-color: var(--accent);

}

.btn {
    position: absolute;
    height: 35px;
    width: 35px;
    border-radius: 50%;
}

.btn i {
    position: absolute;
    font-size: 18px;
    color: var(--light);
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

.btns {
    position: absolute;
    bottom: 0px;
    margin-bottom: 5px;
    height: 35px;
    width: 35px;
    transition: 0.3s ease-in-out;
    left: 50%;
    transform: translateX(-50%);
    z-index: -1;
}

.btns.open {
    bottom: 50px;
}


/* nav menu */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;

}

.wrapper {
    grid-column: 1/9;
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background: linear-gradient(-135deg, var(--accent), var(--dark));
    clip-path: circle(25px at calc(100% - 45px) 45px);
    transition: all 0.3s ease-in-out;
    z-index: 99;

}

#active:checked~.wrapper {
    clip-path: circle(75%);
}

.menu-btn {
    /* position: absolute; */
    position: fixed;
    z-index: 6;
    right: 20px;
    top: 20px;
    height: 50px;
    width: 50px;
    text-align: center;
    line-height: 50px;
    border-radius: 50%;
    font-size: 20px;
    color: var(--light);
    cursor: pointer;
    background: linear-gradient(-135deg, var(--accent), var(--dark));
    transition: all 0.3s ease-in-out;
    z-index: 100;
}

#active:checked~.menu-btn {
    background: var(--light);
    color: var(--dark);
}

#active:checked~.menu-btn i:before {
    content: "\f00d";
}

.wrapper ul {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    list-style: none;
    text-align: center;
    z-index: 99;
}

.wrapper ul li {
    margin: 15px 0;
}

.wrapper ul li a {
    color: none;
    text-decoration: none;
    font-size: 30px;
    /* font-weight: 500; */
    /* padding: 5px 30px; */
    color: var(--light);
    position: relative;
    line-height: 50px;
    transition: all 0.3s ease;
}

.wrapper ul li a:after {
    position: absolute;
    content: "";
    background: var(--light);
    width: 100%;
    height: 50px;
    left: 0;
    border-radius: 50px;
    transform: scaleY(0);
    z-index: -1;
    transition: transform 0.3s ease;
}

.wrapper ul li a:hover:after {
    transform: scaleY(1);
}

.wrapper ul li a:hover {
    color: var(--dark);
    /* padding: 10px; */
}

input[type="checkbox"] {
    display: none;
}

.content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: -1;
    text-align: center;
    width: 100%;
    color: #202020;
}

/* .content .title {
    font-size: 35px;
   
}

.content p {
    font-size: 30px;
   
} */




/* tasto home  */
/* .mionome {
    padding: 15px;
} */

/* tasto home */
.mionome a {

    background: var(--light);
    opacity: 50%;
    padding: 10px;
    border-radius: 20px;
    color: var(--dark);
    font-weight: 600;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    position: absolute;
    margin: 20px;
    z-index: 99;

}



/* TASTO BACK TO TOP */
.backtotop {
    margin-left: 25px;
    margin-top: 50px;
    font-size: 1.4em;
    transition: all 3s;
    scroll-behavior: smooth;
}


/* PRIVACY POLICY */
footers {
    position: relative;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: var(--light);
    padding: 10px;
    text-align: center;
}

.footers-content {
    display: inline-block;
}

.privacy-policy {
    font-size: 12px;
    color: #666666;
}






/* galleria about me */
.about-wrappers {
    height: 100vh;
}

.about-left {
    background: linear-gradient(-135deg, var(--accent), var(--dark));
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100vh;
}

.about-left-content>div {
    background: var(--dark);
    padding: 4rem 4rem 2.5rem 5rem;
    text-align: center;
}

.about-left-content {
    box-shadow: 0px 0px 18px -1px rgba(0, 0, 0, 0.39);
    -webkit-box-shadow: 0px 0px 18px -1px rgba(0, 0, 0, 0.39);
    -moz-box-shadow: 0px 0px 18px -1px rgba(0, 0, 0, 0.39);
}

.about-img img {
    display: block;
    width: 300px;
}

.about-img {
    width: 200px;
    height: 200px;
    overflow: hidden;
    border-radius: 50%;
    transition: all 0.5s ease-in-out;
}

.about-img {
    width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

.shadow {
    margin-left: auto;
    margin-right: auto;
    border-radius: 50%;
    width: 200px;
    height: 200px;
    position: relative;
    cursor: pointer;
}

.shadow::after {
    content: "";
    position: absolute;
    background: rgba(0, 0, 0, 0.4);
    left: 50%;
    transform: translateX(-50%);
    bottom: -20px;
    height: 7px;
    width: 50px;
    filter: blur(3px);
    -webkit-filter: blur(3px);
    opacity: 0;
    transition: all 0.6s ease;
}

.shadow:hover .about-img {
    transform: translateY(-10px);
}

.shadow:hover::after {
    opacity: 1;
}

.about-left-content h2 {
    font-size: 40px;
    margin: 2.2rem 0 0.6rem 0;
    line-height: 1.2;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--light);
}

.about-left-content h3 {
    text-transform: uppercase;
    /* font-weight: 300; */
    letter-spacing: 5px;
    margin-top: 1.2rem;
    font-size: 20px;
}

.icons {
    background: var(--light);
    display: flex;
    justify-content: center;
    padding: 0.8rem 0;
}

.icons li {
    list-style-type: none;
    background: var(--dark);
    color: var(--light);
    width: 40px;
    height: 40px;
    margin: 0 0.5rem;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.5s ease-in-out;
}

.icons li:hover {
    background: var(--light);
    color: var(--dark);
}

.about-right {
    background: var(--light);
    /* height: 100vh; */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    /* padding: 0 5rem; */
    padding: 20px;
    text-align: center;
    margin-top: 40px
}

.about-right h1 {
    font-size: 7rem;
    text-transform: uppercase;
}

.about-right h1 span {
    color: var(--dark);
}

.about-right h2 {
    font-weight: 600;
}

.about-btns2 {
    display: flex;
    margin: 2rem 0;
    font-family: "Lato", sans-serif;
}

.btn2 {
    border: none;
    font-size: 0.9rem;
    text-transform: uppercase;
    border: 2px solid var(--dark);
    border-radius: 20px;
    padding: 0.55rem 0;
    width: 130px;
    font-weight: 600;
    background: transparent;
    margin: 0 0.5rem;
    cursor: pointer;
}

.btn2.btn2-pink {
    background: var(--dark);
    color: #fff;
    border-color: var(--dark);
    transition: all 0.5s ease-in-out;
    font-family: "Lato", sans-serif;
}

.btn2.btn2-pink:hover {
    background: transparent;
    border-color: var(--dark);
    color: var(--primary);
}

.btn2.btn2-white {
    transition: all 0.5s ease-in-out;
}

.btn2.btn2-white:hover {
    background: var(--dark);
    border-color: var(--dark);
    color: var(--light);
}

.about-para p {
    /* font-weight: 300; */
    padding: 0.5rem;
    /* opacity: 0.8; */
}

.about-left-content>div {
    background: var(--dark);
    padding: 4rem 4rem 2.5rem 5rem;
    text-align: center;
    padding: 15px;
}

/* ! media query medium and large*/

@media (min-width: 768px) {

    /* tasto home */
    .mionome a {

        background: var(--light);
        opacity: 50%;
        padding: 10px;
        border-radius: 20px;
        color: var(--dark);
        font-weight: 600;
        font-size: 20px;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        position: absolute;
        margin: 20px;

    }

    .about-right {
        background: var(--light);
        /* height: 100vh; */
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding: 0 5rem;
        /* padding: 20px; */
        text-align: center;
        margin-top: 40px
    }
}

/* ! media query medium and large*/
/* -------------------------------------------------------------------------------- */
@media screen and (min-width: 768px) and (min-width: 992px) {


    /* immagini galleria foto in laboratorio chimere */
    .about-wrappers {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }

    .about-left {
        position: relative;
    }

    .about-left-content {
        position: absolute;
        right: -50px;
    }




    /* tasto home */
    .mionome a {

        background: var(--light);
        opacity: 50%;
        padding: 10px;
        border-radius: 20px;
        color: var(--dark);
        font-weight: 600;
        font-size: 20px;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        position: absolute;
        margin: 20px;
        /* profondità */
        z-index: 99;

    }

}





/* Responsive styles */
@media (max-width: 768px) {}