:root {
    --brand: #B3735C;
    --black: black;
    --base-light: #c38f7c;
    --purple-light: #A293AD;
    --purple-dark: #7566A0;
    --white: white;
}

html {
    box-sizing: border-box;
    font-size: 16px;
    font-family: "Inter", sans-serif;
    color: var(--black);
    scroll-behavior: smooth;
}

*, *:before, *:after {
    box-sizing: inherit;
}

body {
    margin: 0;
    padding: 0;
    position: relative;
    background-image: url("../images/biobackground.png");
    background-size: contain;
    background-position: center;
}

.page-header {
    position: relative;
}

.title-container {
    margin-top: 2%;
    padding-bottom: 150px;
    text-align: center;
    color: var(--white);
    overflow: hidden; 
    align-items: center; 
    gap: 1em;
}

.page-title {
    font-family: "Aboreto", system-ui;
    font-weight: 400;
    font-size: 4rem;
    color: var(--black);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    display: inline;
}

.second-title {
    font-family: "Sacramento", cursive;
    font-weight: 400;
    font-size: 4em;
    color: var(--black);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    display: inline;
}

.flower-bed {
    margin-bottom: 30px;
    z-index: 0;
    border-bottom: 5px solid var(--base-light);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100px;
    pointer-events: none;
}

.flower {
    position: absolute;
    bottom: 0;
    transform-origin: 50% 100%;
    width: 5%;
    animation: sway 15s infinite;
}

.flower1 { left: 5%; }
.flower2 { left: 15%; }
.flower3 { left: 25%; }
.flower4 { left: 35%; }
.flower5 { left: 45%; }
.flower6 { left: 55%; }
.flower7 { left: 65%; }
.flower8 { left: 75%; }
.flower9 { left: 85%; }
.flower10 { left: 95%; }

@keyframes sway {
    0%, 100% { transform: rotate(-6deg); }
    50% { transform: rotate(6deg); }
}

.bee {
    top: 30%;
    margin-top: 200px;
    width: 2%;
    position: absolute;
    transform-origin: 0% 0%; 
    animation: bee-animation 60s ease infinite;
}

@keyframes bee-animation {
    0% { left:50px; transform: rotate(30deg); }
    10% { left:25px; transform: rotate(15deg); }
    12% { top:10px; transform: rotate(45deg); }
    15% { top:400px; transform: rotate(23deg); }
    56% { left:25px; transform: rotate(15deg); }
    10% { left:500px; transform: rotate(180deg); }
    75% { left:25px; transform: rotate(15deg); }
    64% { right:800px; transform: rotate(90deg); }
    30% { right:100px; transform: rotate(15deg); }
    99% { left:600px; transform: rotate(67deg); }
    78% { right:400px; transform: rotate(55deg); }
    85% { right:25px; transform: rotate(15deg); }
    50% { left:300px; transform: rotate(-360deg); }
    100% { left:50px; transform: rotate(30deg); }
}

article {
    position: absolute;
    width: 100%;
}

article:hover {
    transform: scale(1.02);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
    filter: brightness(1.05); 
}

.text-container {
    position: relative;
    padding: 10px;
    text-align: center;
    z-index: 1;
    margin-top: 40%;
}

.text-container2 {
    position: relative;
    text-align: center;
    z-index: 1;
    margin-top: 30%;
}

.about-me,
.experience-my,
.work-my {
    background: linear-gradient(to bottom, var(--brand), rgba(179, 115, 92, 0));
    position: relative;
    margin: auto;
    margin-bottom: 10%;
    width: 50%;
    border-radius: 5%;
}

.about-me h1,
.experience-my h1,
.work-my h1 {
    font-family: "Aboreto", system-ui;
    font-weight: 400;
    font-size: 5em;
    margin-bottom: 0.1em;
}

.about-me h2,
.experience-my h2,
.work-my h2 {
    font-family: "Sacramento", cursive;
    font-weight: 400;
    font-size: 4em;
    margin-top: 0.1em;
}

.about-me p,
.experience-my p,
.work-my p {
    font-family: "Gotu", sans-serif;
    font-weight: 400;
}

.overlay1,
.overlay2,
.overlay3 {
    background-size: cover;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px;
    height: 100vh;
}

.overlay1 {
    background-image: url("../images/Project1.png");
}

.overlay1 img,
.overlay2 img,
.overlay3 img {
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    object-fit: contain;
}

.overlay1 img {
    max-width: 90%;
    max-height: 40%;
}

.overlay2 {
    background-image: url("../images/Project2.png");
}

.overlay2 img {
    max-width: 20%;
    max-height: 20%;
}

.overlay3 {
    background-image: url("../images/Project3.png");
}

.overlay3 img {
    max-width: 20%;
    max-height: 20%;
}

.dot1, .dot2, .dot3, .dot4, .dot5, .dot6, .dot7 {
    border-radius: 50%;
    margin: 10px;
    height: 20px; 
    width: 20px; 
    animation: pulse 2s infinite;
    position: absolute;
}

@keyframes pulse {
    0% { transform: scale(0.5); }
    50% { transform: scale(1); }
    100% { transform: scale(0.5); }
}

.btn-primary {
    display: inline-block;
    padding: 10px 20px;
    background-color: var(--brand);
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
    z-index: 5;
}

.btn-primary:hover {
    background-color: var(--purple-dark); 
}

.page-footer {
    background-color: var(--base-light);
    padding: 20px;
    margin-top: auto;
    text-align: center;
    font-family: "Gotu", sans-serif;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-images {
    margin-bottom: 10px; 
}

.footer-images a {
    display: inline-block;
    margin: 0 10px; 
}

.footer-images img {
    width: 40px;
    height: auto;
}

.footer-text {
    color: white;
    margin: 5px 0; 
}
