.box-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    padding: 26px;  /* Increased by 10% */
}

.box {
    width: 264px;  /* Increased by 10% */
    height: 349px;  /* Increased by 10% */
    background-color: #fff;
    border: 4px solid #ddd;  /* Doubled border width */
    margin: 26px;  /* Increased by 10% */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    font-size: 53px;  /* Increased by 10% */
    font-weight: bold;
    padding: 26px;  /* Increased by 10% */
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);  /* Adjusted shadow */
}

.box img {
    max-width: 100%;
    height: 211px;  /* Increased by 10% */
    object-fit: cover;
    margin-bottom: 26px;  /* Increased by 10% */
}

.wedding-gowns-container {
    max-width: 3168px;  /* Increased by 10% */
    margin: 0 auto;
    padding: 0 26px 26px;  /* Removed top padding */
}

.gowns-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(317px, 1fr));
    gap: 53px;
}

.gown-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #fff;  
    border-radius: 21px;
    padding: 26px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease-in-out;
}

.gown-box:hover {
    transform: translateY(-15px);
}

.gown-image {
    width: 100%;
    height: 300px;
    max-width: 264px;
    border-radius: 15px;
    object-fit: cover;
}

.gown-title {
    margin-top: 21px;
    font-family: 'Vivaldi', cursive;
    font-size: 32px;
    font-weight: normal;
    text-align: center;
    color: #333;
}

@font-face {
    font-family: 'Vivaldi';
    src: url('../fonts/Vivaldi.ttf') format('truetype');
    /* Make sure to adjust the path to where your Vivaldi font file is located */
}

@font-face {
    font-family: 'Lucida Handwriting';
    src: url('../fonts/Lucida Handwriting.ttf') format('truetype');
    /* Make sure to adjust the path to where your Lucida Handwriting font file is located */
}

@font-face {
    font-family: 'lAndalus';
    src: url('../fonts/lAndalus.ttf') format('truetype');
    /* Make sure to adjust the path to where your lAndalus font file is located */
}

@font-face {
    font-family: 'Fairwater Script';
    src: url('../fonts/FairwaterScript.woff2') format('woff2'),
         url('../fonts/FairwaterScript.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

.wedding-gowns-header {
    font-family: 'Vivaldi', cursive;
    font-size: 4rem;
    color: #333;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
}

.gown-description {
    font-family: 'Fairwater Script', cursive;
    font-size: 12px;  
    font-style: italic; 
    color: #666;
    text-align: center;
    margin-top: 15px;
    line-height: 1.6;
    font-weight: normal;
}