
.body, html { 
    height: 100vh;
    margin: 0; 
    padding: 0;
    scroll-behavior: smooth;
}

.standard_text_container { 
    /* 1. Essential for rounded corners and image overflow */
    overflow: hidden; 
    border-radius: 8px;
    
    /* 2. Responsive Sizing */
    width: 100%; 
    min-height: 400px; /* Allows the box to grow if text is long on iPhone */
    
    /* 3. Base Mobile Styles (Padding is 20px for iPhones) */
    padding: 20px; 
    display: flex;
    flex-direction: column;
    box-sizing: border-box; 
    
    /* 4. Visual styling */
    border: 1px solid rgb(236, 221, 221);
    box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
    background-color: white;
    font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
    text-align: justify;
    font-size: large;
    font-weight: normal;
    margin: 0;
}

/* DESKTOP ONLY: Only triggers on screens wider than 721px */
@media (min-width: 721px) {
    .standard_text_container {
        padding: 60px; /* Large padding for desktops */
        height: 400px; /* Fixed height for a uniform desktop grid */
    }
}

/* 5. ADD THIS to target the image directly */
.standard_text_container img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* This makes the image envelop the space without distorting */
    display: block;
}

.event_scroll_container { 
    /* 1. Calculate height: Full Screen (100vh) minus the Header/Title space (~180px) */
    height: calc(100vh - 180px); 
    
    /* 2. Ensure scrolling is enabled */
    overflow-y: auto;
    
    /* 3. Layout */
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    
    /* 4. Positioning: Remove the top margin to pull it up */
    margin-top: 10px; 
    padding: 0 60px 40px 60px; 
    
    background-color: transparent;
}

.team_info_container { 
    box-shadow: 2px;
    border-radius: 8px;
    border: 1px solid rgb(236, 221, 221);
    box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
    margin-left: auto;
    margin-right:auto;
    background-color: white;
    font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
    text-align: center;
    font-weight: normal;
    height: 350px;
    width: 300px;
    font-size: small;
}

.profile_image { 
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    margin-top: 20px;
    margin-bottom: 10px;
}

.profile_heading { 
    font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
    padding: 20px;
    text-align: left;
    font-size: x-large;
    color: black;
}

.profile_heading_image { 
    width: 350px;
    height: 400px;
    border: 1px solid rgb(236, 221, 221);
    box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    object-fit: cover;
}

.event_scroll_container { 
    height: 70vh;
    overflow-y: auto;
    padding: 10px; 
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px; 
    align-items: start; 
}

.sign_up_layout_wrapping {
    align-items: center;
    height: 80vh; 
    margin-left: 30px;
    margin-right: 30px;
    display: flex;
    justify-content: center;
}

.sign_up_container { 
    border: 1px solid rgb(236, 221, 221);
    box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
    display: flex;
    background-color: black;
    font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
    text-align: justify;
    font-size: large;
    font-weight: normal;
    padding: 60px;
    height: 80vh;
}

.submit_button { 
    border: 2px solid;
    border-color: rgb( rgb(3, 100, 3));
    border-radius: 8px;
    background-color: white;
    font-size: medium;
    color: rgb(57, 57, 57);
    height: 200px;
}