@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

/* Custom Tailwind Configuration */
:root {
    --primary-dark: #4b5b5f;
    --light-bg: #dfd8cf;
    --accent-grey: #a4aca7;
    --depth-1: #6c7c84;
    --depth-2: #738484;
    --warm-accent: #e6d9c9;
    --divider-grey: #a4a4a4;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    scroll-behavior: smooth;
}

/* Loader Styles */
#loader {
    transition: opacity 0.8s ease-out, visibility 0.8s ease-out;
}

.loader-content {
    opacity: 0;
    animation: fadeInUp 1s ease-out forwards;
}
    
    #hero {
        padding-top: 4rem !important;
    }

.dna-animation {
    position: relative;
    width: 80px;
    height: 120px;
    margin: 0 auto;
    perspective: 1000px;
}

.dna-helix {
    position: relative;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    animation: rotateDNA 4s linear infinite;
}

.base {
    position: absolute;
    width: 20px;
    height: 8px;
    left: 50%;
    margin-left: -10px;
    background: linear-gradient(45deg, #4b5b5f, #6c7c84);
    border-radius: 4px;
}

.base:nth-child(odd) {
    transform-origin: left center;
    animation: leftBase 4s linear infinite;
}

.base:nth-child(even) {
    transform-origin: right center;
    animation: rightBase 4s linear infinite;
}

.base:nth-child(1) { top: 0%; }
.base:nth-child(2) { top: 14.28%; }
.base:nth-child(3) { top: 28.57%; }
.base:nth-child(4) { top: 42.85%; }
.base:nth-child(5) { top: 57.14%; }
.base:nth-child(6) { top: 71.42%; }
.base:nth-child(7) { top: 85.71%; }
.base:nth-child(8) { top: 100%; }

@keyframes rotateDNA {
    0% { transform: rotateY(0); }
    100% { transform: rotateY(360deg); }
}

@keyframes leftBase {
    0% { transform: rotateZ(30deg) translateX(20px); }
    50% { transform: rotateZ(30deg) translateX(20px) scaleX(0.7); }
    100% { transform: rotateZ(30deg) translateX(20px); }
}

@keyframes rightBase {
    0% { transform: rotateZ(-30deg) translateX(-20px); }
    50% { transform: rotateZ(-30deg) translateX(-20px) scaleX(0.7); }
    100% { transform: rotateZ(-30deg) translateX(-20px); }
}


.loading-bar {
    width: 200px;
    height: 4px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 2px;
    overflow: hidden;
    margin: 0 auto;
}

.loading-progress {
    height: 100%;
    background: linear-gradient(90deg, #4b5b5f, #6c7c84);
    border-radius: 2px;
    animation: loadingProgress 3s ease-in-out infinite;
}

@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* DNA Animation Complete */

@keyframes loadingProgress {
    0% {
        width: 0%;
    }
    50% {
        width: 70%;
    }
    100% {
        width: 100%;
    }
}

/* Glass Navigation */

.glass-navbar {
    background: #4b5b5f !important;
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    padding: 0.5rem 2rem;
    box-shadow: 0 8px 32px rgba(75, 91, 95, 0.1);
    transition: all 0.3s ease;
}

.glass-navbar {
    background: #4b5b5f !important;
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    padding: 0.5rem 0.5rem;
    box-shadow: 0 8px 32px rgba(75, 91, 95, 0.1);
    transition: all 0.3s ease;
}

.glass-navbar:hover {
    background: #4b5b5f !important;
    box-shadow: 0 12px 40px rgba(75, 91, 95, 0.15);
}

.nav-link {
    position: relative;
    color: #ded7ce !important;
    text-decoration: none;
    font-weight: 500;
    padding: 0rem 1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.nav-link::before {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    width: 0;
    height: 2px;
    background: #ded7ce;
    border-radius: 1px;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-link:hover,
.nav-link.active {
    color: #ded7ce !important;
    background: #4b5b5f !important;
}

.nav-link:hover::before,
.nav-link.active::before {
    width: 80%;
}

/* Mobile Menu */
.mobile-menu-content {
    position: fixed;
    top: 0;
    right: -100%;
    height: 100vh;
    width: 80%;
    max-width: 300px;
    background: rgba(223, 216, 207, 0.95);
    backdrop-filter: blur(20px);
    transition: right 0.3s ease;
    padding: 2rem;
    z-index: 40;
}

.mobile-menu-content.active {
    right: 0;
}

.mobile-nav-links {
    margin-top: 4rem;
}

.mobile-nav-link {
    display: block;
    color: var(--primary-dark);
    text-decoration: none;
    font-weight: 500;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(75, 91, 95, 0.1);
    transition: all 0.3s ease;
}

.mobile-nav-link:hover {
    color: var(--depth-1);
    padding-left: 1rem;
}

/* Hero Section */
#hero {
    position: relative;
    background: linear-gradient(135deg, var(--light-bg) 0%, var(--warm-accent) 100%);
}

.molecular-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 20%, rgba(164, 172, 167, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(108, 124, 132, 0.1) 0%, transparent 50%);
    animation: molecularFloat 20s ease-in-out infinite;
}

@keyframes molecularFloat {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(180deg);
    }
}

.hero-content {
    position: relative;
    z-index: 10;
}

.hero-title {
    opacity: 0;
    animation: slideInUp 1s ease-out 0.5s forwards;
}

.hero-subtitle {
    opacity: 0;
    animation: slideInUp 1s ease-out 0.8s forwards;
}

.hero-buttons {
    opacity: 0;
    animation: slideInUp 1s ease-out 1.1s forwards;
}

@keyframes slideInUp {
    0% {
        opacity: 0;
        transform: translateY(50px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Buttons */
.btn-primary {
    display: inline-flex;
    align-items: center;
    background: linear-gradient(135deg, var(--primary-dark), var(--depth-1));
    color: white;
    padding: 1rem 2rem;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(75, 91, 95, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(75, 91, 95, 0.4);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.8);
    color: var(--primary-dark);
    padding: 1rem 2rem;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid rgba(75, 91, 95, 0.2);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 1);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(75, 91, 95, 0.2);
}

/* Floating Pills Animation */
.floating-pill-container {
    position: relative;
    width: 400px;
    height: 400px;
    margin: 0 auto;
}

.floating-pill {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 120px;
    height: 60px;
    background: linear-gradient(45deg, var(--primary-dark), var(--depth-1));
    border-radius: 30px;
    transform: translate(-50%, -50%);
    animation: floatMain 4s ease-in-out infinite;
    box-shadow: 0 10px 30px rgba(75, 91, 95, 0.3);
}

.floating-pill::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    width: 3px;
    height: 100%;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 1.5px;
}

.floating-molecules {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.molecule {
    position: absolute;
    width: 20px;
    height: 20px;
    background: radial-gradient(circle, var(--accent-grey), transparent);
    border-radius: 50%;
    animation: moleculeOrbit 8s linear infinite;
    animation-delay: var(--delay);
}

.molecule:nth-child(1) {
    top: 10%;
    left: 20%;
}

.molecule:nth-child(2) {
    top: 20%;
    right: 10%;
}

.molecule:nth-child(3) {
    bottom: 20%;
    left: 10%;
}

.molecule:nth-child(4) {
    bottom: 10%;
    right: 20%;
}

@keyframes floatMain {
    0%, 100% {
        transform: translate(-50%, -50%) rotate(0deg);
    }
    50% {
        transform: translate(-50%, -60%) rotate(10deg);
    }
}

@keyframes moleculeOrbit {
    0% {
        transform: rotate(0deg) translateX(80px) rotate(0deg);
        opacity: 0.6;
    }
    100% {
        transform: rotate(360deg) translateX(80px) rotate(-360deg);
        opacity: 0.6;
    }
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    animation: scrollBounce 2s ease-in-out infinite;
    z-index: 50;
    pointer-events: auto;
    cursor: pointer;
}

.scroll-arrow {
    width: 24px;
    height: 24px;
    border-right: 2px solid var(--primary-dark);
    border-bottom: 2px solid var(--primary-dark);
    transform: rotate(45deg);
    margin: 0 auto 10px;
}

.scroll-text {
    display: block;
    color: var(--primary-dark);
    font-size: 0.9rem;
    font-weight: 500;
}

@keyframes scrollBounce {
    0%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    50% {
        transform: translateX(-50%) translateY(-10px);
    }
}

/* Glass Cards */
.glass-card {
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 24px;
    box-shadow: 0 8px 32px rgba(75, 91, 95, 0.1);
    transition: all 0.3s ease;
}

.glass-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(75, 91, 95, 0.15);
}

/* Feature Cards */
.feature-card {
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(75, 91, 95, 0.08);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(75, 91, 95, 0.15);
}

.feature-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-dark), var(--depth-1));
    border-radius: 50%;
    margin-bottom: 1.5rem;
    color: white;
    font-size: 2rem;
    box-shadow: 0 4px 15px rgba(75, 91, 95, 0.3);
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1) rotate(5deg);
}

