@font-face {
    font-family: GT America Trial Light;
    src: url(GT-America-Trial-Light.otf);
}
/*
* {
    transition: 1s;
}
*/
html {
    font-size: 11px;
    line-height: 35px;
    letter-spacing: 0.08em;
    font-family: GT America Trial Light;
    color: #000;
    background-color: #fdfdfd;
    -webkit-tap-highlight-color: rgba(166,42,31,0.6);
}

html, body {
 /* height: 100vh; */
    width: 100%;
}

body {
    margin: 80px 0 0 0;
    font-size: 2rem;
    overflow-x: hidden;
}

p {
    margin: 28px 0 14px 0;
}

a, a:visited {
    text-decoration: none;
    color: #000;
    /* white-space: nowrap; */
}

a:hover {
    text-decoration: underline;
    color: #A62A1F;
}

.text > a {
    color: #A62A1F;
}

.crossed, .crossed:hover .crossed:visited {
    text-decoration: line-through !important;
    color: #000;
}

img {
    max-width: 100%;
    display: block;
    border: 0;
}

input {
    border: 0;
    border-bottom: 2px solid #fdfdfd;
    width: 140px;
    font-family: GT America Trial Light;
    transition: .5s;
}


.input_selected {
    border-bottom: 2px solid #A62A1F;
    width: 72.5%;
    transition: .5s;
}

.red {
    color: #A62A1F !important;
}

.big {
    font-size: 4rem;
    line-height: 56px;
}

.normal {
    font-size: 3rem;
    line-height: 56px;
}

.sm_title {
    font-size: 2.5rem;
}

.no_break {
    white-space: nowrap;
}

/* header & footer */
.sticky {
    position: -webkit-sticky; /* Safari */
    position: sticky;
    top: 60px;
    z-index: 100;
}

#title_name {
    font-size: 1.8rem;
}

.menu_text {
    line-height: 50px;
}

#words { /* for homepage */
    margin-top: 12vh; /* was 14vh */
    margin-bottom: 20vh; /* was 22vh */
}

#words2 {
    margin-top: 1.1%; /* 150px */
    margin-bottom: 6.8%; /* 224px */
}

#description {
    display: inline-flex; /* set to "none" when not used */
    margin-bottom: 6.4%; 
}

#work_nav {
    display: inline-flex; /* set to "none" when not used */
    margin-top: 8px;
}

/* replaces #words on all pages but home */
#words_title {
    margin-top: 3vw; /* 150px */
    margin-bottom: 5.3vw; /* 224px */
}

.credit {
    font-size: 1.36rem;
    color: #9B9B9B;
    margin: 100px 0 56px 0;
}

/* icons */

svg {
    fill: #000;
    position: relative;
    display: inline-block;
}
svg:hover {
    fill: #A62A1F;
}

.icon_x {
    width: 25px;
    height: 25px;
    margin-bottom: -1px;
    margin-right: 12px;
    fill: #000;
}

#logo {
    max-width: 35%; /* 283px */
    min-width: 220px;
    margin-top: -58px;
}

.icon_bkw, .icon_fwd {
    width: 26px;
    height: 23px;
    fill: #000;
}

.icon_slash {
    width: 18px;
    height: 38px;
    fill: #000 !important;
    margin: 10px 10px 0 10px;
}

/* stripes for stacked items */
.stripe_top {
    width: 90%;
    border-top: 4px solid black; margin: 4px auto 0 auto;
}
.stripe_bottom {
    width: 95%;
    border-top: 4px solid black; margin: 4px auto 6px auto;
}

.img_box:hover *  {
    border-color: #A62A1F;
    cursor: pointer;
}


/* Grid */
#container {
    position: relative;
    width: 100vw;
    max-width: 1440px;
    margin: 0 auto;  
}

.flex_row, .flex_row_wrap {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    margin: 0 6.94%;
}

.flex_row {
    flex-wrap: nowrap;
}

.flex_row_wrap {
    flex-wrap: wrap;
}

.flex_row_works {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: baseline;
    margin: 0 4.25%;
}

.col1, .col2, .col4, .img_box_port, .img_box_land {
    position: relative;
    box-sizing: border-box;
    min-width: 0;
    min-height: 0;
}

.col1 {
    flex-basis: 11.29%; /* 140px */
}

.col2 {
    flex-basis: 29.03%; /* 360px */
}

.col4 {
    flex-basis: 64.51%; /* 800px */
}

.col6 {
    flex-basis: 100%; /* 1240px */
}

.img_box_port {
    flex-basis: 27.27%; /* 360 / 1320 mot 1240 (since there are margins) */
}

.img_box_land {
    flex-basis: 43.93%;
}

.img_box {
    vertical-align: bottom;
    margin: 0 3% 6.34% 3%;
}

.img_big_por {
    width: 100%;
    max-width: 580px;
}

.img_box:hover img {
    opacity: 0.1;
}

.img_box_hp:hover img {
    opacity: 0.1;
}

.red_bg {
    background-color: #A62A1F;
}


/* break points */
@media only screen and (max-width: 1360px) and (min-width: 1241px){
    html {
        font-size: 10px;
    }
}

