@font-face {
    font-family: "Open Sans";
    src: url("./font-family/static/OpenSans-Regular.ttf") format("truetype");
    font-weight: 400;
    font-display: swap;
}
@font-face {
    font-family: "Open Sans";
    src: url("./font-family/static/OpenSans-Bold.ttf") format("truetype");
    font-weight: 700;
    font-display: swap;
}

* {
    margin: 0;
    padding: 0;
    list-style-type: none;
    box-sizing: border-box;
    text-decoration: none;
}
:focus-visible { outline: 2px solid #2ba7e2; outline-offset: 2px; }
/* fluid root size, kept between 14px and 18px */
html {
    font-size: clamp(14px, calc(8px + 0.6vw), 18px);
    scroll-behavior: smooth;
}
body {
    font-family: "Open Sans", Arial, sans-serif;
    color: #1f1f1f;
    background: #fff;
    line-height: 1.5;
}
img { max-width: 100%; height: auto; }
.container {
    max-width: min(90vw, 1400px);
    margin: auto;
}

/* header + hero */
header {
    background: url("./foto/bg.webp") center / cover no-repeat;
}
nav {
    position: relative;
    padding: 0.8rem clamp(1rem, 3vw, 2.5rem);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    background-color: rgb(39, 39, 83);
}
.logo img { width: 3.5rem; display: block; }
nav .links {
    display: flex;
    flex-wrap: wrap;
    gap: clamp(0.8rem, 2vw, 1.8rem);
}
nav .links a {
    color: azure;
    font-size: 1.05rem;
}
nav .links a:hover { color: #7fd3ff; }
.bars {
    display: none;
    background: none;
    border: 0;
    color: aliceblue;
    cursor: pointer;
}
.hero {
    color: aliceblue;
    padding: clamp(3rem, 9vw, 8rem) clamp(1rem, 3vw, 2.5rem) 2rem;
}
.hero h1 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 2rem;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.7);
}
.gallery {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}
.arrow {
    flex: 0 0 auto;
    background: none;
    border: 0;
    cursor: pointer;
}
.arrow img { width: 2.5rem; display: block; }
.photos {
    flex: 1;
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: calc((100% - 4.5rem) / 4);
    gap: 1.5rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    scrollbar-width: none;
}
.photos::-webkit-scrollbar { display: none; }
.photo {
    scroll-snap-align: start;
    font-weight: 700;
    font-size: 1.1rem;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.8);
}
.photo img {
    display: block;
    width: 100%;
    aspect-ratio: 3 / 2;
    object-fit: cover;
    margin-bottom: 0.6rem;
}

/* profile cards */
.title {
    text-align: center;
    padding: 2rem 1rem 1.5rem;
}
.page2 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 0 clamp(0rem, 3vw, 3rem);
}
.page2 img {
    width: 5rem;
    border-radius: 50%;
}
.page2 h3 { font-size: 1.1rem; }
.page2 p { overflow-wrap: anywhere; }
.page2 .left {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2rem;
    padding: 2rem 1rem;
    background-color: aquamarine;
    text-align: center;
}
.page2 .right {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
    align-content: start;
    text-align: center;
}
.right .B {
    background-color: beige;
    padding: 1.5rem 1rem;
}

/* tables */
.subtitle {
    margin: 3rem clamp(0rem, 3vw, 3rem) 1rem;
}
.table-wrap {
    overflow-x: auto;
    margin: 0 clamp(0rem, 3vw, 3rem);
}
table {
    width: 100%;
    border-collapse: collapse;
    text-align: center;
}
caption {
    caption-side: bottom;
    text-align: left;
    font-size: 0.85rem;
    color: #555;
    padding-top: 0.4rem;
}
th, td {
    padding: 0.7rem 0.5rem;
    border: 1px solid #1f1f1f;
}
.cedvel th { background-color: lightblue; font-weight: 400; }
.cedvel th.year { background-color: rgb(43, 167, 226); font-weight: 700; }
.cedvel .L th { background-color: aliceblue; font-weight: 700; }
.cedvel td { background-color: lightblue; }
.cedvel2 th { background-color: rgb(43, 167, 226); font-weight: 400; }
.cedvel2 td { background-color: lightblue; }
.cedvel2 .setir td { background-color: rgb(248, 248, 248); }

/* footer */
.page5 {
    border-top: 2px solid rgb(43, 167, 226);
    margin-top: 3rem;
    color: rgb(43, 167, 226);
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 2rem;
    padding: 2rem clamp(1rem, 3vw, 3rem);
}
.page5 h2 { font-size: 1rem; margin-bottom: 0.5rem; }
.page5 address { font-style: normal; overflow-wrap: anywhere; }
.page5 a { color: rgb(43, 167, 226); }
.page5 a:hover { text-decoration: underline; }
.AA .img { width: 2.5rem; margin-bottom: 0.5rem; }
.icons { display: flex; gap: 0.8rem; }
.icons span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    border-radius: 20%;
    background: rgb(43, 167, 226);
}
.icons img { filter: brightness(0) invert(1); }
.note {
    grid-column: 1 / -1;
    font-size: 0.85rem;
    color: #555;
    border-top: 1px solid #ddd;
    padding-top: 1rem;
}
.note a { text-decoration: underline; }
