/* --- GLOBAL --- */

html {
    font-family: 'RussoOne-Regular', 'Open Sans', sans-serif, Roboto, Arial, Helvetica;
    font-size: 18px;
    color: grey;
    text-decoration-color: inherit;
}



body {
    margin: 0;
    background-color: white;
    min-height: fit-content;
}

.page-container {
    position: relative;
    padding-bottom: 100px;
}

.banner {
    width: 100%;
    height: 120px;
    background-color: white;
}
.logo {
    display: inline-block;
    vertical-align: top;
    width: 160px;
    height: 160px;
    margin: 15px 50px;
}
.banner a {
    display: inline-block;
    vertical-align: top;
    margin-left: 30px;
    height: 100px;        /* if you want it to take the full height of the bar */
    line-height: 120px;    /* if you want it vertically middle of the navbar */
    font-size: 2rem;
    color: #c71f13;
    text-decoration: none;
    height: inherit;
}

.nav-text {
    font-family: 'Territory';
    display: inline-block;
    float: right;
    margin-right: 100px;
    height: inherit;
}

.main {
        min-height: 650px;
}

h1, h2 {
    font-family: 'Territory';
}

/* ---COMMON ---*/

.block1 {
    background-color: white;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-evenly;
    align-items: flex-start;
    padding: 75px 0 75px 0;
    text-align: center;
}

.block1 h2 {
    color: #c71f13;
    letter-spacing: 1.2px;
}

.block1 p {
    color: #020D80;
}

.col {
    display: inline-block;
    width: 250px;
}

.colicon {
    height: 75px;
    margin-bottom: 10px;
}

.center {
    display: flex;
    justify-content: center;
    align-items: center;
}

.button {
    background-color: #ffc300;
    border-radius: 10px;
    box-shadow: 2px 4px 0 #7a5e01;
    box-sizing: border-box;
    color: #c71f13;
    cursor: pointer;
    padding: 15px 30px;
    position: relative;
    text-align: center;
    vertical-align: top;
    width: auto;
    font-family: 'Territory';
    font-size: 40px;
  }
  
  .button:hover {
    color: white;
}
  
  .button:active {
    background: #fff;
    box-shadow: none;
    color: #ffc300;
    top: 4px;
    left: 2px;
  }

#button2 {
    margin: 20px 50px 20px 100px;
    width: 310px;

}

#button2:active {
    background-color: #c71f13;
}


.block2 {
    background-color: #c71f13;
    padding: 50px 0 75px 0;

}

.text-wrap1 {
    margin: 0 50px;
}

.text-wrap1 h1 {
    text-align: left;
    color: #ffc300;
    font-size: 70px;
    letter-spacing: 0.1rem;
    margin: 50px 0;
}

.text-wrap1 p {
    text-align: justify;
    color: white;
}

.inline {
    display: inline-flex;
}

.thumb {
    display: inline-block;
    vertical-align: centre;
    width: 160px;
    height: 160px;
    margin: 70px 70px 15px 25px;
}

/* --- HOME --- */

.home-main {
    height: fit-content;
    font-family: 'Territory';
}

.home-main-image {
    background-image: url("/assets/images/banner-couple-tc.jpg");
    background-repeat: no-repeat;
    background-position-x: left;
    background-position-y: center;
    width: 100%;
    height: 625px;
    background-size: cover;
}

.home-title {
    position: absolute;
    top: 205px;
    left: 30px;
    background-color: rgba(255, 255, 255, 0);
    max-width: 80%;
}

#triumph {
    background-color: white;
    position: absolute;
    top: 560px;
}

.home-title h1 {
    margin: 0;
    line-height: 1;
    margin: 20px 20px 10px 20px;
    color: #c71f13;
    font-size: 70px;
    font-weight: normal;
}

.home-title h2 {
    margin: 0;
    line-height: 1;
    margin: 20px 20px 10px 20px;
    color: white;
    font-size: 70px;
    font-weight: normal;
}


.staffbox {
    height: 310px;
    margin: 75px 0 0 75px;
}

#contact p {
    font-size: 30px;
}

.staffbox2 {
        height: 370px;
        margin: 40px 0 0 50px;
}

