*{
    font-family: 'Josefin Sans', sans-serif;
}

body {
    background-color: #dee0df;
}

nav {
    width: 100%;
    height: 50px;
    background-color: #a5b9be;
    display:flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 4px;
    margin: 5px 0 0;
    font-size: 30px;
    color: #86480b;
}

.dark-orange {
    color: #86480b
}

/* Nav bar */
input[type=checkbox] {
    display: block;
    width: 30px;
    height: 30px;
    position: absolute;
    right: 5px;
    cursor: pointer;
    opacity: 0;
    z-index: 2;
}

input[type=checkbox]:checked ~ #menu {
    display: block;
    transform: translate(-100%, 0);
}

input[type=checkbox]:checked ~ #burger {
    background: #9b6b3c
}

#menu {
    display: none;
    position: absolute;
    top: -34px;
    width: 60%;
    margin: -24px 0 0 37px;
    padding-top: 110px;
    background: #e3d9d1;
    transform-origin: 0% 0%;
    font-size: 40px;
}

#menu li {
    padding: 10px 0;
}

#menu li a {
    color: #9b6b3c;
}

#burger {
    display: block;
    width: 33px;
    height: 4px;
    margin-bottom: 5px;
    position: relative;
    background: #1a3e45;
    border-radius: 3px;
    z-index: 1;
}

/* Header */
header {
    text-align: center;
    margin: 4px 4px;
    font-size: 40px;
    color: #1a3e45;
}

#profile-img {
    width: 70%;
    border-radius: 30px;
}

/* About me section */
#about-me {
    text-align: center;
    font-size: 35px;
    margin: 7% 5px;
    color: #0a5950;
}

#more-info {
    font-size: 25px;
}

#more-info > div > p > img {
    max-width: 100%;
}

#about-me > span > a {
    color: #86480b;
    font-weight: bold;
}

/* Skills section */
#skills {
    text-align: center;
    font-size: 35px;
    margin: 7% auto;
    width: 80%;
}

#skills ul {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

/* Projects section */
#projects {
    text-align: center;
    font-size: 35px;
    margin: 7% auto;
    width: 80%;
}

#project-cards {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    align-items: center;
    width: 100%;
}

.card {
    width: 90%;
    margin: 5px 0;
    font-size: 20px;
    display: flex;
    justify-content: flex-end;
    align-items: end;
    border-top-left-radius: 8px 8px;
}

.card-link {
    background-color: #dee0df;
    padding: 10px 0 0 10px;
    border-top-left-radius: 8px 8px;
    border: 1px solid #0a5950;
    border-width: 1px 0 0 1px;
}

.card-link a {
    color: #0a5950;
}

.card-link a:hover {
    color: #86480b;
    font-weight: bold;
}

hr {
    border: 1px dashed #86480b;
    width: 100%;
    margin: 5px 0;
}

.a {
    background-image: url('./images/Screenshot-generate-readme.png');
    height: 200px;
    background-size: cover;

}

.b {
    background-image: url('./images/Screenshot-team-generator.png');
    height: 200px;
    background-size: cover;
}

.c {
    background-image: url('./images/Screenshot-streaming-locator.png');
    height: 200px;
    background-size: cover;
}

.d {
    background-image: url('./images/Screenshot-gourmet.png');
    height: 200px;
    background-size: cover;
}

.e {
    background-image: url('./images/screenshot.png');
    height: 200px;
    background-size: cover;
}

/* Footer */
footer {
    width: 100%;
    height: 49px;
    background-color: #a5b9be;
    padding: 0 4px;
}

footer ul {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 18px;
}

footer ul li {
    padding: 0 5px;
}

/* Big screen view */
@media screen and (min-width: 600px){
    input[type=checkbox] , hr, #burger {
        display: none;
    }

    #menuToggle , #img {
        width: 60%;
    }

    #menu {
        display: flex;
        justify-content: space-around;
        position: static;
        width: 100%;
        margin: 0;
        padding: 0;
        background-color: #a5b9be;
        font-size: 30px;
    }

    #menu li {
        padding: 0;
    }

    #menu li a {
        color: #191919;
    }

    #menu li a:hover{
        color: #86480b;
        font-weight: bold;
    }

    header {
        display: flex;
        justify-content: center;
        align-items: center;
        font-size: 50px;
    }

    header h2 {
        margin: 0 10%;
    }

    #intro {
        width: 40%;
    }

    #about-me, #projects {
        font-size: 40px;
    }

    #more-info {
        font-size: 30px;
    }

    #skills {
        font-size: 40px;
        width: 70%;
    }

    #skills ul {
        display: flex;
        justify-content: space-around;
    }

    .card {
        width: 40%;
        margin: 5px 5px;
        border-top-left-radius: 10px 10px;
    }

    .card-link {
        border-top-left-radius: 10px 10px;
    }

    footer ul {
        width: 70%;
        font-size: 18px;
        margin: auto;
    }
}

@media screen and (min-width: 800px){
    nav {
        font-size: 40px;
    }

    header {
        font-size: 65px;
    }

    #about-me {
        font-size: 50px;
        margin: 7% 10%;
    }

    #more-info {
        font-size: 40px;
    }

    #skills {
        font-size: 50px;
        width: 60%;
    }

    #projects {
        font-size: 50px;
    }

    .card {
        width: 30%;
    }

    footer ul {
        width: 50%;
        font-size: 22px;
        margin: auto;
    }
}
