/* General reset and typography */
* {
    /* margin: 0; */
    /* padding: 0; */
    /* box-sizing: border-box; */
    font-family: "Open Sans";
}

/* Complete page container */

.embedded-intern-career-text{
    width: 80%;
    text-align: justify;
    margin-top: 8%;
    margin-left: 10%;
    /* margin-bottom: 5%; */
    font-size: 20px;
}


/* Button for apply */

button{
    cursor: pointer;
    padding: 10px 20px;
    border: 1px solid #D52055;
    background: #D52055; 
    color: #fff;
    box-shadow: 0 19px 38px rgba(0, 0, 0, 0.30),
        0 15px 12px rgba(0, 0, 0, 0.22);
    border-radius: 10%;
}

/* Button sub class for Apply */

.embedded-intern-fcc-btn {
    margin-top: 10%;
    background-color: #D52055;
    color: white;
    text-decoration: none;
    border-radius: 10%;
}

/* Button Hovering for Apply */

.embedded-intern-fcc-btn:hover{
    color: white;
} 

/* Back Button with class name */

.embedded-intern-career-text #backButton {
    position: fixed;
    /* top: 500px;  */
    left: 20px;
    display: none; /* Hidden by default  */
    z-index: 1000; /* Ensures it stays on top of other content */
    color: #23458E;
}

/* Responsive for tablet at 768px */
@media screen and (max-width: 768px) {
    .embedded-intern-career-text {
        width: 90%;
        margin-left: 5%;
        font-size: 18px;
        margin-top: 20%;
    }

    /* Adjust button padding and font size */
    button {
        padding: 8px 16px;
        font-size: 16px;
    }

    /* Adjust button subclass for Apply */
    .embedded-intern-fcc-btn {
        margin-top: 8%;
        padding: 8px 16px;
        font-size: 16px;
    }

    /* Adjust back button appearance */
    .embedded-intern-career-text #backButton {
        left: 15px;
        font-size: 18px;
    }
}

/* Responsive for tablet at 430px */
@media screen and (max-width: 430px) {
    .embedded-intern-career-text {
        width: 95%;
        margin-left: 2.5%;
        font-size: 16px;
        /* margin-top: 50%; */
    }

    /* Adjust button padding and font size for small screens */
    button {
        padding: 6px 12px;
        font-size: 14px;
    }

    /* Adjust button subclass for Apply */
    .embedded-intern-fcc-btn {
        margin-top: 6%;
        padding: 6px 12px;
        font-size: 14px;
    }

    /* Adjust back button appearance */
    .embedded-intern-career-text #backButton {
        left: 10px;
        font-size: 16px;
    }
}

/* Mobile Viewport (429px to 360px) */
@media (max-width: 429px) and (min-width: 360px) {
    .embedded-intern-career-text {
        width: 90%;
        /* text-align: justify; */
        margin-top: 20%;
        margin-left: 5%;
        font-size: 18px;
    }

    button {
        padding: 8px 15px;
        font-size: 14px;
    }

    .embedded-intern-fcc-btn {
        margin-top: 5%;
        padding: 8px 15px;
        font-size: 14px;
    }

    .embedded-intern-fcc-btn:hover {
        font-size: 14px;
    }

    /* Adjusting back button visibility and position */
    .embedded-intern-career-text #backButton {
        display: block; /* Make it visible in smaller viewports */
        bottom: 20px; /* Position it near the bottom */
        left: 20px;
    }
}


  