*, *::before, *::after {
    box-sizing: border-box;
}

html {
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    background-color: rgb(204, 218, 241);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
}


header {
    position: relative;
    background: rgb(161, 184, 224);
    padding: 40px 15px 15px;
}

h1 {
    margin: 0;
}

h1 a {
    text-decoration: none;
}

h1 a:hover {
    color: rgb(14, 79, 171);
    text-decoration: none;
}

.main-title {
    font-size: clamp(24px, 5vw, 40px);
    color: rgb(229, 227, 238);
    font-weight: 700;
}

.sub-title {
    font-size: clamp(14px, 3vw, 25px);
    margin-left: 10px;
    color: rgb(48, 47, 91);
}


ul.links {
    position: absolute;
    top: 10px;
    right: 15px;
    padding: 0;
    margin: 0;
    list-style-type: none;
    display: flex;
    flex-wrap: wrap;
    gap: 8px 20px;
}

ul.links a {
    color: rgb(33, 37, 82);
    text-decoration: none;
    font-size: clamp(13px, 2vw, 15px);
    font-weight: 600;
}

ul.links a:hover {
    color: rgb(14, 79, 171);
    text-decoration: underline;
}


.nav-section {
    padding: 8px;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px;
}

.nav-section div {
    background: transparent;
    width: auto;
    margin: 0;
    display: flex;
}

.nav-button {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    background: rgb(204, 218, 241);
    color: #000;
    width: clamp(110px, 18vw, 150px);
    min-height: 48px;
    padding: 6px 8px;
    font-size: clamp(12px, 2vw, 16px);
    text-decoration: none;
    border-right: 1px solid #000;
    border-bottom: 1px solid #000;
    border-radius: 5px;
    text-align: center;
}

.nav-button:hover {
    background: rgb(48, 47, 91);
    color: #fff;
}


h3 {
    color: rgb(6, 7, 16);
    font-size: clamp(18px, 3vw, 26px);
}

.model-section {
    background: white;
    max-width: 900px;
    padding: 1.25rem;
    margin: 1rem auto 0;
    color: rgb(8, 6, 16);
    font-size: clamp(15px, 1.2vw, 18px);
    line-height: 1.6;
}

.model-section p {
    color: rgb(8, 6, 16);
    font-size: clamp(15px, 1.2vw, 18px);
}

.model-section a {
    color: rgb(14, 79, 171);
}


footer {
    background: rgb(161, 184, 224);
    color: rgb(33, 37, 82);
    padding: 14px;
    font-size: clamp(12px, 1.2vw, 15px);
    line-height: 1.5;
    text-align: center;
}


@media (max-width: 640px) {
    header {
        padding-top: 56px;
    }

    ul.links {
        justify-content: flex-end;
    }

    .model-section img {
        max-width: 100% !important;
    }
}
