/* Font Faces */
@font-face {
    font-family: 'Barlow';
    src: url('../fonts/Barlow-Light.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Barlow';
    src: url('../fonts/Barlow-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Adelia';
    src: url('../fonts/adelia.ttf') format('truetype');
}

/* CSS Variables */
:root {
    --accent-color: #dedbd6;
    --primary-color: #333;
    --secondary-color: #555;
    --button-radius: 8px;
    --transition-speed: 0.3s;
    --hover-lift: translateY(-3px);
    --active-press: translateY(1px);
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
@keyframes slideUp {
    from { transform: translateY(20px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}
@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}
@keyframes water-drop-flutter {
    0% { transform: scale(1); filter: brightness(1);}
    20% { transform: scale(1.3); filter: brightness(1.2);}
    40% { transform: scale(0.9); filter: brightness(1.1);}
    60% { transform: scale(1.2); filter: brightness(1.15);}
    80% { transform: scale(0.95); filter: brightness(1.05);}
    100% { transform: scale(1); filter: brightness(1);}
}
@keyframes spin {
    0% { transform: rotate(0deg);}
    100% { transform: rotate(360deg);}
}

/* Base Styles */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    width: 100%;
    overflow-x: hidden;
}

body {
    overflow-y: scroll;
    overflow-x: hidden;
    justify-content: center;
    align-items: center;
    margin: 0;
    color: #333;
    background-color: #fff;
    line-height: 1.6;
    -webkit-text-size-adjust: 100%;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-size: 16px;
    width: 100%;
    box-sizing: border-box;
}

.content-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
    width: 100%;
    overflow-x: hidden;
}

.content {
    margin-top: 100px;
}

/* Typography */
h1 {
    margin: 0;
    transform: translateY(7px);
    font-size: clamp(24px, 3.4vh, 36px);
    font-family: 'Adelia', sans-serif;
    font-weight: normal;
    white-space: nowrap;
    line-height: 1.5;
    position: relative;
    display: inline-block;
    max-width: 100%;
    text-overflow: ellipsis;
}

h1::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 50%;
    background-color: var(--primary-color);
    transition: all 0.5s ease;
    transform: translateX(-50%);
    opacity: 0.7;
}
h1:hover::after {
    width: 70%;
}

h4 {
    margin: 0;
    margin-top: 15px;
    font-size: clamp(18px, 2.4vh, 24px);
    font-family: 'Barlow', sans-serif;
    font-weight: 300;
    letter-spacing: 0.5px;
}

.ufonts {
	text-transform: uppercase;
	font-size: clamp(16px, 1.9vh, 20px);
	font-family: 'Barlow', sans-serif;
	font-weight: 300;
	margin-top: 15px;
	white-space: break-spaces;
	line-height: 1.3;
	overflow-wrap: break-word;
	max-width: 900px;
	margin-left: auto;
	margin-right: auto;
}

p {
    font-size: clamp(16px, 2.3vh, 22px);
    max-width: 900px;
    width: 90%;
    margin: 0 auto 24px auto;
    font-weight: 300;
    font-family: 'Barlow', sans-serif;
    line-height: 1.8;
    letter-spacing: 0.3px;
}

/* Touch interaction styles */
.touch-active {
    opacity: 0.8;
    transform: scale(0.98);
    transition: transform 0.1s ease, opacity 0.1s ease;
}