@font-face {
    font-family: Rubik;
    src: url(../fonts/Rubik-Light.ttf);
}

@font-face {
    font-family: Rubik-Bold;
    src: url(../fonts/Rubik-SemiBold.ttf);
}

:root {
    --navbar-color-orange: #ff754c;
    --navbar-color-yellow: #ffc549;
    --text-font: Rubik;
    --text-font-bold: Rubik-Bold;
    --text-color: #352c3a;
}

::-moz-selection { /* Code for Firefox */
    color: #ffffff;
    background: var(--navbar-color-orange);
}
  
  ::selection {
    color: #ffffff;
    background: var(--navbar-color-orange);
}

h1 {
    font-family: var(--text-font);
    color: var(--text-color);
    font-size: 40px;
}

p {
    font-family: var(--text-font);
    color: var(--text-color);
    text-align: justify;
    font-size: 25px;
}

a {
    height: 0;
}

body {
    background-color: var(--navbar-color-yellow);
}

.orange-lines {
    background-color: var(--navbar-color-orange);
    width: 100%;
    height: 40px;
}

.navbar-and-content {
    display: flex;
}

.navbar-and-content .content {
    display: grid;
    width: calc(100% - 20%);
    padding: 40px 5%;
}

.content {
    width: 100%;
    justify-content: center;
    padding: 40px 0;
}

.content h1 {
    padding: 0 0 20px 0;
    text-align: left;
}

.content-columns {
    justify-content: center;
    padding: 40px 5%;
    display: flex;
}

.column-1 {
    justify-content: left;
    display: grid;
    padding-right: 10%;
    width: 50%;
    height: fit-content;
}

.column-1 li {
    padding-bottom: 30px;
}

.column-2 {
    justify-content: left;
    display: grid;
    padding-left: 10%;
    width: 50%;
    height: fit-content;
}

.column-2 li {
    padding-bottom: 30px;
}

.first-page {
    width: 225px;
    height: 300px;
    object-fit: cover;
    border: 6px solid var(--navbar-color-orange);
    transition: .2s;
}

.first-page:hover {
    box-shadow: 0 5px 20px rgba(0, 0, 0, .2);
}

.title {
    color: var(--text-color);
    margin: 0;
    padding: 5px 0;
    font-family: var(--text-font-bold);
    word-wrap: wrap;
    text-decoration: underline 2px var(--navbar-color-orange);
}

.title:hover {
    text-decoration: none;
}

.description {
    padding: 0;
    user-select: none;
}

@media only screen and (max-width: 800px) {
    
    .navbar-and-content {
        display: grid;
    }

    .navbar-and-content .content {
        width: 100%;
        height: 100%;
        padding: 0;
        margin: 0;
    }

    .content-columns {
        display: grid;
    }
    
    .column-1, .column-2 {
        padding: 0 0 0 10%;
        width: 80%;
        text-align: center;
    }

    .content h1 {
        padding-left: 5%;
        padding-top: 10px;
    }

    #orange1 {
        display: none;
    }
}
