@import url('https://fonts.googleapis.com/css2?family=Afacad:ital,wght@0,400..700;1,400..700&family=DM+Sans:ital,opsz,wght@0,9..40,100..1000;1,9..40,100..1000&family=K2D:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800&display=swap');

html, body {
    padding: 0;
    margin: 0;
    background-color: #1e1637;
    font-family: "Afacad";
    color: #c700f6;
    scroll-behavior: smooth;
}

.nav-main {
    background-color: #2b214b;
    display: flex;
    align-content: center;
    align-items: center;
    justify-content: space-around;
    margin: 0.5rem;
    padding: 1rem 2rem;
    border-radius: 10px;
    border-color: #c700f6;
    border-style: solid;
    border-width: 1px;
    position: fixed;
    width: -webkit-fill-available;
    z-index: 2;
    top: 0;
}

a {
    color: #c700f6;
    text-decoration: none;
}

.button {
    padding: 0.5rem 2rem;
    max-width: 2rem;
    margin: 0 1rem;
    border-width: 0 0 1px 0;
    border-style: solid;
    border-color: #c700f600;
    transition: border 0.25s, font 0.25s;
}

.button:hover {
    border-color: #00d1f6;
    border-width: 0 0 2px 0;
    font-weight:700;
}

.main {
    margin: 1rem 0.5rem;
    padding: 1rem;
    background-color: #2b214b;
    min-height: 85vh;
    margin-top: 9rem;
}

.border {
    border-radius: 10px;
    border-color: #c700f6;
    border-style: solid;
    border-width: 1px;
}
ű
.main .news {
    padding: 1rem;
}

.news {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
}
.new-post div h2 {
    transition: color 0.25s;
}

.new-post:hover h2 {
    color: #00d1f6;
}
.new-post div img {
    transition: border 0.25s;
}

.new-post:hover img {
    border-color: #00d1f6;
    border-width: 1.5px;
}
p {
    color: #b5b5b5;
}
.new-post {
    padding: 1rem;
    margin: 1rem 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: background-color 0.5s;
    width: 40%;
}

.new-post:hover {
    background-color: #1e1637;
}

.new-post img {
    max-width: 10rem;
    max-height: 10rem;
    margin: 0 2.5rem;
}

.center {
    display: flex;
    justify-content: center;
    align-items: center;
}

.line {
    background-color: #00d1f6;
    height: 1px;
    border-radius: 16px;
    margin: 1rem 5rem;
}

.video {
    background-color: #1e1637;
    height: 675px;
    margin: 1rem 2rem;
}

.texthold {
    margin: 1rem 3rem;
}

.textcolor {
    color:#b5b5b5;
}

.vignette-holder {
    display: flex;
    align-content: center;
    flex-wrap: wrap;
    justify-content: center;
}

.vignette.backward {
    flex-direction: row-reverse;
    height: 12rem;
}
.vignette {
    background-color: #1e1637;
    height: 7.5rem;
    margin: 1rem 2rem;
    width: 40%;
    display: flex;
    align-items: center;
    padding: 1rem;
    transition: border 0.25s;
}

.vignette:hover{
    border-color:#00d1f6;
}

.vignette img {
    height: 5rem;
    width: 5rem;
}

.distance {
    display: flex;
    justify-content: space-around;
}

img.left {
    max-height: 20vh;
    margin-right: 50vw
}

img.right {
    max-height: 20vh;
    right: 4rem;
    position: absolute;
}

.center img {
    max-width: 1000px; 
}