@charset "utf-8";
/* CSS Document */
@import url('https://fonts.googleapis.com/css2?family=Engagement&family=Ysabeau+SC&family=Ysabeau+Office&display=swap');
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    background-color: #FCF4E4;
    color: #444;
    -webkit-font-smoothing: antialiased;
    font-family: "Ysabeau Office", sans-serif;
    font-weight: 300;
    font-size: 16px;
    height: auto !important;
    height: 100%;
    /*min-height: 100%;*/
    text-rendering: optimizeLegibility;
    text-transform: none !important;
}
body.websites-bg {
    background-color: linear-gradient(to bottom, #eaf6ff, #fdf2f7);
    background-attachment: fixed;
    background-size: cover;
    background-repeat: no-repeat;
}
#piccola, #graphics {
    background: linear-gradient(to bottom, azure, #FCE6BD);
}
#crazy {
    background: linear-gradient(to bottom, #fcf4e4, #D0D6B7);
}
#cakes {
    background: linear-gradient(to bottom, #e3fbe9, #ffe2f1);
}
#websites {
    background: linear-gradient(to bottom, #e3fbe9, #FFE2E5);
}
#banner, #about, #buttons, #piccolaitalia {
    position: relative;
    top: 0;
    height: 100%;
    min-height: 350px;
}
#banner {
    background-image: url("../images/banner-bg.jpg");
    background-position: center center;
    background-repeat: no-repeat;
}
#banner h1 {
    font-size: 100px;
    text-align: center;
    position: relative;
    top: 175px;
    color: #70a2a9;
}
a, a:link, a:visited {
    color: #70a2a9;
    text-decoration: none;
}
a:hover, a:active {
    text-decoration: underline;
}
h1, h2, h3 {
    font-family: "Engagement", cursive;
    color: #70a2a9;
}
img {
    border-radius: 10px;
}
.btn {
    margin-top: 10px;
    background-color: #192d41;
    display: inline-block;
    padding: 10px 15px;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s ease;
}
.btn:hover {
    background-color: #70a2a9;
    color: #192d41;
}
.about-image img {
    display: block;
    vertical-align: top;
}
section #content-area {
    min-height: 400px !important;
}
header {
    position: fixed;
    top: 0;
    z-index: 9999;
    background-color: rgb(140, 193, 193);
    border-bottom: 1px solid rgba(0, 0, 0, .15);
    display: flex;
    flex-direction: row;
    text-align: center;
}
header > div#logo {
    line-height: 70px;
    position: relative;
}
header > .menuDown {
    box-shadow: 0 3px 5px rgba(0, 0, 0, .15);
}
header > .menuUp {
    box-shadow: none;
}
header > div#logo > h1 {
    color: white;
    font-weight: 300;
    text-transform: lowercase;
}
header > div#logo > div#navToggle {
    background-color: rgba(0, 0, 0, .15);
    position: absolute;
    right: 0;
    top: 0;
    transition: 300ms all ease;
}
header > div#logo > div#navToggle:hover {
    background-color: rgba(0, 0, 0, .1);
}
header > div#logo > div#navToggle > a {
    color: rgba(255, 255, 255, .85);
    display: block;
    font-size: 0.85em;
    font-weight: 600;
    padding: 0 2.5rem;
    text-decoration: none;
    transition: 300ms all ease;
}
header > div#logo > div#navToggle:hover > a {
    color: rgba(255, 255, 255, 1);
}
header > nav {
    background-color: white;
    display: none;
    flex: 1;
    transform: 300ms all ease;
    font-family: "Ysabeau SC", "Ysabeau Office", sans-serif;
}
header nav > ul {
    list-style-type: none;
}
header nav > ul > li {
    border-bottom: 1px dotted rgba(140, 193, 193, .5);
    position: relative;
}
header nav > ul > li:last-of-type {
    border-bottom: none;
}
header nav > ul > li > a {
    display: block;
    color: #70a2a9;
    font-weight: 700;
    font-size: 21px;
    padding: 10px 30px;
    text-decoration: none;
    transition: 250ms all ease;
}
header nav > ul > li > a span.toggle {
    background-color: rgba(0, 0, 0, .05);
    border-radius: 3rem;
    color: rgb(140, 193, 193);
    font-size: 0.75em;
    font-weight: 500;
    padding: 2px 8px;
    text-transform: lowercase;
}
header nav > ul > li > a span.caret {
    display: none;
}
header > nav > ul > li:hover > a {
    color: #70a2a9;
}
header > nav > ul > li > nav {
    background-color: rgba(153, 154, 158, 1.00);
    border-radius: 1.5em;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .6);
    display: none;
    overflow: hidden;
    position: absolute;
    right: 5%;
    width: 90%;
    z-index: 100;
}
header > nav > ul > li > nav > ul > li > a {
    width: 350px;
    color: rgba(255, 255, 255, .85);
    transition: 300ms all ease;
}
header > nav > ul > li > nav > ul > li:hover > a {
    background-color: rgba(0, 0, 0, .6);
    color: rgba(255, 255, 255, 1);
}
header > nav > ul > li > nav > ul > li > ul > li > a {
    margin-left: 50px;
}
@media all and (min-width: 600px) {
    header > div#logo > div#navToggle {
        display: none;
    }
    header {
        background-color: white;
        flex-direction: row;
        line-height: 90px;
        padding: 0 3rem;
        position: fixed;
        text-align: left;
        width: 100%;
    }
    header > div#logo {
        background-color: transparent;
        line-height: 90px;
    }
    header > div#logo > h1 {
        color: #70a2a9;
    }
    header > nav {
        background-color: transparent;
        display: block;
    }
    header > nav > ul {
        display: flex;
        flex-flow: row wrap;
        justify-content: flex-start;
    }
    header nav > ul > li {
        border-bottom: none;
    }
    header nav > ul > li > a {
        padding: 10px 30px;
    }
    header nav > ul > li > a span.toggle {
        display: none;
    }
    header nav > ul > li > a span.caret {
        border-bottom: 4px solid transparent;
        border-top: 4px solid rgba(0, 0, 0, .65);
        border-right: 4px solid transparent;
        border-left: 4px solid transparent;
        border-radius: 1px;
        content: "";
        display: inline-block;
        height: 0;
        margin: 0 0 0 .25rem;
        transition: 250ms all ease;
        width: 0;
        vertical-align: middle;
    }
    header nav > ul > li:hover > a span.caret {
        border-top-color: rgb(140, 193, 193);
        transform: rotate(270deg);
    }
    header > nav > ul > li:hover > nav {
        background-color: rgb(51, 51, 51);
        border-radius: .25em;
        box-shadow: 0 2px 8px rgba(0, 0, 0, .6);
        display: block;
        line-height: 3em;
        right: -50%;
        width: 196px;
    }
}
#butterfly {
    transform: rotateZ(-30deg) rotate3d(0, 1, 0, 0deg) scale3d(0.5, 0.5, 0.5);
    transform-origin: 51% 50%;
    left: 0px;
    top: 25px;
    width: 400px;
    height: 110px;
    transform-style: preserve-3d;
    margin-top: 15px;
    /*Fly in a loop below*/
    /*animation-name: butterflyani;
animation-duration: 5s;
animation-iteration-count: infinite;
animation-timing-function: linear;*/
}
.wing {
    transform: rotateX(30deg) translate3d(-200px, 0px, 0px) rotate3d(0, 1, 0, 160deg);
    transform-origin: top right;
    position: absolute;
    left: 200px;
    top: 0px;
    width: 200px;
    height: 350px;
    background: url("../images/butterfly-new-400.png") no-repeat;
    animation-name: rightwingani;
    animation-duration: 0.6s;
    animation-delay: 2s;
    animation-iteration-count: 4;
    animation-timing-function: ease-out;
}
#butterfly .left {
    transform: rotateX(30deg) rotate3d(0, 1, 0, 0deg);
    animation-name: leftwingani;
    left: 0px;
    top: 0px;
}
@keyframes rightwingani {
    from {
        transform: rotateX(30deg) translate3d(-200px, 0px, 0px) rotate3d(0, 1, 0, 160deg);
    }
    50% {
        transform: rotateX(30deg) translate3d(-200px, 0px, 0px) rotate3d(0, 1, 0, 100deg);
    }
    to {
        transform: rotateX(30deg) translate3d(-200px, 0px, 0px) rotate3d(0, 1, 0, 160deg);
    }
}
@keyframes leftwingani {
    from {
        transform: rotateX(30deg) rotate3d(0, 1, 0, 0deg);
    }
    50% {
        transform: rotateX(30deg) rotate3d(0, 1, 0, 80deg);
    }
    to {
        transform: rotateX(30deg) rotate3d(0, 1, 0, 00deg);
    }
}
/*Fly in a loop keyframes below*/
/*@keyframes butterflyani {
	from {
		transform: rotate3d(0, 1, 0, 0deg) scale3d(0.5, 0.5, 0.5) translate3d(-300px, 350px, 0px);
	}
	25% {
		transform: rotate3d(0, 1, 0, -90deg) scale3d(0.5, 0.5, 0.5) translate3d(-300px, 350px, 0px);
	}
	50% {
		transform: rotate3d(0, 1, 0, -180deg) scale3d(0.5, 0.5, 0.5) translate3d(-300px, 350px, 0px);
	}
	75% {
		transform: rotate3d(0, 1, 0, -270deg) scale3d(0.5, 0.5, 0.5) translate3d(-300px, 350px, 0px);
	}
	to{
		transform: rotate3d(0, 1, 0, -360deg) scale3d(0.5, 0.5, 0.5) translate3d(-300px, 350px, 0px);
	}
}*/
footer {
    text-align: center;
    background-color: #70a2a9;
    color: white;
    font-size: 20px;
    height: 50px;
    line-height: 2.5em;
}
#logo h1 {
    margin-top: -60px;
    position: relative;
    top: -60px;
}
#about p, #buttons p {
    padding-left: 0px;
    padding-right: 100px;
    max-width: 800px;
    margin: 0 auto;
}
@media (max-width: 600px) {
    #about p, #buttons p {
        padding-left: 20px;
        padding-right: 20px;
    }
}
#piccola-text .column {
    max-width: 500px;
    margin: 0 auto 30px;
    padding: 0 20px;
    text-align: justify;
}
/*#piccola-text {
    background-color: azure;
}*/
.content-wrapper {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 30px 30px;
    gap: 60px;
    text-align: justify;
}
.about-text, .portfolio-text, .piccola-text {
    max-width: 600px;
    text-align: left;
    font-size: 1.2em;
    line-height: 1.6;
}
.portfolio-text {
    max-width: 90%;
}
.me-img, .about-image, .piccola-img, .crazy-img, .cakes-img {
    max-width: 400px;
    width: 100%;
    height: auto;
    border-radius: 12px;
}
.me-img {
    max-width: 250px !important;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}
