@font-face {
    font-family: 'Made Mirage';
    src: url('fonts/made-mirage/made-mirage-regular.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Made Mirage Thin';
    src: url('fonts/made-mirage/made-mirage-thin.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

body {
    display: flex;
    flex-direction: column; /* Ensure vertical layout */
    justify-content: space-between; /* Space between elements */
    min-height: 100vh;
    background-color: #1a1a1a;
    overflow-y: auto; /* Allow vertical scrolling */
    padding: 40px; /* Add some padding */
    font-family: 'Made Mirage', 'sans-serif'; /* Ensure the body uses Made Mirage font */
}

/* Text styles */
.title {
    color: white;
    margin: 20px 0; /* Added margin around the title */
    position: absolute; /* Positioning title */
    top: 20px; /* Distance from top */
    left: 50px; /* Distance from left */
}

.title h1, .title h2 {
    font-family: 'Made Mirage', 'sans-serif';
    margin: 0;
}

.title h1 {
    font-size: 40px;
    opacity: 0.6;
}

.title h2 {
    font-size: 30px;
    opacity: 0.4;
}

/* Updated Container for boxes */
.container {
    display: flex;
    flex-wrap: wrap; /* Allow wrapping of boxes */
    justify-content: center; /* Center align the boxes */
    align-items: flex-start; /* Align items at the top */
    flex-grow: 1; /* Allow the container to grow */
    margin-top: 120px; /* Move the entire container down */
    max-width: 800px;
    margin-left: auto;  /* Centers container horizontally */
    margin-right: auto; /* Centers container horizontally */
}

/* Box styles */
.box {
    width: 240px; /* Set box width */
    height: 320px; /* Set box height */
    border-radius: 8px;
    background: #450303; /* Box color */
    display: flex;
    justify-content: center;
    align-items: center;
    color: rgb(198, 198, 198);
    font-size: 18px;
    line-height: 1.5;
    border: 10px solid rgba(0, 0, 0, 0.1);
    cursor: pointer;
    margin: 10px; /* 10px margin around each box for spacing */
    padding: 10px; /* Padding inside the box */
    box-sizing: border-box; /* Include padding in height and width */
    transition: transform 0.3s, box-shadow 0.3s; /* Smooth transition on hover */
}

/* Change on hover */
.box:hover {
    transform: scale(1.05); /* Slightly scale the box */
}


/* Paragraph styling */
.inspiration {
    color: white;
    margin-top: 50px;
    font-family: 'Made Mirage', 'sans-serif'; 
    font-size: 15px; 
    line-height: 1.5; 
    text-align: left;
    max-width: 600px;
    margin-left: 50px;
    opacity: 0.5;
}

.back-link {
    position: absolute;
    top: 50px;
    right: 50px;
    color: rgb(171, 171, 171);
    text-decoration: none;
    font-family: 'Made Mirage', 'sans-serif';
    transition: color 0.3s;
}

.back-link:hover {
    color: #ff9690;
}

/* General Link Styles */
a {
    color: rgb(171, 171, 171);
    text-decoration: none;
    transition: color 0.3s;
}

a:hover,
a:active {
    color: #ff9690;
}