@font-face {
    font-family: "manrope";
    src: url("./manrope_variable.ttf");
}

h1 {
    font-size: 3em;
}

.body {
    font-family: "manrope";
    background: #161b22;
    color: #fff;
    margin: 0;
}

.margin {
    margin: 8px;
}

.container2 {
    display: grid;
    grid-template-columns: 1fr 4fr 1fr;
}

p {
    font-size: 1.2em;
}

a {
    color: inherit; /* blue colors for links too */
    text-decoration: inherit; /* no underline */
}

b {
    font-weight: 600;
}

.actualLink {
    color: #ffd842; /* blue colors for links too */
}

.projectTitle {
    font-weight: 600;
    font-size: 1.5em;
    margin: 0;
}

.projectSubTitle {
    margin-top: 0;
}

.projectCard {
    background: #28313e;
    box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
    transform: scale3d(1,1,1);
    transition: transform 0.3s;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 2fr;
    margin-bottom: 32px;

    > .control {

        &:not(:last-child) {
            margin-bottom: 8px;
        }
    }
}
.projectCard:hover {
    transform: scale3d(1.01,1.01,1.01);
}

.projectCardTextArea {
    padding-left: 16px;
    padding-right: 16px;
    padding-top: 16px;
    color: inherit; /* blue colors for links too */
    text-decoration: inherit; /* no underline */
}

.projectCardImage {
    display: block;
    margin-left: auto;
    margin-right: 0;
    border-left: 2px solid black;
}

@include media( '>medium' ) {

    .projectCard {
        display: flex;
        flex-direction: column;

        > .control {
            flex-shrink: 0;

            &.control-expanded {
                flex-grow: 1;
                flex-shrink: 1;
            }

            &:not(:last-child) {
                margin-bottom: 8px;
                margin-right: 0px;
            }
        }
    }
}

.site-footer {
    display: flex;
    flex-wrap: wrap;
    padding: 40px;
    justify-content: center;
}

@media screen and (max-width: 1200px) {
    .container {
        grid-template-columns: 1fr;
    }
}