/*
Source - https://stackoverflow.com/a
Posted by Mr_Green, modified by community. See post 'Timeline' for change history
Retrieved 2025-11-20, License - CC BY-SA 4.0
*/

#parent{
    width: 100%;
    height: 100%;
    overflow: hidden;
}

#child{
    width: 100%;
    height: 100%;
    overflow-y: scroll;
    padding-right: 17px; /* Increase/decrease this value for cross-browser compatibility */
    box-sizing: content-box; /* So the width will be 100% + 17px */
}
@import url('https://fonts.googleapis.com/css2?family=Quicksand:wght@300..700&display=swap');

i {
  font-size: 24px;
  color: #fff;
}
i:hover {
  scale: 95%;
  color: #ffffff5e;
}

/* Position globe in top-right */
#lang-container {
    position: absolute;
    top: 20px;
    right: 20px;
    cursor: pointer;
}

/* Globe icon styling */
#lang-icon {
    font-size: 24px;
    color: white; /* change to match your theme */
}

/* Dropdown menu (hidden by default) */
#lang-dropdown {
    display: none;
    position: absolute;
    right: 0;
    margin-top: 8px;
    background: #222;
    border: 1px solid #444;
    border-radius: 6px;
    overflow: hidden;
    z-index: 999;
}

/* Items inside dropdown */
#lang-dropdown div {
    padding: 8px 15px;
    color: white;
    white-space: nowrap;
}

#lang-dropdown div:hover {
    background: #333;
}

[data-key] {
    white-space: pre-line; /* respect \n line breaks */
}

#centre {
    display: flex;
    justify-content: center;
    align-items: center;
}

body {
    margin: 0; /* Remove default body margin */
    height: 100vh; /* Ensure body takes full viewport height */
    display: flex; /* Use flexbox for easier centering of the box */
    justify-content: center; /* Center horizontally */
    align-items: left; /* Center vertically */
    background-color: rgba(18, 27, 85, 1); /* Example background */
    font-family: "Quicksand", sans-serif;
    font-weight: 100;
    margin: 50px;
    color: white;
    text-align: center;
}




.projectcontainer {
    padding: 2px;
    padding-left: 25px;
    padding-right: 25px;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    border-color: #444;
}