/* Facility Section */
.facility-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 3rem;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 16px;
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}

.facility-item:hover {
    transform: translateX(10px);
    box-shadow: 0 8px 25px rgba(75, 91, 95, 0.1);
}

.facility-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary-dark);
    margin-right: 2rem;
    opacity: 0.7;
}

.facility-features {
    list-style: none;
    margin-top: 1rem;
}

.facility-features li {
    color: var(--depth-2);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
}

.facility-image-container {
    position: relative;
}

.facility-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    box-shadow: 0 10px 30px rgba(75, 91, 95, 0.2);
}

.facility-stats {
    position: absolute;
    bottom: -20px;
    right: -20px;
    display: flex;
    gap: 1rem;
}

.stat-item {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    box-shadow: 0 4px 20px rgba(75, 91, 95, 0.1);
}

.stat-number {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary-dark);
}

.stat-label {
    font-size: 0.9rem;
    color: var(--depth-2);
    font-weight: 500;
}

/* Footer */
.footer-link {
    color: var(--accent-grey);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: white;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    color: var(--accent-grey);
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--accent-grey);
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title span {
        font-size: 2.5rem !important;
        line-height: 1.1;
    }
    
    .hero-subtitle {
        font-size: 1.1rem !important;
        margin-bottom: 2rem !important;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
    }
    
    .hero-buttons .btn-primary,
    .hero-buttons .btn-secondary {
        width: 100%;
        justify-content: center;
        margin: 0;
    }
    
    .floating-pill-container {
        width: 250px;
        height: 250px;
    }
    
    .floating-pill {
        width: 80px;
        height: 40px;
        border-radius: 20px;
    }
    
    .facility-item {
        flex-direction: column;
        text-align: center;
    }
    
    .facility-number {
        margin-bottom: 1rem;
    }
    
    .facility-stats {
        position: static;
        justify-content: center;
        margin-top: 2rem;
    }
    
    .glass-card {
        padding: 1.5rem;
    }
    
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    .glass-navbar {
        padding: 0.75rem 1rem;
        margin: 0 1rem;
    }
    
    .feature-card {
        margin-bottom: 1.5rem;
    }
    
    .stat-item {
        padding: 1.5rem 1rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .hero-title span {
        font-size: 2rem !important;
    }
    
    .hero-subtitle {
        font-size: 1rem !important;
        padding: 0 1rem;
    }
    
    .btn-primary,
    .btn-secondary {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .feature-card {
        padding: 1.5rem;
    }
    
    .glass-navbar {
        margin: 0 0.5rem;
        padding: 0.5rem 1rem;
    }
    
    .mobile-menu-content {
        width: 90%;
        padding: 1rem;
    }
    
    .scroll-indicator {
        bottom: 1rem;
    }
    
    .facility-image img {
        height: 250px;
    }
}

/* Scroll Animations */
.scroll-reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease;
}

.scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Smooth scrolling enhancement */
html {
    scroll-behavior: smooth;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--light-bg);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-dark);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--depth-1);
}

/* Custom hamburger menu color for home page */
.mobile-menu-btn i {
    color: #ded7ce !important;
}

/* DNA Animation Section */
#dna-animation-section {
    padding-top: 50px;
}

.hero-visuals {
    position: relative;
    width: 400px;
    height: 400px;
    margin: 0 auto;
}

.dna-container {
    padding-top: 50px;
    width: 100%;
    height: 100%;
}

.strain {
    width: 155px;
    height: 2px; /* Made slightly thicker */
    background-color: var(--primary-dark); /* FIX: Changed color to be visible */
    position: relative;
    margin: 0px auto;
    margin-top: 28px;
    margin-bottom: 28px;
    animation: rotate-strain 1.7s linear infinite;
}

.strain:before, .strain:after {
    content: "";
    display: block;
    position: absolute;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background-color: var(--depth-1); /* Use theme color */
    margin-top: -8px; /* Adjusted for thicker line */
    animation-duration: 1.7s;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
}

.strain:before {
    left: 0;
    margin-left: -9px;
    animation-name: strain-size-left;
}

.strain:after {
    right: 0;
    margin-right: -9px;
    animation-name: strain-size-right;
}

