/*
* Prefixed by https://autoprefixer.github.io
* PostCSS: v8.3.6,
* Autoprefixer: v10.3.1
* Browsers: last 4 version
*/

/* Fonts */
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,300;1,400;1,500;1,600;1,700;1,800&family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;0,800;0,900;1,400;1,500;1,600;1,700;1,800;1,900&family=Roboto+Slab:wght@100;200;300;400;500;600;700;800;900&display=swap');
/* font-family: 'Open Sans', sans-serif;
font-family: 'Playfair Display', serif;
font-family: 'Roboto Slab', serif; */

/* CSS Reset */
*{
    margin: 0;
    padding: 0;
    -webkit-box-sizing: border-box;
            box-sizing: border-box;
    font-family: 'Open Sans', sans-serif;
    font-family: 'Playfair Display', serif;
    font-family: 'Roboto Slab', serif;
}

/* Global */
:root{
    --text-size-1: 1.1;
    --text-size-2: 2.5em;   
    --text-size-3: 2em;
    --text-size-4: 1.5em;
    --text-size-5: 1em;
}

/* Banner by Polina L. */
.section{
    width: 100%;                 
}

.section__banner{            
    height: 100vh;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center; 
    background:url('pushkin.jpg');   
    background-size: cover;
    background-position: right center;
    position: relative;
}

.container{
    width: 1200px;
    padding: 100px 0;
    margin: 0 auto;
}

.container__banner{      
    height: 100%;
    padding: 0;        
}

.box1{
    width: 100%;
    height: 80px;
}

.box1__banner{
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
}

.link{
    text-decoration: none;
    color: #633915de;
    font-weight: 900;
}

.link:hover{
    border-bottom: 1px dashed #633915de;  
    -webkit-transition: 0.25s;  
    -o-transition: 0.25s;  
    transition: 0.25s;
}

.link__banner{
    color: #EAD3A8; 
    font-size: var(--text-size-3);
    font-weight: 700;
    margin: 0 25px;
    text-transform: uppercase;
    text-shadow: 1px 1px 1px rgba(19, 15, 16, 1);
}

.link__banner:hover{
    border: 0;
}

.wrap__banner{
    width: 600px;
    background: #633915de;
    position: absolute;
    right: 0;
    bottom: 0;
    padding: 15px 30px;
}

.title{
    text-align: center;
    font-size: var(--text-size-2);
    margin-bottom: 40px;
    font-weight: 500;
}

.title__banner{
    color: #EAD3A8; 
    font-weight: 900;
    letter-spacing: 1px;
    text-align: left;
    font-size: var(--text-size-5);
    text-transform: uppercase;
    margin-bottom: 18px;
    text-shadow: 1px 1px 1px rgba(19, 15, 16, 1);
}

.text{
   font-size: 16px;   
   margin-bottom: 16px;
}

.text__banner-1{
    font-size: var(--text-size-4);
    margin-bottom: 24px;
    color: #ffffff;
    text-shadow: 1px 1px 1px rgba(19, 15, 16, 1);
}

.text__banner-2{
    font-size: var(--text-size-5);
    color: white;
    text-shadow: 1px 1px 1px rgba(19, 15, 16, 1);
}

/* Biografy by Nadya P. */
.biography__section{
    background: #f9e8be;
    background-image: url("https://www.transparenttextures.com/patterns/fresh-snow.png");
}

/* Creation by Matvey H. */
.title-h3__creation{
  text-align: left;
  font-size: var(--text-size-3);
  margin-bottom: 20px;
}

.wrap__creation{
  width: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
      -ms-flex-direction: row;
          flex-direction: row;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  margin-bottom: 80px;
}

.card__creation {
  width: 30%;
  border: 1px solid #775333;
}

.img__creation {
  width: 100%;
  height: 250px;
  -o-object-fit: cover;
     object-fit: cover;
  margin-bottom: 15px;
}

.title-h4__creation {
  text-align: left;
  line-height: 20px;
  padding: 0 15px;
  font-size: var(--text-size-4);
  margin-bottom: 20px;
}

.text__creation{
    padding: 0 15px 15px 15px
}

.link__creation{
  display: inline-block;
  margin-left: 15px;
  margin-bottom: 15px;
  font-size: var(--text-size-5);
  font-weight: 400;
  line-height: 20px;
  color: white;
  padding: 10px 20px;
  background: #633915de;
}

.link__creation:hover{
    border: 0;
}

/* Legends by Timofeiy B. */
.section__legends{
    background: #f9e8be;
    background-image: url("https://www.transparenttextures.com/patterns/fresh-snow.png");
}

.card__legends{
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    margin-bottom: 20px;
}

.img__legends{
    width: 80px;
    margin-bottom: 20px;
}

.title-h3__legends{
    text-align: center;
    font-size: 24px;
    font-weight: 900;
    margin-bottom: 20px;
}

.text__legends{
    text-align: center;
    padding: 0 150px;
}

/* Review by Anna K. */
.wrap__reviews{
    width: 1200px;
    height: 600px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
}

.card__reviews{
    width: 300px;
    height: 300px;
    padding: 20px;
    background: #633915de;
}

.card__reviews_green{
    padding: 0;
    position: relative;
}

.title-h3__reviews{
    text-align: left;
    font-size: 24px;
    font-weight: 500;
    margin-bottom: 20px;
    color: #EAD3A8;
    text-shadow: 1px 1px 1px rgb(19 15 16);
}

.text-h3{
    color: #ffffff;
    text-shadow: 1px 1px 1px rgb(19 15 16);
}

.img__reviews{
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
       object-fit: cover;
}

.ugol{
    position: absolute;
    width: 0;
    height: 0;
    border-top: 25px solid transparent;
    border-left: 35px solid #775333;
    border-bottom: 25px solid transparent;
    top: 125px;
}

.ugol-2{
    position: absolute;
    width: 0;
    height: 0;
    border-top: 25px solid transparent;
    border-right: 35px solid #775333;
    border-bottom: 25px solid transparent;
    top: 125px;
    right: 0;
}

/* About by BAN */
.about__container{
    padding: 0 0 50px 0; 
    font-size: 24px; 
    color: #775333;    
    font-weight: 500; 
}

.about__link{             
    font-weight: 400;      
    color: #EAD3A8;
    text-shadow: 1px 1px 1px rgb(19 15 16);
}

.about__span{  
    font-weight: 500;      
    color: #775333;
}