/* 
SUMMARY: 

Global CSS properties. This file will be referenced in all HTML files.

DEV INFO:

For developer information, see 'nanoens-web/documentation/dev.txt' file.

NOTES:

Global CSS file, this code will be applied to all HTML files.

Last Updated: 06/10/2025

*/

/* CODE */

/* Set margin and padding to 0 body content. */
body {
    margin: 0; 
    padding: 0;
}

/* Global font set to Arial */
* {
    font-family: Arial;
    color: white;
}

/* Menu/Header/Footer */

.menu, header, footer, .attributions {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    background-color: rgb(47, 48, 56);
}

header {
    position: sticky;
    top: 0;
    left: 0;
}

.menu {
    margin: 15px;
    gap: 2vw;
}

.menu-link {
    text-decoration: none;
    color: white;
    font-size: 24px;
    font-weight: bold;
    text-align: center;
    position: relative;
    padding: 10px;
    transition: color 0.3s ease; /* Add this line */
    cursor: pointer;
}

.menu-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 4px; /* thickness of the underline */
  border-radius: 4px;
  background-color: currentColor; /* uses the text color */
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.menu-link:hover::after {
  width: 100%;
  color: #0095ff;
}

.menu-link:hover {
    color: #0095ff;
}

.logo {
    position: sticky;
    /* Force logo to remain in top left corner. */
    top: 0;
    right: 95%; /* Increase this value to add space from the right, decrease to add space from the left. */
    width: 64px;
    height: 64px;
}

footer {
    bottom: 0;
}

footer p{
    color: white;
}

a {
    transition: color 0.3s ease;
}

a:hover {
    color: #0095ff;
}

/* Buttons and UI */

.transparent-btn {
    width: 256px;
    height: 64px;
    font-size: 32px;
    font-weight: bold;
    color: white;
    background-color: transparent;
    border-radius: 15px;
    border: 2px solid white;
    transition: background-color 0.3s ease, border 0.3s ease;
    cursor: pointer;
}

.transparent-btn:hover {
    background-color: #0095ff;
    border: 2px solid #0095ff;
}

.transparent-text-input {
    border: 2px solid white;
    border-radius: 10px;
    font-size: 18px;
    background-color: transparent;
    text-align: center;
    padding: 1%;
}

.attributions {
    flex-direction: column;
    width: 100vw;
}
.attributions p {   
    font-size: 12px;
}

@media (max-width: 575.98px) {
    /* Styles for extra small devices (portrait phones) */
}

@media (min-width: 576px) and (max-width: 767.98px) {
    /* Styles for small phones */
}

@media (min-width: 768px) and (max-width: 991.98px) {
    /* Styles for tablets */
}

@media (min-width: 992px) and (max-width: 1199.98px) {
    /* Styles for laptops and small desktops */
}

@media (min-width: 1200px) and (max-width: 1399.98px) {
    /* Styles for desktops */

}

@media (min-width: 1400px) {
    /* Styles for large desktops and 4K monitors */

}
