/*gallery*/
.text-head{
    font-family: Helvetica Neue;
    font-size: 40px;
    font-weight: 500;
    line-height: 44px;
    letter-spacing: 0em;
    text-align: left;
}
.text-content{
    font-family: Helvetica Neue;
    font-size: 20px;
    font-weight: 400;
    line-height: 24px;
    letter-spacing: 0em;
    text-align: left;
}

.dropdown{
    height: 50px;
    width: 340px;
}
.dropdown:before{
    content: '';
    position: absolute;
    right: 20px;
    top: 17px;
    z-index: 100;
    width: 10px;
    height: 10px;
    border: 2px solid #333;
    border-top: 2px solid #fff;
    border-right: 2px solid #fff;
    transform: rotate(-45deg);
    transition: 0.5s;
    pointer-events: none;
}
.dropdown.active::before{
    top: 20px;
    transform: rotate(-225deg);
}
.dropdown input{
    z-index: 2;
    position: absolute;
    top: 0;
    left: 0;
    width: 340px;
    height: 100%;
    cursor: pointer;
    background: #fff;
    border: none;
    outline: none;
    box-shadow: 0 5px 10px rgba(0,0,0,0.05);
    padding: 12px 16px;
    border-radius: 12px;
}
.dropdown .option{
    position: absolute;
    z-index: 1;
    top: 10px;
    left: 12px;
    width: 340px;
    background: #fff;
    box-shadow: 0 30px 30px rgba(0,0,0,0.05);
    border-radius: 0 0 12px 12px;
    overflow: hidden;
    padding-top: 50px;
    padding-bottom: 10px;
    display: none;
    transition: 0.5s;
}
.dropdown.active .option{
    display: block;
    transition: 0.5s;
}
.dropdown.active  input{
    border-bottom: 2px solid #0075FB;
}
.dropdown .option div{
    padding: 5px 20px;
}
.dropdown .option div:hover{
    cursor: pointer;
}
.dropdown .option div img{
    position: relative;
    margin-right: 15px;
}



/*modal*/
.modal-dialog {
    max-width: 100%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
}

.modal-content {
    width: auto;
    height: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-end;
}

.iframe-wrapper {
    width: 100%; /* Full width */
    height: auto; /* Let content decide the height */
}

.iframe-wrapper iframe {
    height: 605px;
    padding-top: 6px;
}

.modal{
    width: fit-content;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) !important;
}
.modal-header{
    top: 15px;
    right: 15px;
    z-index: 100;
}
.close {
    float: right;
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
    color: #000;
    text-shadow: 0 1px 0 #fff;
    opacity: .6;
    background-color: #AFAFAF;
    border-radius: 50%;
}
.element-item {
    display: none; /* Hidden by default */
    width: 285px;
    height: 285px;
    margin: 12px;
}
.fade {
    opacity: 0;
    transition: opacity .1s ease-in-out;
}
.show {
    display: block;
    opacity: 1;
}


/*scale elements*/
.element-item {
    overflow: hidden; /* Hide overflow to contain scaled image */
}

/* CSS for image scaling effect */
.element-item img {
    transition: transform 0.3s ease-in-out; /* Smooth transition for scaling */
    cursor: pointer; /* Cursor as pointer by default */
}

.element-item:hover img {
    transform: scale(1.05);
}




/*comments*/
#ad-gallery{
    width: 79%;
}



/*DETAILS*/
.text-head-details{
    font-family: Helvetica Neue;
    font-size: 24px;
    font-weight: 500;
    line-height: 28px;
    letter-spacing: 0em;
    text-align: left;
}
.iframe-container {
    background-image: url('public/img/ad_gallery/Macbook Pro 1.svg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    box-shadow: 0 -5px 15px 8px white inset;
    padding-bottom: 40px;
}
.iframe-wrapper {
    position: relative;
    background-image: url('public/img/ad_gallery/Frame 1000004261.svg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    justify-content: center;
    align-items: center;
}

#dynamicIframe {
    border: none;
    padding: 0;
    position: relative;
}
.iframe-wrapper img {
    position: absolute;
    top: 5px;
    right: 5px;
}

#desktopLink {
    color: grey;
}
#mobileLink {
    color: blue;
}