/* Animation Delays */
.strain:nth-child(1), .strain:nth-child(1):before, .strain:nth-child(1):after { animation-delay: 0.15s; }
.strain:nth-child(2), .strain:nth-child(2):before, .strain:nth-child(2):after { animation-delay: 0.3s; }
.strain:nth-child(3), .strain:nth-child(3):before, .strain:nth-child(3):after { animation-delay: 0.45s; }
.strain:nth-child(4), .strain:nth-child(4):before, .strain:nth-child(4):after { animation-delay: 0.6s; }
.strain:nth-child(5), .strain:nth-child(5):before, .strain:nth-child(5):after { animation-delay: 0.75s; }
.strain:nth-child(6), .strain:nth-child(6):before, .strain:nth-child(6):after { animation-delay: 0.9s; }
.strain:nth-child(7), .strain:nth-child(7):before, .strain:nth-child(7):after { animation-delay: 1.05s; }
.strain:nth-child(8), .strain:nth-child(8):before, .strain:nth-child(8):after { animation-delay: 1.2s; }
.strain:nth-child(9), .strain:nth-child(9):before, .strain:nth-child(9):after { animation-delay: 1.35s; }
.strain:nth-child(10), .strain:nth-child(10):before, .strain:nth-child(10):after { animation-delay: 1.5s; }
.strain:nth-child(11), .strain:nth-child(11):before, .strain:nth-child(11):after { animation-delay: 1.65s; }
.strain:nth-child(12), .strain:nth-child(12):before, .strain:nth-child(12):after { animation-delay: 1.8s; }

/* DNA Keyframes */
@keyframes rotate-strain {
    0% { width: 155px; }
    25% { width: 0; }
    50% { width: 155px; }
    75% { width: 0; }
    100% { width: 155px; }
}

@keyframes strain-size-left {
    0% { transform: scale(1) translateX(0px); }
    25% { transform: scale(0.5); }
    50% { transform: scale(1) translateX(155px); }
    75% { transform: scale(1.5); }
    100% { transform: scale(1) translateX(0px); }
}

@keyframes strain-size-right {
    0% { transform: scale(1) translateX(0px); }
    25% { transform: scale(1.5); }
    50% { transform: scale(1) translateX(-155px); }
    75% { transform: scale(0.5); }
    100% { transform: scale(1) translateX(0px); }
}


