/* Общие */
@font-face {
  font-family: 'Arturo';
  src: url('../fonts/Arturo-Regular.woff2') format('woff2');
  font-weight: normal;
  font-style: normal;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: antialiased;
}
@font-face {
  font-family: 'Actinia';
  src: url('../fonts/Actinia-Bold.woff2') format('woff2');
  font-weight: bold;
  font-style: normal;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: antialiased;
}
:root {
  --bg-blue: #f1f2ff;
  --text-violet: #400c60;
  --obj-blue: #c9ccf7;
  --obj-yel: #f5eddd;
  --obj-green: #e0ebd4;
  --obj-red: #f4e2e6;
  --title_size_land: 3vw;
  --text_size_land: 1.1vw;
  --title_size_port: 4vh;
  --text_size_port: 2vh;
}
* {
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  font-family: 'Arturo', 'Actinia';
  -webkit-transition: background 0.3s;
  -moz-transition: background 0.3s;
  -ms-transition: background 0.3s;
  -o-transition: background 0.3s;
  transition: background 0.3s;
  scroll-behavior: smooth;
  color: var(--text-violet);
}
a {
  text-decoration: underline;
  color: var(--text-violet);
  cursor: pointer;
}
ul {
  padding: 0;
}
.title {
  font-family: 'Actinia';
  text-align: center;
  font-size: var(--title_size_land);
  padding: 2vh 0;
}
.text {
  padding: 2vh 0;
  font-size: var(--text_size_land); 
}

/* Шапка */
.header {
  position: relative;
  max-width: 100%;
  margin: auto;
  background-color: var(--bg-blue);
  height: 100svh;
  background-size: cover;
  background-position: center;
}
.heading {
  margin: 0 auto;
  width: 100%;
  height: 100svh;
  display: flex;
}
.container {
  position: fixed;
  padding: 0;
  width: 100%;
  top: 0;
  left: 0;
  height: 50px;
  transition: 0.3s top;
  z-index: 20;
  background-color: #ffffff00;
}
.container:before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 60px;
}
.header_burger {
  display: none;
}
.home {
  width: 40px;
  height: 40px;
  float: left;
  transition: 0.1s;
  padding: 5px 0;
}
.header_list a {
  text-decoration: none;
  display: inline-block;
  font-size: 0.85vw;
  letter-spacing: 0.8px;
  font-family: 'Arturo';
}
.header_body {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: var(--bg-blue);
  box-shadow: 0 0.4em 5px rgba(122,122,122,0.2)
}
.header_list {
  display: flex;
  padding: 15px 0 0 0;
}
.header_list li {
  list-style: none;
  width: 150px;
  margin: 0 0 10px 10px;
  text-align: center;
  transition: 0.1s;
}
.header_list li:hover, .home:hover {
  transform: scale(0.9);
}

/* Главная */
.group_1 {
  width: 45%;
  display: flex;
}
.div_dots3 {
  width: 33%;
  display: grid;
  align-items: end; 
}
.dots3 {
  width: 90%;
}
.div_dots1 {
  width: 22%;
  display: grid;
  align-items: start;
}
.dots1 {
  width: 30%;
}
.div_dots2 {
  width: 5%;
  display: grid;
  align-items: end;
  position: relative;
  left: -5%;
}
.dots2 {
  width: 150%;
}
.div_objects {
  width: 44%;
  position: relative;
  left: -10vw;
  display: grid;
  align-items: end;
  padding: 0 0 8vh 0;
}
.objects {
  width: 200%;
}
.main_text {
  width: 20%;
  display: grid;
  align-items: center;
  align-content: center;
}
.head_name {
  color: var(--text-violet);
  font-size: 4vw;  
  font-family: 'Actinia';
}
.head_ion {
  color: var(--text-violet);
  font-size: 8vw;  
  padding: 1vh 0 0 0;
  font-family: 'Actinia';
}
.div_logos {
  width: 30%;
  display: grid;
  align-content: center;
  justify-items: center;
}
.ipf_logo {
  width: 70%;
}
.ion_logo {
  width: 90%;
  z-index: 10;
}

