.info {
    position: absolute;
    bottom: 20px;
    left: 20px;
    max-width: 30%;
    padding: 20px;
    background-color: rgba(0, 0, 0, 0.623);
    color: white;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    z-index: 100;
    align-items: center;
    font-family: "Teko", sans-serif;
    font-size: 24px;
    box-shadow: rgba(0, 0, 0, 0.25) 0px 54px 55px, rgba(0, 0, 0, 0.12) 0px -12px 30px, rgba(0, 0, 0, 0.12) 0px 4px 6px, rgba(0, 0, 0, 0.17) 0px 12px 13px, rgba(0, 0, 0, 0.09) 0px -3px 5px;
}

.info h1 {
    font-size: calc(0.6em + 1vw);
    margin: 0;
}

.info p {
    font-size: calc(0.75em + 0.5vw);
    margin: 0;
}

.info .logo {
    width: clamp(5em, 120vw, 20em);
    max-width: 100%;
    height: auto;
    margin-right: 1em;
    float: left;
}

.email {
    color: lightblue;
    /* or use a hex like #ADD8E6 */
    text-decoration: none;
    /* optional: remove underline */
}

.email:hover {
    text-decoration: underline;
    /* optional: hover effect */
}

.Social {
    z-index: 200;
    left: 20px;
    top: 20px;
}

.SocialIcon {
    color: #FFF;
    font-size: 70px;
    transition: 0.5s;
}

.SocialIcon:hover {
    font-size: 130px;
}


.main-info {
    position: absolute;
    top: 54%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    z-index: 10;
    pointer-events: none;
    width: clamp(150px, 30vw, 300px);
    height: clamp(200px, 60vw, 600px);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    font-family: "Teko", sans-serif;
}


#main-title {
    font-size: clamp(24px, 5vw, 48px);
    margin: 0;
    text-shadow: 0 4px 4px rgba(0, 0, 0, 0.2);
}

#main-desc {
    font-size: 32px;
    margin-bottom: 20px;
    text-shadow: 0 2px 2px rgba(0, 0, 0, 0.2);
}




@keyframes pop-up {
    0% {
        transform: translate(-50%, -50%) scale(0.5);
        opacity: 0;
    }

    100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }
}

.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    /* Responsive width */
    max-width: 600px;
    /* Maximum width */
    background-color: rgba(255, 255, 255, 0.2);
    /* Semi-transparent white background */
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.5);
    /* Optional: Adds some shadow for depth */
    backdrop-filter: blur(10px);
    /* Apply the blur effect */
    opacity: 0;
    animation: pop-up 0.5s forwards;
    /* Apply the pop-up animation */

    font-family: "Teko", sans-serif;
    color: white;
    text-shadow: 2px 4px 4px rgba(46, 91, 173, 0.6);
    font-size: 24px;

}

.modal-content {
    position: relative;
    /* Slightly more opaque to stand out */
    border-radius: 10px;
    /* padding: 20px; */
    text-align: center;
    overflow: hidden;
    /* Ensures content stays within the modal bounds */
}

.close-button {
    position: absolute;
    top: 10px;
    right: 20px;
    color: #ffffff;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.close-button:hover,
.close-button:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

.modal-img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    margin-bottom: 15px;
}

.modal-links {
    margin-top: 15px;
    text-align: center;
}

.modal-link {
    display: inline-block;
    margin: 5px 10px;
    color: #ff6f3c;
    text-decoration: none;
    font-size: 2rem;
    transition: 0.4s;
}

.modal-link:hover {
    text-decoration: underline;
    /* Underline on hover */
    color: #28da9e;
    /* Darker color on hover */
}


.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.85);
    /* Semi-transparent background */
    z-index: 50;
    /* Make sure it appears below the popup but above the rest of the content */
    display: none;
    /* Hidden by default */
    pointer-events: none;
    /* Disables interactions with the overlay */
}


/* Media query for phones */
@media (max-width: 768px) {
    .modal-content {
        padding: 15px;
        max-height: 80vh;
        /* Limit content height to fit within modal */
    }

    .close-button {
        font-size: 24px;
        /* Slightly smaller close button on phones */
    }
}




@media (max-width: 1024px) {
    .modal {
        width: 90%;
        padding: 10px;
        max-width: 1000px;
        font-size: 48px;
        height: 90%;
    }

    .info {
        max-width: 80%;
        /* Adjusts width for tablet landscape mode */
        left: 50%;
        /* Start positioning from the center */
        bottom: 10px;
        /* Adjust padding */
        transform: translateX(-50%);
        /* Center the element horizontally */
        /* Adjust font size */
    }
}

@media (max-width: 768px) {
    .info {
        max-width: 80%;
        /* Takes up more space on tablets */
        left: 10px;
        /* Adjusts position for smaller screens */
        bottom: 10px;
        padding: 10px;
        /* Less padding on smaller screens */
    }

    .info .logo {
        margin-right: 0;
        /* Remove right margin */
        margin-bottom: 1em;
        /* Add space below the logo */
        float: none;
        /* Reset float for smaller screens */
    }
}

@media (max-width: 480px) {


    .info {
        max-width: 90%;
        /* Almost full width on mobile */
        left: 5px;
        /* Further adjust position */
        bottom: 5px;
        padding: 8px;
        /* Smaller padding for mobile */
    }

    .info .logo {
        width: clamp(4em, 25vw, 8em);
        /* Smaller logo size on mobile */
    }
}



/* Samsung S23 Ultra (approximate screen dimensions) */
@media (min-width: 360px) and (min-height: 800px) and (orientation: portrait) {
    .main-info {
        top: 50%;
        height: 50vh;
        width: 400px;
        height: 800px;
    }

    #main-desc {
        height: 60px;
    }

}