* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: Verdana, sans-serif;
    font-size: large;
    background-color: whitesmoke;
}

a {
    color: #003F87;
}

#main {
    display: flex;
    max-height: 40vh;
}

#main>nav {
    flex: 1;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
}

.contact-info {
    grid-column: 1 / -1;
    text-align: center;
    margin-top: 20px;
    font-weight: bold;
}

.link {
    margin: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    height: 100%;
    border: 2px solid #ccc;
    cursor: pointer;
    border-radius: 5px;
}

#main .link:hover {
    border-color: #003F87;
    box-shadow: #62a4d9 0 0 10px;
}

.link.angular {
    background-color: #1976D2;
}

.link.react {
    background-color: white;
}

.link.linkedin {
    background-color: #0077b5;
}

.link.linkedin a {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    width: 100%;
    height: 100%;
}

.link.linkedin svg {
    max-width: 8vw;
    height: auto;
    display: block;
    margin: auto;
}

.link.linkedin .text {
    color: white;
    font-size: 1.5vw;
    margin-top: 10px;
    font-weight: bold;
}

.link img {
    max-width: 20vw;
}

#main>left,
#main>aside {
    flex: 0 0 15vw;
}

#main>left {
    order: -1;
}

header {
    text-align: center;
}

header img {
    height: 10vh;
}

header,
footer,
nav,
left,
aside {
    padding: 1em;
}

header {
    max-height: 30vh;
}

footer {
    position: absolute;
    padding-left: 10px;
    left: 0;
    right: 0;
    bottom: 0;
    font-size: 14px;
}

/* CSS for Language Switcher */
#lang-switcher {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 1000;
}

#lang-switcher button {
    background-color: transparent;
    border: 1px solid #333;
    color: #333;
    padding: 5px 10px;
    cursor: pointer;
    font-size: 14px;
    opacity: 0.7;
    transition: opacity 0.3s, background 0.3s;
    margin-left: 5px;
}

#lang-switcher button:hover {
    opacity: 1;
    background-color: rgba(0, 0, 0, 0.1);
}

#lang-switcher button.active {
    opacity: 1;
    background-color: #333;
    color: white;
    font-weight: bold;
}