@media only screen and (max-width: 1240px) and (min-width: 1011px){
    html {
        font-size: 9px;
        line-height: 32px;
    }
    ..big, .normal {
        line-height: 52px;
    }
    .icon_slash {
        margin: 5px 10px 0 10px;
    }
}


@media only screen and (max-width: 1010px) and (min-width: 801px) {
    html {
        font-size: 9px;
        line-height: 32px;
    }
    body {
        margin: 60px 0 0 0;
    }
    p {
        margin: 14px 0 14px 0;
    }
   
    #title_name {
        display: none;
    }
    .big, .normal {
        line-height: 52px;
    }
    .col4 {
        flex: 1;
    }
    .icon_slash {
        margin: 5px 10px 0 10px;
    }
    .stripe_top, .stripe_bottom {
        border-top: 3px solid black;
    }
    
}

@media only screen and (max-width: 800px) and (min-width: 641px) {
    html {
        font-size: 9px;
        line-height: 32px;
    }
      body {
        margin: 60px 0 0 0;
    }
    #logo {
        max-width: 220px;
    }
    #title_name {
        display: none;
    }
    #item {
        display: none;
    }
    #words {
        margin-top: 12vw; /* 150px */
        margin-bottom: 16vw; /* 224px */
    }
    #description {
        margin-bottom: 10%; 
    }
    .work_box {
        margin-bottom: 9.03%;
    }
    .col2 {
    flex-basis: 45%; /* 580px */
    }
    .big, .normal {
        line-height: 52px;
    }
    .col4 {
        flex: 1;
    }
    .icon_slash {
        margin: 5px 10px 0 10px;
    }
    .stripe_top, .stripe_bottom {
        border-top: 3px solid black;
    }
}


@media only screen and (max-width: 640px) and (min-width: 421px) {
    html {
        font-size: 9px;
        line-height: 28px;
    }
    body {
        margin: 40px 0 0 0;
    }
   
    #title_name {
        display: none;
    }
    #words {
        margin-top: 12vw; /* 150px */
        margin-bottom: 16vw; /* 224px */
    }
    
    #words2 {
        margin-top: 4vw; /* 150px */
        margin-bottom: 16%; /* 224px */
    }
    
    #description {
    margin-bottom: 16vw; 
    }
    
    #item {
        display: none;
    }
    
    .big, .normal {
        line-height: 46px;
    }
    
    .col2 {
        flex-basis: 45%; /* 580px */
    }
    
    .col4 {
        flex-basis: auto;

    }
    .side_col {
        display: none;
    }
    .col_image, .col_text {
        flex-basis: 46.77%;
    }
    
    .img_box_port {
        vertical-align: bottom;
        flex-basis: 43.8%;
        min-width: 100px;
    }

    .img_box_land {
        vertical-align: bottom;
        flex-basis: auto;
        min-width: 322px;
    }

    .img_box {
        margin: 0 3.1% 6.34% 3.1%;
    }
    
    .icon_slash {
        margin: 2px 10px 0 10px;
    }
}

@media only screen and (max-width: 420px) {
    html {
        font-size: 11px;
    }
    
    body {
            margin: 40px 0 0 0;
            font-size: 1.8rem;
    }
    
    #logo {
        max-width: 180px;
        min-width: 100px;
    }
    #title_name {
        display: none;
    }
    #about {
        font-size: 1.7rem;
    }
    #words {
        margin-top: 1vh; /* 150px */
        margin-bottom: 16vw; /* 224px */
    }
    #words2 {
        margin-bottom: 16%; /* 224px */
    }
    #description {
    margin-bottom: 20%; 
    }
    
    .sticky {
        position: -webkit-sticky; /* Safari */
        position: sticky;
        top: 30px;
        z-index: 100;
    }
    
    .keep_items, #item {
        margin-bottom: 60px;
        font-size: 1.8rem;
    }
    
    .credit {
        font-size: 1.3rem;
    }
    
    .menu_text {
        line-height: 48px;
    }
    
    .big {
        font-size: 2.54rem;
        line-height: 42px;
    }

    .normal {
        font-size: 2rem;
        line-height: 42px;
    }

    .sm_title {
        font-size: 2.5rem;
    }
    
    .sm_title2 {
        font-size: 2rem;
    }
    
    .flex_row {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: space-between;
        margin: 0 25px;
    }
    .flex_row_works {
        display: flex;
        flex-direction: column;
        flex-wrap: wrap;
        justify-content: flex-start;
        align-items: baseline;
        margin-left: 25px;
        margin-right: 25px;
    }
    
    .col1, .col2, .col4, .col_text, .col_image {
        flex: 1;
        position: relative;
        box-sizing: border-box;
        min-width: 0;
        min-height: 0;
        flex-basis: auto;
    }
    .side_col {
        display: none;
    }
    
    .img_box_port, .img_box_land {
        vertical-align: bottom;
        flex-basis: auto;
        min-width: 0;
    }

    .img_box {
        margin: 0 0 40px 0;
    } 
    
    .icon_slash {
        margin: 0 10px;
    }
}

@media only screen and (max-width: 420px) and (max-height: 640px) {
    body {
        margin: 20px 0 0 0;
    }
}