/*mobile first min-width sets base and content is adapted to computers.*/
@media (min-width: 100px) {


    h1:hover, h2:hover, h3:hover, h4:hover, #project-div:hover * {
        cursor: url('img/circle-cursor.svg'), auto;
    }

    [data-theme="dark"] {
        h1:hover, h2:hover, h3:hover, h4:hover, #project-div:hover * {
            cursor: url('img/circle-cursor-white.svg'), auto;
        }
    }

    #dark-theme-toggle img {
        animation: fadeIn 1s ease-in-out forwards;
        opacity: 0;
        animation-delay: 0s;
    }

    #home-landing-div {
        display: flex;
        flex-direction: row;
    }

    #banner {
        text-align: left;
        font-weight: 300;
        font-size: 53px;
        /*margin-top: 70px;*/
        /*background: #777BB3;*/
    }

    #banner h1 {
        font-family: "Libre Baskerville", serif;
        font-size: 65px;
        margin-left: 0;
        color: var(--black-or-white-color);
        margin-top: 0;
        margin-bottom: 35%;
    }

    /*Add 25% padding to first section of the page*/
    section:first-of-type {
        padding-top: 25%;
        padding-bottom: 20%;
    }

    section {
        padding-top: 15%;
        padding-bottom: 15%;
    }

    section h2 {
        font-family: "Libre Baskerville", serif;
        font-size: 40px;
        font-style: italic;
        font-weight: 500;
        margin-bottom: 25px;
    }

    .home-main-button-container {
        margin-top: 9%;
        margin-bottom: 5%;
        /*background: #008fa2;*/
    }

    /*Shrink side of "blog - documentation" a bit on mobile, reverted for bigger screen sizes*/
    .home-main-button-container h2 {
        font-size: 30px;
    }

    .home-main-button-container button {
        color: var(--font-color-inverted);
        background: var(--black-or-white-color);
        border: 3px solid var(--black-or-white-color);
        padding: 11px 30px;
        border-radius: 99px;
        font-size: 17px;
        font-weight: bold;
    }

    .home-main-button-container button:hover {
        color: var(--black-or-white-color);
        background: var(--font-color-inverted);
        cursor: pointer;
        border: 3px solid var(--black-or-white-color);
    }

    #home-landing-image-container {
        display: none; /*changed to flex after 1400px*/
        flex-direction: column;
        justify-content: center;
        align-items: center;
        margin-top: 20px;
        flex-grow: 1;
    }

    #home-page-flower {
        width: 100%;
        max-width: 200px;
        border-radius: 20px;
        filter: invert(10%);
    }

    [data-theme="dark"] #home-page-flower {
        filter: invert(94%);
    }

    #home-page-flower:hover, #home-landing-image-container span:hover {
        cursor: url("img/flower-cursor-5.svg"), url("img/circle-cursor.svg"), auto;
    }

    [data-theme="dark"] #home-page-flower:hover, [data-theme="dark"] #home-landing-image-container span:hover {
        cursor: url("img/flower-cursor.svg"), url("img/circle-cursor-white.svg"), auto;
    }

    #home-landing-image-container span {
        font-size: 10px;
        /*color: var(--black-or-white-color);*/
        padding-top: 10px;
    }

    #project-section {
        background: var(--section-background-color);
        color: #757575;
        /*margin-top: 10%;*/
        width: 100%;
    }

    #section-content {
        width: 90%;
        margin: 0 auto;
    }

    #project-div {
        display: flex;
        /*align-items: center;*/
        justify-content: left;
        flex-wrap: wrap;
        gap: 30px;
        margin-top: 40px;
    }

    #project-div h3 {
        font-size: 28px;
        font-weight: 700;
        margin-bottom: 10px;
        margin-top: 0;
        /*color: #0d102e;*/
        color: var(--black-or-white-color);
        font-family: var(--main-font-family), sans-serif;
        /*text-align: center;*/
    }

    #project-div > a {
        /*width: 600px;*/
        max-width: 400px;
        /*border: 4px dashed var(--accent-color);*/
        /*border-top: 2px dashed var(--accent-color);*/
        /*border-bottom: 2px dashed var(--accent-color);*/
        /*background: rgba(0, 0, 0, 0.05);*/
        padding: 25px 25px 30px 25px;
        border-radius: 20px;
        background: var(--background-color);
        /*Add a light wide box shadow*/
        box-shadow: 0 0 50px 0px rgba(var(--bw-r), var(--bw-g), var(--bw-b), .08);
    }
    [data-theme="dark"] #project-div > a {
        box-shadow: 0 0 50px 0px rgba(var(--bw-r), var(--bw-g), var(--bw-b), .02);
    }

    #project-div a {
        text-decoration: none;
        color: inherit;
        position: relative;
    }

    #project-div a:hover {
        filter: none; /*Remove default brightness filter on a hover*/
        outline: 3px solid var(--font-color);
    }

    #project-div a p {
        /*color: #656565;*/
        color: var(--black-or-white-color)
    }

    .project-year {
        font-size: 11px;
        font-weight: 600;
        color: var(--secondary-font-color);
        position: absolute;
        bottom: 20px;
        right: 25px;
        /*opacity: 0;*/
        /*transition: opacity 0.1s ease;*/
    }

    #about-me-image {
        width: 80%;
        max-width: 230px;
        /*max-width: 130px;*/
        border-radius: 20px;
        box-shadow: 0 0 90px 0px rgba(0, 0, 0, .05);
        margin: 50px auto;
        display: block;
        /*margin-left: 40px;*/
    }

    #about-me-section {
        font-size: 17px;
    }

    /*Fade in dark theme icon*/
    @keyframes fadeIn {
        from {
            opacity: 0;
        }
        to {
            opacity: 1;
        }
    }
    .flower {
        /* Prevent interaction with the flowers */
        pointer-events: none;
    }

}

@media (min-width: 641px) {
    #about-me-image {
        width: 60%;
    }
}

/*portrait tablets, portrait iPad, landscape e-readers, landscape 800x480 or 854x480 phones*/
@media (min-width: 641px) {
    #banner h1 {
        font-size: 80px;
        margin-bottom: 20%;
    }

    section:first-of-type {
        padding-top: 9%;
        padding-bottom: 9%;
    }

    section {
        padding-top: 5%;
        /*A bit more than top to balance out the title margin at the beginning of a section*/
        padding-bottom: 6%;
    }

    .home-main-button-container h2 {
        font-size: 40px;
    }

    #blog-documentation-separator {
        font-family: "Libre Baskerville", serif;
        font-size: 34px;
        margin-right: 10px;
        margin-left: 10px;
    }

    #project-div h3 {
        font-size: 35px;
    }

    #about-me-image {
        width: 80%;
        float: left;
        margin: 0 40px 20px 0;
    }
    #about-me-section p{
        /*max-width: 1230px;*/
    }

    /*#profile-img-and-text{*/
    /*    flex-direction: row;*/
    /*}*/
}

/*At this breakpoint it looks good to have two columns*/
@media (min-width: 755px) {
    #home-page-content {
        flex-direction: row;
        align-items: start;
    }

    #documentation-div {
        margin-top: 30px;
        width: 40%;
        max-width: 600px;
        min-width: 320px;
    }
}

/*tablet, landscape iPad, lo-res laptops ands desktops*/
@media (min-width: 961px) {
}

@media (min-width: 1200px) {
    #home-landing-image-container {
        display: flex;
    }
}