/* Обучение */
.education {
  margin: 10vh auto;
  width: 1200px;
}
.education > .inner {
  display: grid;
}
.scheme_education {
  display: flex;
}
.education > .inner > .about {
  padding: 0 0 4vh 0;
  text-align: center;
  font-size: var(--text_size_land);
}
.scheme_elem {
  width: 25%;
  border-radius: 10%;
}
.arrow {
  width: 12.5%;
  display: grid;
  align-items: center;
}
.arrow1, .arrow2 {
  width: 104%;
  position: relative;
  left: -2%;
  z-index: 15;
}
.bg-red {
  background-color: var(--obj-red);
}
.bg-yel {
  background-color: var(--obj-yel);
}
.bg-blue {
  background-color: var(--obj-blue);
}
.bg-green {
  background-color: var(--obj-green);
}
.scheme_title {
  font-family: 'Actinia';
  font-size: calc(var(--title_size_land) * 0.9);
  position: relative;
  top: -10%;
}
.scheme_date {
  font-size: var(--text_size_land);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  top: -7%;
}
.scheme_descr {
  font-size: var(--text_size_land);
  padding: 20px 20px 10px 25px;
  position: relative;
  top: -7%;
}

/* Занятия и наука */
.cl_sc {
  margin: 10vh auto;
  width: 1200px;
  display: flex;
  align-items: center;
}
.conference {
  margin: 10vh auto;
  width: 1200px;
  text-align: center;
}
.classes, .science {
  width: 45%;
}
.classes {
  margin: 0 5% 0 0;
}
.science {
  margin: 0 0 0 5%;
}
.slider_about {
  margin: 2vh 0;
}
.ph {
  width: 100%;
  aspect-ratio: 3/2;
  border-radius: 20px;
}

/* Конференция */
.text_divide {
  display: flex;
  margin: 2vh 0;
  justify-content: center;
  font-size: var(--text_size_land);
}
.text_left {
  width: 35%;
  margin-left: 15%;
  text-align: left;
}
.text_right {
  width: 45%;
  margin-right: 5%;
  text-align: left;
}
.reg_href {
  font-size: calc(var(--text_size_land) * 1.1);
  padding: 0.5vh 0;
}
.photo_conf {
  width: 90%;
}

/* Документы */
.docs, .contacts {
  width: 1200px;
  margin: 0 auto 10vh auto;
}
.tables {
  display: flex;
}
.half_table {
  width: 50%;
}
table {
  margin-left: auto;
  margin-right: auto;
  border-spacing: 0;
  padding: 2vh 2.5%;
}
.table_title {
  font-size: calc(var(--text_size_land) * 1.2);
  text-align: center;
}
.name {
  width: 90%;
  padding: 2vh;
  font-size: var(--text_size_land);
  text-align: left;
}
.link {
  width: 10%;
  padding: 1vh 2vh;
  align-items: center;
}
.ic_link {
  width: 3vh;
  height: auto;
}
tr:nth-child(odd) {
	background-color: var(--bg-blue);
}
.pdf {
  width: 4vh;
  height: auto;
}

/* Контакты */
.contacts {
  margin: 0 auto 3vh auto;
}
.logos_cont {
  display: flex;
  justify-content: center;
  padding: 2vh 0;
}
.email {
  font-size: var(--text_size_land);
  padding: 0.5vh 0;
  display: flex;
  justify-content: center;
  align-items: center;
}
.cont_icon {
  width: 8vh;
}
.icon_mail, .icon_tel {
  width: auto; 
  height: 2vh;
  padding: 0 1vh;
  color: var(--text-violet);
}
.tel {
  padding: 0 0 0 2%;
}

/* Экраны альбомной ориентации до квадратных*/
@media screen and (max-aspect-ratio: 1/1) {

  /* Перегруппировка элементов главной страницы*/
   .div_dots2 {
    order: 1;
    width: 90%;
    height: 10%;
    left: 10%;
    top: 5%;
  }
  .dots2 {
    width: 15%;
    transform: rotate(180deg);
  }
  .div_logos {
    order: 2;
    display: flex;
    align-items: center;
    width: 100%;
    height: 20%;
    position: relative;
    top: 5%;
  }
  .ipfran, .ion {
    width: 40%;
    margin: 0 auto;
  }
  .ipfran {
    display: flex;
    justify-content: flex-end;
  }
  .ipf_logo, .ion_logo {
    width: 70%;
  }
  .main_text {
    order: 3;
    height: 40%;
    width: 100%;
    justify-content: center;
    margin-top: 1vh;
  }
  .group_1 {
    order: 4;
    width: 100%;
    height: 35%;
    justify-content: space-between;
    align-items: flex-end;
  }
  .div_dots1 {
    order: 1;
    width: 20%;
    align-items: end;
    justify-items: center;
  }
  .dots1 {
    transform: rotate(180deg);
  }
  .div_objects {
    padding: 0;
    width: 45%;
    order: 2;
    left: 0;
  }
  .objects {
    width: 140%;
    position: relative;
    left: -35%;
  }
  .div_dots3 {
    order:3;
    position:relative;
    width:35%;
    justify-items: end;
  }
  .dots3 {
    transform: scaleX(-1);
    width: 70%;
  }
  .heading {
    flex-direction: column;
  }
  .head_name {
    font-size: 8vw;
  }
  .head_ion {
    font-size: 16vw;
    z-index: 15;
  }
}

