:root {
    --my-blue: #060D77;
    --background-colour: #F5F5F5;
    --gray-1: #D8D8D8;
    --gray-2: #636369;
    --gray-3: #1D1D1F;
    --page-border-color: var(--my-blue);
    --content-background: var(--background-colour);
    --text-color-default: var(--gray-3);
    --text-color-name: var(--my-blue);
    --text-color-circling: var(--background-colour);
    --link-color: var(--gray-2);
    --link-hover-color: var(--my-blue);
    --page-border-thickness: 5vw;
    --page-border-min-thickness: 20px;
    --page-border-max-thickness: 60px;
}

@font-face {
    font-family: 'volki';
    src: url('../fonts/volki.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

html { box-sizing: border-box; height: 100%; }
*, *:before, *:after { box-sizing: inherit; }

body {
    font-family: 'Inter', sans-serif;
    font-weight: 900;
    margin: 0;
    height: 100%;
    overflow: hidden;
    background-color: var(--page-border-color); /* Blue background outside the box */
    color: var(--text-color-default);
    position: relative;
}

.content-wrapper {
    display: grid;
    place-items: center;
    background-color: transparent;
    position: absolute;
    top: clamp(var(--page-border-min-thickness), var(--page-border-thickness), var(--page-border-max-thickness));
    left: clamp(var(--page-border-min-thickness), var(--page-border-thickness), var(--page-border-max-thickness));
    right: clamp(var(--page-border-min-thickness), var(--page-border-thickness), var(--page-border-max-thickness));
    bottom: clamp(var(--page-border-min-thickness), var(--page-border-thickness), var(--page-border-max-thickness));
    overflow: hidden;
    padding: 0;
    text-align: center;
    border-radius: 25px;
}

.page-border {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    pointer-events: none;
    z-index: 10;
}

/* === LAYERING & SLIDESHOW STYLES START === */
.slideshow-container,
.content-middle {
    grid-column: 1 / -1;
    grid-row: 1 / -1;
}

.slideshow-container {
    width: 100%;
    height: 100%;
    z-index: 1;
}

.slide {
    display: none;
    width: 100%;
    height: 100%;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    filter: grayscale(100%);
}

.fade {
  animation-name: fade;
  animation-duration: 2s;
}

@keyframes fade {
  from {opacity: .4}
  to {opacity: 1}
}
/* === SLIDESHOW STYLES END === */


.content-middle {
    width: auto; /* Allow the box to size to its content + padding */
    max-width: 90%;
    z-index: 2;
    
    /* New styles for the background box */
    background-color: rgba(245, 245, 245, 0.7); /* Semi-transparent cream */
    padding: 2.5rem 3.5rem; /* Add breathing room around the text */
    border-radius: 15px; /* Add rounded corners */

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.svg-border-text-wrapper {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%; overflow: hidden;
}
#borderSvg {
    display: block; overflow: visible;
}
.circling-text-svg {
    font-family: 'Inter', sans-serif; font-size: calc(clamp(var(--page-border-min-thickness), var(--page-border-thickness), var(--page-border-max-thickness)) * 0.35); font-weight: 400; fill: var(--text-color-circling); text-transform: uppercase;
}

.name { font-family: 'volki', cursive; font-size: clamp(40px, 10vw, 120px); line-height: 1.0; margin: 15px 0 30px 0; color: var(--text-color-name); opacity: 0; animation: fadeInName 2s ease-out 0.5s forwards; text-align: center; }
.name span { display: inline-block; font-family: inherit; }
.name-volki { margin-right: 0.1em; }
.name-design { margin-left: 0.1em; }

@keyframes fadeInName { from { opacity: 0; transform: translateY(15px); } to { opacity: 1; transform: translateY(0); } }

.main-navigation ul { list-style-type: none; padding: 0; margin: 0; }
.main-navigation li { display: inline-block; margin: 0 10px; }
.main-navigation a { font-family: 'Inter', sans-serif; text-decoration: none; color: var(--link-color); font-size: 1.5rem; font-weight: 400; transition: color 1s ease; }
.main-navigation a:hover { color: var(--link-hover-color); }