@font-face {
    font-family: "LaguSansBold";
    src: url("assets/font/LaguSansBold.otf") format("opentype");
}
@font-face {
    font-family: "Bahnscrift";
    src: url("assets/font/bahnschrift.ttf") format("truetype");
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;

    min-height: 100vh;

    background: radial-gradient(
        circle at top,
        rgb(30, 55, 85) 0%,
        rgb(12, 25, 43) 55%,
        rgb(3, 7, 14) 100%
    );
    background-color: rgb(0, 0, 0);

    color: rgb(255,255,255);
    font-family: Bahnscrift, sans-serif;
}

button {
    background-color: rgb(12, 25, 43);
    color: inherit;
    font-family: inherit;

    cursor: pointer;
}

button:disabled {
    cursor: default;
}

a {
    color: white;
    text-decoration: none;
}

input {
    color: inherit;
    font-family: inherit;
}

.header-bar {
    position: fixed;
    z-index: 510;

    width: 100%;
    height: 60px;

    padding-left: 24px;
    gap: 16px;

    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;

    background-color: rgba(3, 7, 14, 0.5);  
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.menu-button {
    width: 40px;
    height: 40px;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 0;

    border: 1px solid transparent;
    border-radius: 50%;

    background-color: rgba(12, 25, 43, 0);
}

.menu-button svg {
    width: 36px;
    height: 36px;

    stroke: white;
    stroke-width: 2;
    stroke-linecap: round;
}

.menu-button:hover {
    background-color: rgba(48, 96, 155, 0.25);
}

.title {
    padding-top: 2px;

    color: white;
    text-decoration: none;
    font-size: 29px;
    font-weight: bold;
    font-stretch: semi-condensed;

    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}


.main-menu {
    position: fixed;
    z-index: 511;

    left: 0;
    padding-left: 24px;
    gap: 16px;

    width: min(450px, 100%);
    height: 100%;

    display: flex;
    flex-direction: column;

    box-sizing: border-box;

    background-color: rgb(2, 7, 12, 1);

    transform: translateX(-100%);
    transition: transform 0.3s ease;
}

.main-menu.open {
    transform: translateX(0);
}

.menu-header {
    top: 0;

    height: 72px;
    width: 100%;

    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
}

.menu-title {
    padding-top: 3px;

    font-size: 36px;
    font-weight: bold;
    font-stretch: semi-condensed;

    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.menu-content {
    gap: 24px;

    display: flex;
    flex-direction: column;

    font-size: 24px;
}

.exit-menu {
    width: 50px;
    height: 50px;

    margin-left: auto;
    margin-right: 24px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 1px solid transparent;
    border-radius: 50%;

    background-color: rgb(2, 7, 12, 0);
}

.exit-menu svg {
    width: 36px;
    height: 36px;

    stroke: white;
    stroke-width: 2;
    stroke-linecap: round;
}

.exit-menu:hover {
    background-color: rgba(40, 81, 123, 0.25);
}

.main-body {
    padding-top: 60px;
    padding-bottom: 60px;
}

.section {
    padding-top: 60px;

    display: flex;
    flex-direction: row;
    flex-wrap: wrap;

    justify-content: center;

    gap: 300px;
}

.projects {
    display: flex;
    flex-direction: column;

    justify-content: flex-start;

    gap: 16px;
}

.socials {
    display: flex;
    flex-direction: column;

    justify-content: flex-start;

    gap: 16px;
}

.section-title {
    font-size: clamp(32px, 4vw, 60px);
    font-weight: bold;
    font-stretch: semi-condensed;

    text-align: center;
}

.section-choice {
    width: clamp(300px, 70vw, 500px);
    height: 120px;
    flex-shrink: 0;

    padding-left: 10px;
    gap: 12px;

    display: flex;
    align-items: center;
    justify-content: left;

    border: 2px solid rgba(100, 130, 155, 0.45);
    border-radius: 12px;

    background-color: transparent;

}

.section-choice:hover {
    border-color: rgba(160, 200, 225, 0.9);
    box-shadow: 0 0 8px rgba(120, 180, 220, 0.2);
}

.section-choice img {
    width: 96px;
    height: 96px;

    border: 0.5px solid rgba(100, 130, 155, 0.45);
    border-radius: 8px;
}

.section-choice-s1 {
    width: clamp(300px, 70vw, 500px);
    height: 120px;
    flex-shrink: 0;

    padding-left: 10px;
    gap: 12px;

    display: flex;
    align-items: center;
    justify-content: left;

    border: 2px solid rgba(100, 130, 155, 0.45);
    border-radius: 12px;

    background-color: transparent;

}

.section-choice-s1:hover {
    border-color: rgba(160, 200, 225, 0.9);
    box-shadow: 0 0 8px rgba(120, 180, 220, 0.2);
}

.section-choice-s1 img {
    width: 96px;
    height: 96px;

    object-fit: cover;

    border: 0.5px solid rgba(100, 130, 155, 0.45);
    border-radius: 8px;
}


.section-info {
    gap: 2px;

    display: flex;
    flex-direction: column;
    
    text-align: left;
}

.section-name {
    font-size: 24px;
    font-weight: bold;
}

.section-description {
    color: rgb(160, 160, 160);
    font-size: 14px;
}