/* Экраны портретной ориентации или экраны менее 1200 пикселеЙ шириной*/
@media (orientation: portrait) or (max-width: 1200px){

  /* Общие */
  li {
    list-style-type: none;
  }
  ul {
    padding: 10px 0 ;
  }
  .title {
    font-size: var(--title_size_port);
  }
  .education > .inner > .about,
  .scheme_descr, .text, .text_divide,
  .reg_href, .name, .email {
    font-size: var(--text_size_port);
  }
  .scheme_title {
    font-size: calc(var(--title_size_port) * 0.9);
    top: -7%;
  }
  .scheme_date {
    font-size: calc(var(--text_size_port) * 0.9);
    top: 0;
  }
  .table_title {
    font-size: calc(var(--text_size_port) * 1.2);
  }

  /* Шапка */
  .container:before {
    z-index: 5;
  }
  .home {
    z-index: 7;
    float:inline-start;
  }
  .header_burger {
    display: block;
    position: relative;
    width: 30px;
    height: 20px;
    z-index: 7;
  }
  .header_burger.active:before {
    transform:rotate(45deg);
    top: 9px;
  }
  .header_burger.active:after {
    transform:rotate(-45deg);
    bottom: 9px;
  }
  .header_burger.active > span {
    transform: scale(0);
  }
  .header_burger:before, .header_burger:after {
    content: '';
    background-color: var(--text-violet);
    position: absolute;
    width: 100%;
    height: 2px;
    left: 0;
  }
  .header_burger:before {
    top: 0;
    transition: all 0.5s ease 0s;
  }
  .header_burger:after {
    bottom: 0;
    transition: all 0.5s ease 0s;
  }
  .header_burger > span {
    position: absolute;
    background-color: var(--text-violet);
    left: 0;
    width: 100%;
    height: 2px;
    top: 9px;
  }
  .header_menu {
    position: fixed;
    top: -100%;
    left: 0;
    width: 100%;
    height: auto;
    background-color: var(--bg-blue);
    transition: all 0.5s ease 0s;
  }
  .header_menu.active {
    top: 0;
    transition: all 0.5s ease 0s;
  }
  .header_body {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
  }
  .header_list {
    padding: 60px 0 0 0;
    flex-direction: column;
  }
  .header_list li {
    width: 100%;
    text-align: center;
    margin: 0;
    padding: 10px 0;
    border-top: 0.5px solid var(--text-violet);
    border-bottom: 0.5px solid var(--text-violet);
  }
  .header_list li:hover {
    border-bottom: none;
    transform: none;
  }
  .header_list a {
    font-size: var(--text_size_port);
  }

  /* Уменьшение блоков */
  .education, .cl_sc, .conference, .docs, .contacts {
    display: block;
    width: 90%;
  }
  .classes, .science {
    width: 100%;
    margin: 0 auto;
  }

  /* Поворот схемы обучения */
  .scheme_education {
    display: grid;
  }
  .scheme_elem {
    width: 50%;
    margin: 0 auto;
    position: relative;
    top:5%;
  }
  .arrow {
    transform: rotate(90deg);
    margin: 0 auto;
  }

  /* Занятия и наука в 1 колонку */
  .text_divide {
    flex-direction: column;
    align-items: center;
    margin: 0 auto;
    width: 100%;
  }
  .text_left, .text_right {
    width: 70%;
    text-align: center;
  }
  .text_left {
    margin: 2vh 0 1vh 0;
  }
  .text_right {
    margin: 1vh 0 2cqi 0;
  }

  /* Документы в 1 колонку */
  .tables {
    display: block;
  }
  .half_table {
    width:100%;
  }

  .photo_conf {
    width:100%;
  }

  /* Иконки контактов*/
  .icon_mail, .icon_tel {
    width: 5%; 
  }
  .FIO {
    width: 50%;
  }
  .tel {
    width: 45%;
  }
}

/* Не помню для чего, но видимо надо*/
@media (max-width: 800px) {
  .scheme_elem {
    width: 70%;
  }
}