@font-face {
    font-family: 'rubik';
    src: url(../font/Rubik/Rubik-VariableFont_wght.ttf);
}
@font-face {
    font-family: 'assistant';
    src: url(../font/Assistant/Assistant-VariableFont_wght.ttf);
}
/* RESET */
*, *:before, *:after {
    box-sizing: border-box;
    margin: 0;
    outline: none;
    padding: 0;
    -webkit-box-sizing: border-box;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}
html { background: #2d2d2d; font-family: 'rubik'; scroll-behavior: smooth; }
body {
    color: #fff;
    display: flex;
    flex-direction: column;
    font: 62.5% 'assistant', sans-serif;
    font-size: 1.1rem;
    width: 100%;
}
ul { list-style: none; }
a { color: inherit;cursor: pointer; text-decoration: none; }
.hide { display: none; }
.hidden{ visibility: hidden; }
.rubik { font-family: 'rubik'; }
.assistant { font-family: 'assistant'; }
/* END RESET */

.main_img{ opacity: 0.8; width: 100%; }

h1{ font-size: 2rem; text-align: center; padding-top: 50px; line-height: 3rem; }
h2{ font-size: 1.2rem; padding: 50px 20px 0 20px; text-align: center; }
.text{ line-height: 1.5rem; margin: 20px; padding-top: 20px; }
    .text>p{ padding-top: 20px; }
.pictures{ padding: 40px 10px 0 10px; width: 100%; }
.img_description{ margin: 10px; text-align: center; padding: 0 10% 0 10%; }
.sub_description{ padding-top: 10px; }
.description{ line-height: 1.5rem; margin: 20px; }
.detail{ padding-top: 20px; margin: 20px; }
.image{ width: 80%; align-self: center}

@media ( min-width: 768px ) {
    h1{ font-size: 2.5rem; }
    h2{ font-size: 2rem; }
    .image{ align-self: center; display: flex; flex-direction: column; width: 70%;}
    .block_img{ display: flex; flex-direction: column; align-items: center; }
    .pictures{ width: 80%; }
    .sub_description{ width: 70%; align-self: center; }
    .text{ width: 70%; align-self: center; }
}

@media ( min-width: 900px ) {
    .block_main{ height: 550px; overflow: hidden; }
    .sub_description{ width: 60%; align-self: center; }
    .text{ width: 60%; align-self: center; }
}

@media ( min-width: 1500px ) {
    .block_main{ height: 750px; overflow: hidden; }
    .main_img{ width: 100%; height: auto; }
    h1{ font-size: 3rem; }
    h2{ font-size: 2.5rem; }
    .image{ display: flex; flex-direction: row; flex-wrap: wrap; width: 60%;}
    .block_img{ width: 50%; }
    
    .sub_description{ width: 50%; align-self: center; }
    .text{ width: 50%; align-self: center; }

}