/* Responsive Design */
@media (min-width: 1024px) {
  #hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding-top: 0;
  }
  .hero-content {
    flex: 1 1 auto;
    display: flex;
    align-items: center;
    height: 100%;
  }
  #hero .container {
    height: 100%;
    display: flex;
    align-items: center;
  }
}


@media (max-width: 768px) {
    .hero-title span {
        font-size: 2.5rem !important;
        line-height: 1.1;
    }
    
    .hero-subtitle {
        font-size: 1.1rem !important;
        margin-bottom: 2rem !important;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
    }
    
    .hero-buttons .btn-primary,
    .hero-buttons .btn-secondary {
        width: 100%;
        justify-content: center;
        margin: 0;
    }

    /* Responsive DNA Animation */
    .hero-visuals, .dna-container {
        width: 300px;
        height: 300px;
        margin-top: 0; /* Reset margin */
    }
    .strain {
        width: 120px;
        margin-top: 20px;
        margin-bottom: 20px;
    }
    @keyframes rotate-strain {
        0% { width: 120px; } 25% { width: 0; } 50% { width: 120px; } 75% { width: 0; } 100% { width: 120px; }
    }
    @keyframes strain-size-left {
        0% { transform: scale(1) translateX(0px); } 25% { transform: scale(0.5); } 50% { transform: scale(1) translateX(120px); } 75% { transform: scale(1.5); } 100% { transform: scale(1) translateX(0px); }
    }
    @keyframes strain-size-right {
        0% { transform: scale(1) translateX(0px); } 25% { transform: scale(1.5); } 50% { transform: scale(1) translateX(-120px); } 75% { transform: scale(0.5); } 100% { transform: scale(1) translateX(0px); }
    }

    .facility-item {
        flex-direction: column;
        text-align: center;
    }
    
    .facility-number {
        margin-bottom: 1rem;
    }
    
    .facility-stats {
        position: static;
        justify-content: center;
        margin-top: 2rem;
    }
    
    .glass-card {
        padding: 1.5rem;
    }
    
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    .glass-navbar {
        padding: 0.75rem 1rem;
        margin: 0 1rem;
    }
    
    .feature-card {
        margin-bottom: 1.5rem;
    }
    
    .stat-item {
        padding: 1.5rem 1rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .hero-title span {
        font-size: 2rem !important;
    }
    
    .hero-subtitle {
        font-size: 1rem !important;
        padding: 0 1rem;
    }
    
    .btn-primary,
    .btn-secondary {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .feature-card {
        padding: 1.5rem;
    }
    
    .glass-navbar {
        margin: 0 0.5rem;
        padding: 0.5rem 1rem;
    }
    
    .mobile-menu-content {
        width: 90%;
        padding: 1rem;
    }
    
    .scroll-indicator {
        bottom: 1rem;
    }
    
    .facility-image img {
        height: 250px;
    }

    /* Smaller DNA for very small screens */
    .hero-visuals, .dna-container {
        width: 250px;
        height: 250px;
    }
    .strain {
        width: 100px;
        margin-top: 15px;
        margin-bottom: 15px;
    }
    @keyframes rotate-strain {
        0% { width: 100px; } 25% { width: 0; } 50% { width: 100px; } 75% { width: 0; } 100% { width: 100px; }
    }
    @keyframes strain-size-left {
        0% { transform: scale(1) translateX(0px); } 25% { transform: scale(0.5); } 50% { transform: scale(1) translateX(100px); } 75% { transform: scale(1.5); } 100% { transform: scale(1) translateX(0px); }
    }
    @keyframes strain-size-right {
        0% { transform: scale(1) translateX(0px); } 25% { transform: scale(1.5); } 50% { transform: scale(1) translateX(-100px); } 75% { transform: scale(0.5); } 100% { transform: scale(1) translateX(0px); }
    }
}
