:root{
  --accent-color: #4476eb;
  --bg-color: #F6F6F6;
  --main-font-family: "Rubik" "Arail" sans-serif;
  --light-bg: #7297EF;

}

/* rubik-regular - latin */
/* rubik-regular - latin_cyrillic */
@font-face {
  font-family: 'Rubik';
  font-style: normal;
  font-weight: 400;
  src: local(''),
  url('../fonts/rubik-v14-latin_cyrillic-regular.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
  url('../fonts/rubik-v14-latin_cyrillic-regular.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}
/* rubik-500 - latin_cyrillic */
@font-face {
  font-family: 'Rubik';
  font-style: normal;
  font-weight: 500;
  src: local(''),
  url('../fonts/rubik-v14-latin_cyrillic-500.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
  url('../fonts/rubik-v14-latin_cyrillic-500.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}
/* rubik-700 - latin_cyrillic */
@font-face {
  font-family: 'Rubik';
  font-style: normal;
  font-weight: 700;
  src: local(''),
  url('../fonts/rubik-v14-latin_cyrillic-700.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
  url('../fonts/rubik-v14-latin_cyrillic-700.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}

*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: var(--main-font-family);

}

body{
  font-family: var(--main-font-family);
  font-size: 16px;
  line-height: 22px;

}

.container{
  width: 1240px;
  padding: 0 20px;
  margin: 0 auto;
}

a{
  text-decoration: none;
}

ul{
  list-style: none;
}

.header-side{
  background-color: var(--bg-color);;
}

.main-head-side{
  padding: 30px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-part{
  display: flex;
  align-items: center;

}
.logo{
  color:var(--light-bg);
  padding: 5px ;
  background-color: #fff;
  font-weight: bold;
  font-size: 24px;
  line-height: 28px;
  display: inline-block;
  border-radius: 5px;
  margin-right: 35px ;

}


.logo:active{
  opacity: 0.7;
}


.valuta-kurs{
  margin-right: 25px;
}

.valuta-kurs span{
  color:var(--light-bg);
  font-weight: bold;
  font-size: 16px;
  line-height: 19px;
}


.search {
  position: relative;
  margin-right: 35px ;
}

.search-bar{
  width: 275px;
  height: 45px ;
  border: none;
  border-radius: 60px;
  padding-left: 45px;
  padding-right: 20px;
  outline: none;
}

.search-absalute{
  position: absolute;
  left: 17px ;
  top: 2px;
  color: #8D8D8D;
  cursor: pointer;
}

.language{
  padding: 10px 5px;
  background-color: #DCE6FF;
  border-radius: 39px;
  margin-right: 25px;
}

.language span{
  color: #A6A6A6;
  cursor: pointer;
  width: 70px;
}

.current{
  background-color: #fff;
  padding: 7px;
  border-radius: 50%;
  color: #333 !important;
  margin-right: 2px;
}

.btn-main{
  padding: 13px 20px;
  background: var(--light-bg);
  color: #fff;
  border-radius: 10px;
  cursor: pointer;

}

.btn-main:hover{
  opacity: 0.8;
}
.btn-main:active{
  opacity: 0.6;
}

/* nav link  */

.nav-list {
  display: flex;
  justify-content: space-between;
  align-items: center;
  list-style: none;
  padding: 30px 0;
  background-color: #fff;
}

.nav-item a {
  font-weight: 500;
  font-size: 18px;
  line-height: 21px;
  color: #7F7F7F;
}
.nav-item a:hover{
  color:var(--accent-color);
}
.nav-item a:active{
  opacity: 0.7;
  color:var(--accent-color);
}

/* MAIN AD  */
.ad-banner{
  margin: 40px 0 ;
}

.main-news{
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;

}

.news{
  width: 393px;
  padding: 15px;
  background-color: var(--bg-color);
  border-radius: 15px;
  margin-bottom: 10px ;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.news-title{
  font-weight: 500;
  font-size: 20px;
  line-height: 26px;
  color: #111;
  transition: all 0.3s ease-in-out;
}

.news-title:hover{
  color:var(--accent-color);
}
.news-title:active{
  color:var(--accent-color);
  opacity: 0.7;
}

.news-text{
  font-size: 16px;
  line-height: 22px;
  margin: 10px 0;
  flex-grow: 1;
}

.news-img{
  border-radius: 10px;
}


.news-sourse{
  margin-top: 10px;
  display: flex;
  align-items: center;

}

.news-sourse span{
  font-size: 12px;
  line-height: 14px;
  color: #5E5F61;
  margin: 0  10px ;
}


/* offer part  */
.offer-banner{
  width: 1050px;
  margin: 60px auto ;
  padding: 25px 50px ;
  display: flex;
  justify-content: space-between;
  background-image:url(../img/offer-bg.jpg);
  align-items: center;
  border-radius: 10px;

}

.offer-banner h3{
  width: 400px;
}
.offer-banner-btn{
  color: #fff;
  padding: 15px 30px;
  border-radius: 10px;
  background-color: #F78B3B;
}

/* INDEX World news part  */
.world-news-general{
  display: flex;
  margin-bottom: 90px;
}
.world-news-general-pro{
  display: flex;
  margin-bottom: 100px;
  margin-top: 50px;

}

.world-news-title{
  margin: 20px;
}

.world-news-left-items{
  width: 795px;
  display: flex;
  align-items: center;
  flex-direction: row;
  padding: 20px;
  background-color: var(--bg-color);
  border-radius: 15px;
  margin-right: 10px;
  margin-bottom: 10px;
}

.world-news-left-items-inside{
  width: 795px;
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  background-color: #fff;
  margin-right: 10px;
  margin-bottom: 10px;
}


.world-news-left-items img{
  margin-right: 15px;
}
.world-news-left-sourse{
  display: flex;
  align-items: flex-end;
  font-weight: normal;
  font-size: 12px;
  line-height: 14px;
  color: #5E5F61;
}
.main-scr-logo{
  margin-right: 10px;
}
.world-news-left-sourse small{
  margin-right: 5px;
}

.news-item-title{
  font-family: var(--main-font-family);
  font-style: normal;
  font-weight: 500;
  font-size: 20px;
  line-height: 26px;
  color: #000000;
  transition: all 0.3s ease-in-out;
}

.news-item-title:hover{
  color:var(--accent-color);
}
.news-item-title:active{
  color:var(--accent-color);
  opacity: 0.7;
}

.text-box p{
  margin: 13.5px 0 ;
  font-style: normal;
  font-weight: normal;
  font-size: 16px;
  line-height: 22px;
  color: #4A4B4C;

}

/* world-news-right  */

/* .world-news-right{

} */

.world-news-right-container{
  display: flex;
  flex-direction: column;
  background-color: var(--bg-color);
  padding: 20px;
  border-radius: 15px;
  margin-bottom: 10px;
}

.world-news-right-title{
  font-weight: 500;
  font-size: 24px;
  line-height: 28px;
  color: #000000;
  margin-bottom: 25px;

}

.world-news-right-subtitle{
  font-weight: 500;
  font-size: 18px;
  line-height: 24px;
  color: #000;
  margin-bottom: 10px;
  transition: all 0.3s ease-in-out;
}
.world-news-right-subtitle:hover{
  color: var(--accent-color);
}
.world-news-right-subtitle:active{
  color: var(--accent-color);
  opacity: 0.7;
}
.world-news-right-source{
  font-weight: normal;
  font-size: 13px;
  line-height: 15px;
  color: #5E5F61;
}

.world-news-hr{
  margin: 15px 0 ;
}


.btn{
  width: 99%;
  text-align: center;
  padding: 10px 0;
  background-color: #EAEAEA;
  border-radius: 10px;
  cursor: pointer;
}
.btn a{
  color: #000;
  font-weight: 500;
  font-size: 16px;
  line-height: 19px;
}

footer{
  background-color: var(--light-bg);
  padding: 40px 0;

}
.logo-title{
  color:#fff;
  font-weight: bold;
  font-size: 24px;
  line-height: 28px;
  transition: 0.3s all ease-in-out;
}
.logo-title:hover{
  opacity: 0.7;
}
.logo-title:active{
  opacity: 0.5;
}

.footer-nav{
  display: flex;
  flex-direction: row;
  align-items:flex-start;
  justify-content: space-between;
  padding: 15px 0;

}

.foot-nav-items{
  width: 230px ;

}

.foot-nav-items li:not(:first-child){
  margin: 20px 0;
}

.foot-nav-item-text{
  font-size: 12px;
  line-height: 19px;
  color: #FFFFFF;
  margin-top: 15px;


}

.foot-nav-item{
  text-decoration: none;
  color: #fff;
  font-size: 16px;
  line-height: 19px;
  margin: 20px 0;
}

.foot-nav-item:hover{
  opacity: 0.7;
}
.foot-nav-item:active{
  opacity: 0.5;
}

.social-media-part {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items:center;
  margin: 20px 0 40px 0;
}
.social-media-part p{
  font-size: 18px;
  line-height: 23px;
  color: #fff;

}

.social-media-icons{
  display: flex;
}
.social-media-icons img {
  margin-right: 25px;
  cursor: pointer;
}

.inside-title{
  font-style: normal;
  font-weight: 500;
  font-size: 26px;
  line-height: 36px;
  color: #000000;
  margin: 30px 0 20px 0;
}

.inside-img{
  border-radius: 13px;
  margin-bottom: 25px;
}

.inside-text{
  font-family: var(--main-font-family);
  font-style: normal;
  font-weight: normal;
  font-size: 20px !important;
  line-height: 30px;
  color: #000000;
  margin: 25px 0;

}

.inside-h{
  order: 1;
  background-color: #fdfdfd;
  max-width: 797px;
}

.article-card-devider{
  margin-bottom: 100px;
  display: flex;

}

.article-cards{
  max-width: 393px;
  padding: 20px 17px;
  margin: 20px 0;
  background-color:#EAEAEA;
  border-radius:15px ;
  display: flex;
  flex-direction: column;
}
.article-cards:not(:last-child){
  margin-right: 10px;
}
.card-title{
  font-style: normal;
  font-weight: 500;
  font-size: 20px;
  line-height: 26px;
  color: #000000;
  transition: all 0.2s ease-in-out;
  flex-grow: 1;

}

.card-title:hover{
  color: var(--accent-color);

}
.card-title:active{
  color: var(--accent-color);
  opacity: 0.7;
}



.card-text{
  font-family: var(--main-font-family);
  font-style: normal;
  font-weight: normal;
  font-size: 16px;
  line-height: 22px;
  color: #4A4B4C;
  margin-top: 10px;
  margin-bottom: 20px;
  flex-grow: 1;
}
.scr{
  margin-right: 10px;
}


.form {
  margin: 60px 0 ;
}

.form-title {
  font-family: var(--main-font-family);
  font-style: normal;
  font-weight: 700;
  font-size: 24px;
  line-height: 28px;
  color: #000000 ;
}
.form-wrapper {
  display: flex;
  margin-top: 20px;

}
.form-side {
  display: flex;
  width: 695px;
  flex-wrap: wrap;
  margin-right: 10px;

}
.form-side input{
  padding: 20px 15px;
  width: 340px;
  border-radius:10px;
  outline: none;
  border: 1px solid#000 ;
  margin-bottom: 10px;
}

.form-side input:focus{
  border-color: var(--accent-color);
}
.fname {
  margin-right: 10px;
}

.email {
  width: 696px !important;
}

.message{
  width: 696px;
  height: 180px;
  resize: none;
  padding: 20px;
  border-radius: 10px;
  outline: none;
}
.message:focus{
  border-color:var(--light-bg);
}
.btn-submit {
  padding: 17px 30px;
  background-color:var(--light-bg);
  border-radius:10px;
  border: none;
  outline: none;
  color: #fff;
  transition: all 0.3s ease-in;
}
.btn-submit:hover{
  opacity: 0.8;
}
.btn-submit:active{
  opacity: 0.6;
}


.address-side {
  background-color:var(--bg-color);
  padding: 40px 25px;
  height: 317px;
  border-radius:10px;
}

.address-side hr{
  margin: 20px 0 ;
}

.address-title {
  font-weight: 500;
  font-size: 20px;
  line-height: 24px;
  color: #000000;
  margin-bottom: 7px;
}


.address-link{
  font-weight: normal;
  font-size: 16px;
  line-height: 19px;
  color: #000000;

}


/* Modal  */
.model {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
  overflow: auto;
  display: flex;
  justify-content: center;
  align-items:center;
  background-color: rgba(0, 0, 0, 0.46);
  display: none;

}
.modal-open{
  display: flex;
}
.model-content {
  display: flex;
  flex-direction: column;
  align-items:center;
  justify-content: center;
  width: 850px;
  padding: 50px 170px ;
  background-color: #fff;
  position: relative;
  border-radius:20px;
}
.model-text {
  font-weight: 500;
  font-size: 26px;
  line-height: 34px;
  margin-bottom: 25px;

  text-align: center;

  color: #000000;
}

.bnt-coral {
  padding: 15px 40px;
  border-radius:10px;
  background-color: #F78B3B;
  border:none;
  cursor: pointer;
}
.exit {
  position: absolute;
  top: 25px;
  right: 25px;
  cursor: pointer;
}