html{
    box-sizing: border-box;
    height: 100%;
}

*,
*::before,
*::after {
    box-sizing: inherit;
    margin: 0;
    padding: 0;
}

body{
    align-items: center;
    background: #000000;
    background: linear-gradient(120deg, rgba(0, 0, 0, 1) 0%, rgba(25, 25, 133, 1) 99%, rgba(0, 0, 0, 1) 100%);
    display: flex;
    font-family: 'Dosis', sans-serif;
    font-display: swap;
    height: inherit;
    justify-content: center;
}


.button {
   backdrop-filter: blur(5.5px);
   -webkit-backdrop-filter: blur(5.5px);
   background: rgba(255, 255, 255, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    box-shadow: 0 4px 30px rgba(35, 35, 35, 0.1);
    color: #232323;
    flex-basis: 20%;
    font-size: 24px;
    height: 65px;
}
.screen {
    backdrop-filter: blur(5.5px);
    -webkit-backdrop-filter: blur(5.5px);
    background: rgba(255, 255, 255, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    box-shadow: 0 4px 30px rgba(35, 35, 35, 0.1);
    color: #232323;
    font-size: 35px;
    overflow: auto;
    padding: 20px;
    text-align: right;
    width: 326px;
}
.wrapper {
    backdrop-filter: blur(5.5px);
    -webkit-backdrop-filter: blur(5.5px);
    background: rgba(255, 255, 255, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    box-shadow: 0 4px 30px rgba(35, 35,35, 0.1);
    color: #232323;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    background: rgba(255, 255, 255, 0.30);
    border: 1px solid rgba(255, 255, 255, 0.34);
    flex-basis: 400px;
    height: 540px;
    padding: 20px 35px;
    margin: 20px;
}

.button-row {
    display: flex;
    justify-content: space-between;
    margin: 5% 0;
}

.button:last-child {
    backdrop-filter: blur(5.5px);
    -webkit-backdrop-filter: blur(5.5px);
    background: rgba(255, 255, 255, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    box-shadow: 0 4px 30px rgba(35, 35, 35, 0.1);
    color: #fff;
    background: #d72880;
}
.button:last-child:hover {
    background-color: inherit;
    color: inherit;
}
.button:hover {
    background-color: inherit;
}
.button:active {
    background-color: #ffef78;
}
.double {
    flex-basis: 47%;
}
.triple {
    flex-basis: 73%;
}
.navbar {
    position: fixed;
    top: 20px;
    left: 0;
    backdrop-filter: blur(5.5px);
    -webkit-backdrop-filter: blur(5.5px);
    background: rgba(255, 255, 255, 0.10);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    box-shadow: 0 4px 30px rgba(35, 35,35, 0.1);
    color: #232323;
    padding: 10px 20px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}
.navbar-button {
    backdrop-filter: blur(5.5px);
    -webkit-backdrop-filter: blur(5.5px);
    background: rgba(255, 255, 255, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    box-shadow: 0 4px 30px rgba(35, 35,35, 0.1);
    color: #232323;
    font-size: 18px;
    padding: 10px 20px;
}
.navbar-button:hover {
    background-color: inherit;
}
.navbar-button:active {
    background-color: #ffef78;
}
.wrapper.cv {
   backdrop-filter: blur(5.5px);
    -webkit-backdrop-filter: blur(5.5px);
    background: rgba(255, 255, 255, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    box-shadow: 0 4px 30px rgba(35, 35,35, 0.1);
    color: #232323;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    background: rgba(255, 255, 255, 0.30);
    border: 1px solid rgba(255, 255, 255, 0.34);
    flex-basis: 1000px;
    height: 640px;
    padding: 20px 35px;
    overflow-y: auto;
}
.screen.cv {
    backdrop-filter: blur(5.5px);
    -webkit-backdrop-filter: blur(5.5px);
    background: rgba(255, 255, 255, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    box-shadow: 0 4px 30px rgba(35, 35, 35, 0.1);
    color: #232323;
    font-size: 18px;
    overflow: auto;
    padding: 10px 20px;
    text-align: left;
    width: 100%;
    margin: 10px;
}
.screen.cv:hover {
        background-color: inherit;
}
.screen.cv::-webkit-scrollbar {
    width: 8px;
}
.screen.cv::-webkit-scrollbar-track {
    background: transparent;
}
.screen.cv::-webkit-scrollbar-thumb {    background: rgba(255, 255, 255, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    box-shadow: 0 4px 30px rgba(35, 35, 35, 0.1);
}
.screen.cv::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.35);
}

.p {
    margin-bottom: 10px;
}
.profile {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 20px;
    margin-top: 20px;
    align-self: flex-end;
    
}
.logos {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
}
/*
This is just to style the links in the CV page, so that they don't look out of place with the rest of the design.
*/
a { 
    text-decoration: none;
    color: inherit;
    padding: 10px 10px;
    margin: 10px 10px;
}

.wrapper.projects {
    backdrop-filter: blur(5.5px);
    -webkit-backdrop-filter: blur(5.5px);
    background: rgba(255, 255, 255, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    box-shadow: 0 4px 30px rgba(35, 35,35, 0.1);
    color: #232323;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    background: rgba(255, 255, 255, 0.30);
    border: 1px solid rgba(255, 255, 255, 0.34);
    flex-basis: 1000px;
}
.button.projects {
    backdrop-filter: blur(5.5px);
    -webkit-backdrop-filter: blur(5.5px);
    background: rgba(255, 255, 255, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    box-shadow: 0 4px 30px rgba(35, 35, 35, 0.1);
    color: #232323;
    font-size: 18px;
    overflow: auto;
    padding: 10px 20px;
    text-align: left;
    width: 100%;
    margin: 10px;
}
.button.projects:hover {
    background-color: inherit;
}
.button.projects:active {
    background-color: #ffef78;
}
.repo-card {
    position: relative;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);

    background: rgba(255, 255, 255, 0.65);
    border: 1px solid rgba(255, 255, 255, 0.25);

    border-radius: 18px;

    box-shadow: 
        0 10px 30px rgba(0, 0, 0, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.4);

    color: #1f1f1f;
    font-size: 18px;

    padding: 16px 22px;
    margin: 12px 0;

    width: 100%;
    text-align: left;

    overflow: hidden;

    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.repo-card:hover {
    transform: translateY(-5px);
    box-shadow: 
        0 15px 40px rgba(0, 0, 0, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.repo-card::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(
        circle,
        rgba(0, 150, 255, 0.08),
        transparent 60%
    );
    opacity: 0;
    transition: opacity 0.3s ease;
}
.repo-card:hover::before {
    opacity: 1;
}
.repo-card h3 {
    margin: 0 0 6px 0;
    font-size: 20px;
    font-weight: 600;
    letter-spacing: 0.3px;
}
.repo-card a {
    color: #1a73e8;
    text-decoration: none;
    transition: color 0.2s ease;
}

.repo-card a:hover {
    color: #0b57d0;
    text-decoration: underline;
}
.repo-card p {
    margin: 0 0 8px 0;
    font-size: 15px;
    opacity: 0.85;
    line-height: 1.4;
}
.repo-card small {
    font-size: 13px;
    opacity: 0.7;
}
.language-switcher {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(255, 255, 255, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    box-shadow: 0 4px 30px rgba(35, 35,35, 0.1);
    color: #232323;
    font-size: 14px;
    padding: 6px 12px;
    cursor: pointer;
}
.language-switcher:hover {
    background-color: inherit;
}
.language-switcher:active {
    background-color: #ffef78;
}
.language.icon {
    position: absolute;
    top: 12px;
    left: 12px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 8px;
}