/* Variables */
:root{
    --PrimaryColor: rgb(223, 223, 236);
    --PrimarySize: clamp(14px, 3vw, 28px);
    --SecondaryColor: #bcbcd0;
    --SecondarySize: clamp(10px, 2vw, 20px);
    --LinkColor: rgb(101, 119, 255);
    --SmallSize: clamp(7px, 2vw, 14px);
}
/* Body (general) */
html{
    scroll-behavior: smooth !important;
}
body{
    background-color: rgba(56, 56, 56, 0.95);
    
    margin: 0;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;

    font-family: "Arial", "Helvetica", sans-serif;
    font-size: var(--SecondarySize);
}
h1{
    margin: 0;
}
h2{
    color: var(--PrimaryColor);
    margin: 10px 0px;
    font-size: var(--PrimarySize);
}
/* Navigation bar */
nav{
    background-color: rgba(0, 0, 0, 0.9);
    color: white;

    width: 100vw;
    padding: 10px;
    position: fixed;
    top: 0;

    font-size: larger;
}
nav .NavigationButtons{
    padding: 20px 0px 0px 10px;
    
}
nav a{
    text-decoration: none;
    color: var(--LinkColor);
    margin-left: 20px;

    font-size: medium;
}
/* */
main{
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 equal-width columns */
    grid-template-rows: repeat(6, auto); /* 6 rows */
}
/* Sections */
section{
    padding: 20px;
    color: var(--SecondaryColor);
}
.spaced{
    padding-top: 14%;
}
section.double{
    grid-column: span 2;
}
.Caption{
    margin-top: 10px;
    font-size: var(--SmallSize);
    text-align: center;
    font-style: italic;
}
img{

    max-width: 28vw;
    max-height: 60vh;
    display: block;
    margin-left: auto;
    margin-right: auto;
}
.coloured{
    background-color: rgba(56, 56, 56, 0.95);
}
/* Footer */
footer{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    align-content: center;
    align-items: center;

    color: var(--SecondaryColor);
}
footer .left{
    display: flex;
    flex-direction: column; /* Stack elements vertically */
    align-items: flex-start; /* Align all child elements to the right */
}
footer .right{
    display: flex;
    flex-direction: column; /* Stack elements vertically */
    align-items: flex-end; /* Align all child elements to the right */
}
a{
    color: var(--LinkColor);
}


/*Other*/
.OverWrite{
    all: unset;
}