@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;
    line-height: 1.3 rem;
}

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: flex;
    width: calc(100% - 20%);
    min-height: calc(100vh - 80px);
}

.long-image {
    width: 25%;
    height: 100%;
    background-image: url(../img/main-page-img.JPG);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: 65%;
}

.main-text {
    width: 75%;
    padding: 40px 5%;
}

.main-text h1 {
    padding-bottom: 20px;
    font-family: var(--text-font-bold);
}

@media only screen and (max-width: 900px) {
    .long-image {
        width: 50%;
        background-position-x: 60%;
    }
}

@media only screen and (max-width: 800px) {
    
    .navbar-and-content {
        display: grid;
    }

    .navbar-and-content .content {
        width: 100%;
        height: 100%;
        padding: 0;
        margin: 0;
    }

    .long-image {
        width: 35%;
        height: 100%;
    }

    .main-text {
        width: 65%;
    }

    #orange1 {
        display: none;
    }

    p {
        font-size: 22px;
    }

}

@media only screen and (max-width: 600px) {

    .navbar-and-content .content {
        display: grid;
    }

    .long-image {
        width: 100%;
        height: 230px;
        background-position-y: 90%;
    }

    .main-text {
        width: 90%;
        justify-content: center;
        padding: 5%;
    }

    #orange1 {
        display: none;
    }

    p {
        font-size: 22px;
    }

}
