#top {
    /* background-image: url('/components/assets/images/profile/background.jpg?v=9');
    background-size: 100%;
    background-position: cover;
    background-repeat: no-repeat; */
    padding: 75px 10px 60px 10px;
    /* aspect-ratio: 800 / 519; */
    /* background-color: #E9DBC3; */
    position: relative;
    width: 100%;
    overflow: hidden;
    color: white;
}

#top-design-3{
    background-image: url('/components/assets/images/profile/Concept BG Flower V2.png?v=11');
    background-repeat: no-repeat;
    background-position: center top;
    background-size: contain;
    width: 100%;
    aspect-ratio: 2000 / 384;
    position: absolute;
    left: 0;
    top: 0;
    z-index: 1;
    pointer-events: none; 
    width: 100%;
    max-width: 100%; /* prevent from going beyond parent */
    display: block; /* ensure it behaves like a block element */
    box-sizing: border-box;
}

/* @media only screen and (max-width: 500px) {
    #content #top-design-3{
        top: 10%;
    }
    #content-home #top-design-3{
        top: 0;
    }
}
 */

/* .profile-background{
    background-image: url('/components/assets/images/profile/background.jpg?v=9');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center top;
    min-height: 100vh;
    position: relative; 
    z-index: 0;
} */

#top #block{
    display: flex;
    flex-direction: row;
    align-items: center;
}

#top #agent-photo {
    border-radius: 200px;
    height: 100px;
    width: 100px;
    background-image: url('../components/assets/images/profile/agent-photo-frame.png?v=3');
    background-size: cover;
    background-repeat: no-repeat;
    margin: 0px auto;
    overflow: hidden;
    /* padding: 10px; */
    left: 10%;
}

#top #agent-photo img {
    width: 100%;
}

#top #info{
    width: 250px;
}

#top #preferred-name {
    padding-top: 10px;
    font-weight: 500;
    font-size: 16px;
    text-align: center;
    line-height: 19px;
}

#top #agency {
    font-size: 14px;
    text-align: center;
}

#bottom {
    border-top-right-radius: 30px;
    border-top-left-radius: 30px;
    background-color: #F5F5F5;
    z-index: 999;
    position: relative;
    padding: 20px 20px;
    margin-top: -30px;
}

#bottom .first-block {
    padding-top: 0 !important;
}

#bottom #download-video,
#bottom #download-digital-video,
#bottom #e-cert{
    padding-top: 30px;
}
#bottom #awards{
    padding-top: 0px;
}
#bottom #download-video .title2,
#bottom #download-digital-video .title2,
#bottom #awards .title2,
#bottom #e-cert .title2 {
    font-family: "Montserrat";
    font-weight: 500;
    font-size: 14px;
    color: black;
    padding-left: 0px;
    line-height: 1;
    padding: 10px 0px;
}

/* @media only screen and (min-width: 500px) {
    #bottom #awards .title2,
    #bottom #e-cert .title2 {
        padding-left: 50px;
        font-size: 30px;
    }
} */

#bottom #awards .list,
#bottom #e-cert .list {
    display: grid;
    /* grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 15px; */
}

#bottom #download-video .list,
#bottom #download-digital-video .list {
    display: flex;
    justify-content: center; /* center .block horizontally */
}
  
#bottom #download-video .block,
#bottom #download-digital-video .block {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px; /* now this will control spacing between each image */
}

#bottom #awards .list .block{
    position: relative;
    aspect-ratio: 500 / 174;
    overflow: hidden;
    margin: 5px 0px;
    padding: 10px 10px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

#bottom #e-cert .list .block  {
    position: relative;
    aspect-ratio: 500 / 174;
    overflow: hidden;
    /* margin: 15px 25px; */
    padding: 10px 10px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}
/* 
@media only screen and (min-width: 500px) {
    #bottom #awards .list .block{
        margin: 15px 50px;
    }
    #bottom #e-cert .list .block  {
        margin: 15px 50px;
    }
} */

#bottom #awards .list .block .label,
#bottom #e-cert .list .block .label {
    font-weight: 400;
    font-size: 12px;
    padding: 8px 8px;
    /* padding: 25px 25px; */
    /* display: grid;
    align-items: center; */
    text-transform: uppercase;
    /* height: 100%; */
    color: white;
    text-shadow: 1px 1px 2px grey;
    text-align: center;
    word-wrap: break-word;
    overflow: hidden;
    width: 100%; /* or use max-width instead */
    max-width: 600px; /* optional */
    margin: 0 auto; 
}

#bottom #awards .list .block-padding,
#bottom #e-cert .list .block-padding{
    padding-top: 0px;
}

@media only screen and (min-width: 500px) {
    #bottom #awards .list .block .label,
    #bottom #e-cert .list .block .label {
        font-size: 13px;
        font-weight: 500;
        width: 70%;
        /* max-width: 600px; */
    }
    #bottom #awards .list .block-padding,
    #bottom #e-cert .list .block-padding{
        padding-top: 0px;
    }
}

@media only screen and (min-width: 1024px) {
    #bottom #awards .list .block .label,
    #bottom #e-cert .list .block .label  {
        font-size: 13px;
        font-weight: 500;
        width: 70%;
    }
    #bottom #awards .list .block-padding,
    #bottom #e-cert .list .block-padding{
        padding-top: 0px;
    }

}

#bottom #awards .list .block .label.black,
#bottom #e-cert .list .block .label.black {
    color: black;
    text-shadow: none;
}

