* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background-color: #f0f0f0;
    font-family: Arial;
}

.split {
    height: 100vh;
    width: 50vw;
    position: absolute;
    top: 0;
    padding-top: 20px;
    background-color: #cb1919;
}

.left {
    left: 0;
}

.right {
    right: 0;
}

.centered {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.centered img {
    width: 27vw;
}

.centered button {
    width: 27vw;
    height: 5vh;
    background: #c01717;
    color: #fff;
    font-size: 1vh;
    opacity: 0.5;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    box-shadow: 5px 2px 4px rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}


.centered button:hover {
    opacity: 1;
    transform: scale(1.2);
}

.centered button a {
    color: white;
    text-decoration: none;
}

.opening {
    background-color: #cb1919;
    width: auto;
    height: 100vh;
}

/*
.split {
    height: 100vh;
    width: 50vw;
    position: fixed;
    top: 0;
    padding-top: 20px;
    background-color: #c01717;
}

.links {
    left: 0;
}

.rechts {
    right: 0;
}


.midden {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.rechts img {
    position: absolute;
    right: 250px;
    top: 280px;
}

.img {
    width: 30vw;
    float: right;
}

.links button {
    width: 430px;
    position: absolute;
    left: 50vw;
    top: 50vh;
    background: #c01717;
    color: #fff;
    opacity: 0.5;
    border: none;
    border-radius: 10px;
    padding: 10px 20px;
    cursor: pointer;
    box-shadow: 5px 2px 4px rgba(0, 0, 0, 0.5);
}

.links button:hover {
    opacity: 1;
    transform: scale(1.2);
}

.links button a {
    color: white;
    text-decoration: none;
}
*/

.nav {
    background-color: #cb1919;
    position: sticky;
    top: 0%;
    overflow: hidden;
}

.nav a {
    float: left;
    display: block;
    color: #f2f2f2;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
    font-size: 17px;
    opacity: 0.5;
}

.nav .nav-link,
.nav a:hover {
    background-color: #c01717;
    color: white;
    opacity: 1;
    border-radius: 7px;
    font-weight: bold;
}


.imgnav {
    float: right;
    width: 5vw;
}

/* links nav */
nav {
    float: left;
    position: sticky;
    width: 30%;
    top: 50px;
    background: #EBE9E9;
    padding: 20px;
    border-radius: 10%;
}

.bar {
    color: rgb(46, 46, 46);
    text-decoration: none;
    font-size: 50px;
}

article {
    float: right;
    padding: 20px;
    width: 70%;
    background-color: #ffffff;
}

section::after {
    content: "";
    display: table;
    clear: both;
}

footer {
    background-color: #b5b4b4;
    padding: 10px;
    text-align: center;
    color: white;
}

article{
    font-size: 30px;
}