html, body {
    height: 100%;
    margin: 0;
    padding: 0;
}

body {
    background-image: url("images/hospitalphoto.jpg"); /* Background image */
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}



.portal-container {
    position: fixed;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 10px;
    background-color: white;
    padding: 10px 0;
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
    z-index: 1000;
    /* box-shadow: 0 0 10px rgba(0,0,0,0.2); */
}

.icon-container {
    position: relative;
    display: flex;
    align-items: center;
    border: 3px solid #006bb5;
    border-radius: 8px; 
    padding: 10px;       
   /* background-color: #006bb5; */
   
    color: #006bb5;
    padding: 20px;
    border-radius: 10px; 
    width: 60px;
    height: 60px;
    text-decoration: none;
    transition: width 0.3s ease, background-color 0.3s ease;
    overflow: hidden;
    transform-origin: right;
    flex-direction: row-reverse; /* Icon on right, label on left */
    cursor: pointer;
    /* border-color: #006bb5; */
    
}

.icon-container:hover {
    background-color: white;
    width: 200px; /* Expand to show text */
}

.icon {
    font-size: 50px;
    flex-shrink: 0;
}

.label-text {
    font-family: 'Arial', sans-serif;
    font-size: 20px;
    font-weight: 750;       /* boldness */
    color: #006bb5;            /* text color */
    letter-spacing: 0.5px; 
    right: 70px;
    margin-right: 25px;
    white-space: nowrap;
    opacity: 0;
    transition: opacity 0.3s ease;
    white-space: normal;  
}

.icon-container:hover .label-text {
    opacity: 1;
}


.icon-container:active {
    transform: scale(1.05); 
}

.portal-container:hover {
    transform: translateY(-50%) scale(1.05); 
}

