html,
body {
    scroll-behavior: smooth;
    background-color: #212529;
}

.del1,
.del2 {
    width: 50%;
    height: 100%;
}

.blue {
    background-color: blue;

}

.green {
    background-color: green;
}

.red {
    background-color: red;
}


.main1 {
    height: 500px;
    width: 100%;
    background-color: #E5E7E6;
    background-image: url("https://cdn.discordapp.com/attachments/1019536222286258257/1072166288148926464/vipamd_mindre.png");
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
}

#personbild {
    width: 200px;
    height: 200px;
}

#person1 {
    height: 40%;
}


#navbar a {
    color: white !important;
}

#navbar {
    border-bottom: 1px solid black;
}

#main3_bild_parallax {
    background-image: url("https://degig.se/~04jby01/uf/bilder/Norrsken.png");
    height: 600px;


    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

@media only screen and (max-device-width: 1366px) {


    #main3_bild_parallax {


        background-attachment: scroll;


    }


}

#mijön_rubrik {
    color: #cecece;
    font-family: SF Pro Display, SF Pro Icons, Helvetica Neue, Helvetica, Arial, sans-serif;
    line-height: 1;
    font-weight: 600;
    letter-spacing: -0.015em;
    font-size: 96px;
}


.main4 {
    height: 500px;
    width: 100%;
}

.gröntext {
    background-image: linear-gradient(180deg, #2EB62C, #57C84D 10%, #83D475 33%, #ABE098 45%, #C5E8B7 50%, #ABE098 66%, #57C84D);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-size: 100% 300%;
    background-position: 50% 0;
}

p {
    display: block;
    margin-block-start: 1em;
    margin-block-end: 1em;
    margin-inline-start: 0px;
    margin-inline-end: 0px;

}

/* transition: opacity .6s linear,transform .6s cubic-bezier(0.26,0.67,0.48,0.91); */

/* copyed about me */
.about {
    height: 500vh;
    background-color: #212529;
    color: white;
    display: flex;
}

.about-title {
    width: 50%;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 30px;
    margin: 0 !important;
}

.about-pages {
    width: 50%;
}

.about-pages div {
    height: 100vh;
    display: flex;
    flex-direction: column;

    align-items: center;
    color: #fff;
}

.about-pages div>p {
    width: 100%;
    font-size: 18px;
    line-height: 30px;
}

.about-pages div:nth-child(1) {

    background-size: cover;
}

.about-pages div:nth-child(2) {

    background-size: cover;
}

.about-pages div:nth-child(3) {

    background-size: cover;
}

.about-pages div:nth-child(4) {

    background-size: cover;
}

.about-pages div:nth-child(4) {

    background-size: cover;
}



/* // Small devices (landscape phones, 576px and up) */
@media (max-width: 576px) {}

/* // Medium devices (tablets, 768px and up) */
@media (max-width: 768px) {
    .about-title {
        display: none !important;
    }

    .about-pages {
        width: 100%;
    }

    #mijön_rubrik {
        width: 100%;
        font-size: 56px;
    }

    #main3_bild_parallax {
        width: 100%;
        margin-left: 0px !important;
        margin-right: 0px !important;

    }
    #mySidenav a{
        color:  black !important;
    }
    .main4 {
        display: block !important;
    }

    .main5 {
        display: block !important;
    }

    .del1 {
        margin-top: 40px;
        width: 100%;
    }

    .del2 {
        width: 100%;
    }

    .main1 {
        background-size: contain;
    }
}

/* // Large devices (desktops, 992px and up) */
@media (max-width: 992px) {}

/* // Extra large devices (large desktops, 1200px and up) */
@media (max-width: 1200px) {}

@media (min-width: 992px) {}