.piccola-img, .cakes-img, .crazy-img {
    margin: 30px 35px;
}
/*.project-img {
    background-image: url("../images/bg-desktop.png");
    width: 475px;
    height: 375px;
    background-size: contain;
    background-repeat: no-repeat;
}
.project-img {
    padding: 15px;
    text-align: center;
}*/
.bg-keyboard, .bg-wall {
    background-image: url('../images/bg-keyboard-mouse-t.jpg');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    padding: 60px 0;
}
.bg-wall {
    background-image: url('../images/bg-wall-t2-wfont.jpg');
    background-size: contain;
    background-position: top center;
}
.with-bg-color {
    background-color: #f7e8e8;
}
.content-wrapper, .bg-keyboard .with-bg-color {
    min-height: 300px;
}
#web-links, #graphic-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
    padding-bottom: 350px;
}
#graphic-links {
    padding-bottom: 50px;
    margin-top: 175px;
}
.website-item, .graphic-item {
    max-width: 300px;
    text-align: center;
}
.website-item img, .graphic-item img {
    width: 100%;
    height: auto;
    display: block;
    max-width: 300px;
}
.website-item figcaption, .graphic-item figcaption {
    font-weight: bold;
    font-size: 18px;
    margin-top: 10px;
    color: #70a2a9;
    letter-spacing: 0.3px;
}
.graphic-item figcaption {
    color: #192d41;
}
.graphic-item img {
    max-width: 200px;
}
.contact-form-section {
    width: 80%;
    margin: 0 auto;
}
@media (max-width: 768px) {
    .content-wrapper {
        flex-direction: column;
        /*padding: 40px 20px;*/
    }
    .about-image img {
        max-width: 100%;
    }
}
.about-text h1, .portfolio-text h1, .piccola-text h1 {
    font-size: 3em;
    margin-bottom: 1em;
    color: #192d41;
    color: #70a2a9;
    text-align: left;
}
/*.resume .container {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 20px;
}
.resume h1 {
    text-align: center;
}
.resume .contact {
    text-align: center;
    margin-bottom: 30px;
}
.resume section {
    margin-bottom: 40px;
}
.resume ul {
    padding-left: 20px;
}
.resume ul li {
    margin-bottom: 8px;
}*/
/* Resume Page Styling */
.resume h1, .resume h2, .resume h3 {
    color: #70a2a9;
    letter-spacing: 1px;
}
.resume .container,
.contact-form-section {
    background: linear-gradient(to bottom right, #fef6ff, #e3f6f5);
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    padding: 50px;
    max-width: 900px;
    margin: 40px auto;
    text-align: justify;
}
.resume .contact {
    text-align: center;
}
.resume .contact a {
    color: #ff6f91;
    text-decoration: none;
    font-weight: 600;
}
.resume .article-title {
    font-size: 1.4em;
    color: #ff6f91;
    border-bottom: 2px dashed #70a2a9;
    padding-bottom: 5px;
    margin-bottom: 20px;
    text-align: left;
}
.resume ul {
    padding-left: 30px;
}
.resume ul li {
    margin-bottom: 10px;
    font-size: 1.05em;
}
.resume p {
    font-size: 1.1em;
    line-height: 1.6;
    color: #333;
}
.carousel-inner, .carousel, .carousel .item, .carousel-image {
    background-position: top center;
    width: 100%
}
.carousel-image {
    object-fit: cover;
}
.carousel-inner .item.active {
    margin-top: 100px;
}
/*.carousel-inner .item:nth-child(2) .carousel-image {
    object-position: center top;
    margin-top: 100px;
}*/
#quick-links .row {
    margin: 60px 0;
}
#quick-links img {
    width: 450px;
    height: 185px;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background-color: white;
}
#quick-links img:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}
/*#quick-links .btn {
    font-size: 16px;
    padding: 10px 24px;
    transition: background-color 0.3s ease, transform 0.2s ease;
}*/
#quick-links .btn:hover {
    transform: scale(1.05);
    opacity: 0.9;
}
/*.photo-grid1 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 10px;
  padding: 30px;
  justify-content: center;
}

.photo-grid1 img {
  width: 100%;
  height: 250px;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease;
  cursor:pointer;
}

.photo-grid1 img:hover {
  transform: scale(1.03);
}*/
/*.photo-grid2 {
  columns: 3 250px;
  column-gap: 15px;
  padding: 30px;
}

.photo-grid a {
  break-inside: avoid;
  display: inline-block;
  margin-bottom: 15px;
}

.photo-grid img {
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease;
  cursor: pointer;
}
*/
/*.photo-grid img:hover {
  transform: scale(1.03);
}

.lightbox {
  display: none;
  position: fixed;
  z-index: 999;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.85);
  justify-content: center;
  align-items: center;
}

.lightbox:target {
  display: flex;
}

.lightbox img {
  max-width: 90%;
  max-height: 85%;
  border-radius: 8px;
  box-shadow: 0 0 15px rgba(255,255,255,0.2);
}

.lightbox .close {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
}
*/
.photo-grid {
    columns: 3 250px;
    column-gap: 20px;
    padding: 40px 20px;
    max-width: 1200px;
    margin: auto;
}
.photo-grid a {
    break-inside: avoid;
    display: inline-block;
    margin-bottom: 20px;
    transition: transform 0.3s ease;
}
.photo-grid img {
    width: 100%;
    height: auto;
    object-fit: contain;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.12);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}
.photo-grid img:hover {
    transform: scale(1.03);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
}
.lightbox {
    display: none;
    position: fixed;
    z-index: 999;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    justify-content: center;
    align-items: center;
}
.lightbox:target {
    display: flex;
}
.lightbox img {
    max-width: 90%;
    max-height: 85%;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.25);
}
.lightbox .close {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}