.block3 {
    background-color: whitesmoke;
    padding: 75px 0 75px 0;

}

.block3 h2 {
    text-align: left;
    color: #c71f13;
    font-size: 40px;
    letter-spacing: 0.1rem;
    margin: 50px 0;
}

.block3 p {
    text-align: justify;
    color: #020D80;
}


/* --- SERVICES --- */

.main-image-services {
    background-image: url("/assets/images/new_planet_konstantin_yuon.jpg");
    background-repeat: no-repeat;
    background-position: bottom center;
    width: 100%;
    height: 720px;
    background-size: cover;
    opacity: 0.6;
}

.page-title {
    position: absolute;
    top: 200px;
    left: 150px;
    background-color: white;
    padding-left: 20px;
    padding-right: 20px;

}

.page-pros {
    position: absolute;
    right: 50px;
    /*left: 650px;*/
    top: 325px;
    background-color: rgba(255, 255, 255, 0.9);
    padding-left: 20px;
    padding-right: 20px;
    min-height: 100px;
    max-width: 700px;
}



/* --- FOOTER --- */

.footer {
    position: absolute;
    bottom: 0;
    left: 0;
    background-color: lightgray;
    height: 100px;
    width: 100%;
    display: inline-flex;
    justify-content: space-between;
}

.footer * {
    font-size: 14px;
    margin: 40px 20px;
}

.footer li {
    display: inline-block;
}

.footer a:visited { text-decoration: none; color:grey; }
.footer a:hover { text-decoration: none; color:grey; }
.footer a:focus { text-decoration: none; color:grey; }
.footer a:hover, a:active { text-decoration: none; color:white }


/* --- FONTS --- */

@font-face {
    font-family: 'fsoc';
    src: url('/assets/fonts/fsoc.ttf') format('truetype');
    }
    
    @font-face {
    font-family: 'GulagDecay';
    src: url('/assets/fonts/GulagDecay.ttf') format('truetype');
    }
    
    @font-face {
    font-family: 'kremlin';
    src: url('/assets/fonts/kremlin.ttf') format('truetype');
    }
    
    @font-face {
    font-family: 'SovietProgram';
    src: url('/assets/fonts/SovietProgram.ttf') format('truetype');
    }
    
    @font-face {
    font-family: 'SovietProgram-Bold';
    src: url('/assets/fonts/SovietProgram-Bold.ttf') format('truetype');
    }
    
    @font-face {
    font-family: 'SovietProgram-BoldItalic';
    src: url('/assets/fonts/SovietProgram-BoldItalic.ttf') format('truetype');
    }
    
    @font-face {
    font-family: 'SovietProgram-Italic';
    src: url('/assets/fonts/SovietProgram-Italic.ttf') format('truetype');
    }
    
    @font-face {
    font-family: 'Territory';
    src: url('/assets/fonts/Territory.ttf') format('truetype');
    }
    
    @font-face {
    font-family: 'Territory-Italic';
    src: url('/assets/fonts/Territory-Italic.ttf') format('truetype');
    }
    
    @font-face {
    font-family: 'wadim_giant';
    src: url('/assets/fonts/wadim_giant.ttf') format('truetype');
    }
    
    @font-face {
    font-family: 'wadim-giant-italic';
    src: url('/assets/fonts/wadim-giant-italic.ttf') format('truetype');
    }
    
    @font-face {
    font-family: 'wadim-giant-lines';
    src: url('/assets/fonts/wadim-giant-lines.ttf') format('truetype');
    }
    
    @font-face {
    font-family: 'wadim-giant-outline';
    src: url('/assets/fonts/wadim-giant-outline.ttf') format('truetype');
    }

    @font-face {
    font-family: 'RussoOne-Regular';
    src: url('/assets/fonts/RussoOne-Regular.ttf') format('truetype');
    }
    

      @font-face {
        font-family: 'Open Sans';
        font-style: normal;
        font-weight: 400;
        src: local('Open Sans'), local('OpenSans'), url(https://fonts.gstatic.com/s/opensans/v13/cJZKeOuBrn4kERxqtaUH3T8E0i7KZn-EPnyo3HZu7kw.woff) format('woff');
      }
