/* Emrys Rind - Main Styling */
body {
    background: url('bg1.png') no-repeat center center fixed;
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    font-family: Arial, sans-serif;
    color: #fff;
    text-align: center;
}

.emrysrind-container {
    background: rgba(0, 0, 0, 0.8);
    padding: 2rem;
    border-radius: 10px;
    width: 90%;
    max-width: 800px;
}

/* Emrys Rind - Countdown Timer Styling */
.emrysrind-countdown {
    display: flex;
    justify-content: space-evenly;
    gap: 0.3rem;
    margin-bottom: 2rem;
}

.emrysrind-circle-container {
    position: relative;
    width: 120px;
    height: 120px;
    animation: emrysrindPendulumSwing 2s ease-in-out infinite;
    transform-origin: center center;
}

.emrysrind-circle-svg {
    transform: rotate(-90deg);
    width: 100%;
    height: 100%;
}

.emrysrind-circle-bg,
.emrysrind-circle {
    fill: none;
    stroke-width: 8;
    r: 54;
    cx: 60;
    cy: 60;
}

.emrysrind-circle-bg {
    stroke: #313332;
}

.emrysrind-circle {
    stroke-dasharray: 339;
    stroke-dashoffset: 339;
    transition: stroke-dashoffset 1s linear;
}

#emrysrind-days-path { stroke: #e3be32; }
#emrysrind-hours-path { stroke: #36b0e3; }
#emrysrind-minutes-path { stroke: #75bf44; }
#emrysrind-seconds-path { stroke: #66c5af; }

.emrysrind-circle-label {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #fff;
}

.emrysrind-circle-label span {
    font-size: 1.4rem;
    font-weight: bold;
}

.label {
    font-size: 0.8rem;
    color: #ccc;
}

/* Footer - Emrys Rind */
footer {
    margin-top: 1.5rem;
    color: #999;
    font-size: 0.9rem;
}

/* Emrys Rind - Pendulum Swinging Animation */
@keyframes emrysrindPendulumSwing {
    0%, 100% { transform: rotate(10deg); }
    50% { transform: rotate(-10deg); }
}

/* Emrys Rind - Form Styling with Interactive Shadows and Subtle Opacity */
#emrysrind-form-container {
    width: 100%;
    max-width: 500px;
    margin: 2rem auto;
    padding: 20px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    text-align: center;
    box-shadow: 0px 4px 20px rgba(58, 139, 253, 0.3);
    transition: transform 0.3s, box-shadow 0.3s;
}

#emrysrind-form-container:hover {
    transform: translateY(-5px);
    box-shadow: 0px 8px 30px rgba(58, 139, 253, 0.5);
}

#emrysrind-form-container h2 {
    font-size: 1.8rem;
    color: #fff;
    margin-bottom: 1rem;
}

.form-group {
    margin-bottom: 15px;
    text-align: left;
}

label {
    display: block;
    color: #ccc;
    font-size: 0.9rem;
    margin-bottom: 5px;
}

input, textarea {
    width: 100%;
    padding: 10px;
    background: rgba(51, 51, 51, 0.9);
    color: #fff;
    border: 1px solid #555;
    border-radius: 4px;
    font-size: 1rem;
    transition: box-shadow 0.3s, transform 0.3s;
    outline: none;
}

input:focus, textarea:focus {
    box-shadow: 0px 0px 15px rgba(58, 139, 253, 0.6);
    transform: scale(1.02);
}

button {
    width: 100%;
    padding: 10px;
    background: linear-gradient(90deg, #3a8bfd, #3272ce);
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.3s, box-shadow 0.3s;
}

button:hover {
    background: linear-gradient(90deg, #3272ce, #3a8bfd);
    box-shadow: 0px 4px 15px rgba(58, 139, 253, 0.4);
}

button:active {
    transform: scale(0.98);
    box-shadow: 0px 2px 10px rgba(58, 139, 253, 0.3);
}

/* Facebook Feed Styling */
.fb-feed-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 2rem auto;
    max-width: 500px;
    width: 100%;
    padding: 10px;
    box-sizing: border-box;
    border-radius: 8px;
    background-color: rgba(34, 34, 34, 0.6);
}

.fb-feed-container iframe {
    width: 100%;
    height: 600px;
    border: none;
}
