/*
Theme Name: Divi - Child theme
Theme URI: 
Version: 2.8
Description: Divi - Child 
Author: Aimilia Koufa
Author URI: https://emiliakoufa.com
Template: Divi
*/
/*@import url(../Divi/style.css);*/
/* =Theme customization starts here

------------------------------------------------------- */

:root {
	--dark-red: #7f2020;
}

body {
	background-image: url(https://emiliakoufa.com/wp-content/uploads/2026/05/background-scaled.jpg);
	background-size: contain;
	background-repeat: round;
}

header .logo_container {
    display: none !important; 
}

#main-content {
	min-height: 100vh;
}

.et_pb_section {
	max-width: 100vw;
	overflow: hidden;	
}

.floatingdoll.et_pb_section {
    position: absolute;
    max-width: 35%;
	width: 243px;
	top: 5%;
    right: 7%;
}

@keyframes doll {
	from {
		transform: rotate(0);
	}
	to {
		transform: rotate(360deg);
	}
}

.mobile_menu_bar:before, .mobile_menu_bar:after, #top-menu li.current-menu-ancestor>a, #top-menu li.current-menu-item>a {
    color: var(--dark-red);
}

.mobile_menu_bar:before {
	font-size: 48px;
}

/* Βασικές ρυθμίσεις για το κείμενο */
.handwritten-text {
  line-height: 1.5; /* Αυξημένο κενό για να μην πέφτει η μία γραμμή πάνω στην άλλη λόγω των έντονων transforms */
  word-spacing: 4px; /* Λίγο περισσότερος αέρας ανάμεσα στις λέξεις */
}

/* Μετατρέπουμε τα spans σε inline-block */
.handwritten-text span {
  display: inline-block;
  white-space: pre-wrap;
  transition: transform 0.3s ease;
}

/* --- ΕΝΤΟΝΟ ΧΕΙΡΟΓΡΑΦΟ ΕΦΕ --- */

/* Ομάδα 1: Προς τα πάνω, αριστερά, έντονη αριστερή κλίση και ελαφρώς μικρότερο */
.handwritten-text span:nth-child(4n+1) {
  transform: translateY(-3px) translateX(2px) rotate(-1.5deg);
  margin-right: 5px;
  font-size: 0.98em;
}

/* Ομάδα 2: Προς τα κάτω, δεξιά κλίση και ελαφρώς πιο παχύ (πίεση στυλό) */
.handwritten-text span:nth-child(4n+2) {
  transform: translateY(4px) translateX(-3px) rotate(1.8deg);
  margin-right: 7px;
  font-weight: 500; /* Αν η γραμματοσειρά υποστηρίζει intermediate weights */
}

/* Ομάδα 3: Πιο έντονα πάνω, δεξιά μετατόπιση και ελαφρώς μεγαλύτερο */
.handwritten-text span:nth-child(4n+3) {
  transform: translateY(-4px) translateX(4px) rotate(-1.2deg);
  margin-right: 6px;
  font-size: 1.02em;
}

/* Ομάδα 4: Κάτω, αριστερά, ελάχιστη δεξιά κλίση */
.handwritten-text span:nth-child(4n+4) {
  transform: translateY(3px) translateX(-4px) rotate(1deg);
  margin-right: 8px;
}

.about.et_pb_section {
	padding: 15vw !important;
}

.asset.et_pb_section {
    position: absolute;
}

.asset.et_pb_section.butterfly {
    top: 87%;
    left: 0;
    right: 0;
    margin: auto;
    width: fit-content;
}

.asset.et_pb_section.house {
    top: 40%;
    left: 0;
}

.asset.et_pb_section.doll {
    top: 57%;
    right: 5%;
}

.asset.et_pb_section.bug {
    left: 13%;
    top: 10%;
}

.asset.et_pb_section.bird {
    top: 5%;
    right: 8%;
}

@media all and (max-width: 980px) {
	.project video {
		height: 100%;
		max-height: 100%;
	}
	
	.project .slide-2 img {
		object-fit: cover;
	}
	
	.about.et_pb_section {
		padding: 7vw !important;
	}
	
	
	.asset.et_pb_section.bug {
		left: 2%;
	}
	
	.asset.et_pb_section.butterfly {
    	top: 97%;
	}
}