@font-face {
    font-family: 'Raleway';
    src: url("../assets/fonts/raleway/Raleway-VariableFont_wght.ttf");;
}
@font-face {
    font-family: 'Paytone One';
    src: url("../assets/fonts/paytone_one/PaytoneOne-Regular.ttf");
}
@font-face {
    font-family: "Bungee";
    src: url("../assets/fonts/bungee/Bungee-Regular.ttf");;
}

.font-bungee {
    font-family: "Bungee";
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Raleway';
    font-weight: 500;
}

h1, h2, h3 {
    font-family: "Paytone One";
}
h4, h5, h6 {
    font-weight: 800;
}
h4 {
    font-size: 1.7rem !important;
}

a {
    color: #DFDFDF;
    text-decoration: none;
    transition: all .25s;
}
a:hover {
    color: #A374FF;
}

p {
    font-size: 1.2rem;
}

body, body > div {
    overflow-x: hidden;
}

picture {
    width: auto;
}

nav > div {
    column-gap: 1rem !important;
    row-gap: 1rem !important;
}

.fit-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.negative-margin {
    margin-top: -2rem;
}

#exit-button {
    position: fixed;
    z-index: 1000;
    top: 1.5rem;
    right: 1.5rem;
    width: 4rem;
    height: 4rem;
    display: none;
    border-radius: .7rem !important;
    padding-inline: 2rem;
    padding-bottom: 1.5rem;
    padding-top: .5rem;
}

.underline {
    border-bottom: solid .75rem #A374FF;
    border-radius: .75rem;
}

.fade {
    opacity: 0;
    animation-name: fade;
    animation-duration: 1s;
    animation-delay: 0s;
    animation-iteration-count: 1;
    animation-fill-mode: forwards;
}

.home-button {
    aspect-ratio: 1;
    max-width: 5rem;
}

@keyframes fade {
    from {opacity: 0;}
    to {opacity: 1;}
}

@media only screen and (min-width: 600px) {
    p {
        font-size: 1.6rem;
    }
}

@media only screen and (min-width: 992px) {
    .two-columns {
        column-count: 2;
        column-gap: 2.5rem;
    }
}

@media only screen and (min-width: 1141px) {
    .semi-circle img {
        margin-inline: -10vw !important;
    }
}

@media only screen and (min-width: 1200px) {
    h1, .limit-width {
        max-width: 85%;
    }
}

/* 
    jag har tagit delar av "blob-koden" från internet, 
    men självklart förstår jag allting, 
    jag skulle inte bara kopiera in en massa kod och hoppas på det bästa 
*/
#blob {
    background-color: white;
    width: 35vw;
    height: 35vw;
    position: fixed;
    left: 50%;
    top: 50%;
    translate: -50% -50%;
    border-radius: 50%;
    background: linear-gradient(
        to right,
        rgb(16, 187, 130),
        rgb(79, 31, 175)
    );
    animation: rotate 15s infinite;
    z-index: -1 !important;
    filter: blur(7vw);
}
#blob-blur {
    height: 100%;
    width: 100%;
    position: fixed;
    backdrop-filter: blur(3vw);
    z-index: -1 !important;
}
@keyframes rotate {
    from {rotate: 0deg;}
    50% {scale: 1 1.5;}
    to {rotate: 360deg;}
}