@import url('https://fonts.googleapis.com/css2?family=Ubuntu+Condensed&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Ojuju:wght@200..800&display=swap');

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  list-style: none;
  text-decoration: none;

}

html{
  scroll-behavior: smooth;
  width: 100%;
  overflow-x: hidden;
}

body {
  font-family: "Ojuju";
  background: #f6f1f1;
  overflow-x: hidden;
  width: 100vw;
}


section {
  max-width: 100vw;
}

:root {
  --white: #f6f1f1;
  --lightblue: #afd3e2;
  --blue: #19a7ce;
  --darkblue: #146c94;
}
input{
  outline: none;
  border: none;
  background: transparent;
  left: 0;
  text-align: start;
  font-size: 1.2rem;
}

/* -----------------------General------------------------ */

h1 {
  font-family: "RobotoMono-Bold";
  color: var(--blue);
  font-size: 55px;
  text-align: center;
}

a {
  color: black;
}

hr {
  border: none;
  height: 3px;
  background-color: var(--blue);
  margin: 0 15% 50px;
}

.paragraph {
  font-size: 20px;
}

.title {
  text-align: center;
  margin: 5% 0 0;
}

.button {
  border: var(--white) 2px solid;
  background: var(--white);
  box-shadow: -6px -6px 14px rgba(255, 255, 255, 0.7),
    -6px -6px 10px rgba(255, 255, 255, 0.5),
    6px 6px 8px rgba(255, 255, 255, 0.075), 6px 6px 10px rgba(0, 0, 0, 0.15);
  transition: 0.5s;
  text-align: center;
  border-radius: 15px;
  z-index: 2;
}

.button:hover {
  box-shadow: -2px -2px 6px rgba(255, 255, 255, 0.6),
    -2px -2px 4px rgba(255, 255, 255, 0.4),
    2px 2px 2px rgba(255, 255, 255, 0.05), 2px 2px 4px rgba(0, 0, 0, 0.1);
  color: var(--blue);
}


/* -----------------Main------------------- */

.main {
  background: #afd3e280;
  border-radius: 0 0 50px 50px;
  display: flex;
  align-items: center;
  padding: 100px 30px;
  width: 100%;
  z-index: 0;
  position: relative;
  top: 0;
}

.main__photo {
  width: 27%;
  margin-right: 4%;
  border-radius: 2%;
}

.main__content__title {
  color: var(--darkblue);
  font-size: 48px;
  font-weight: 500;
}

.main__content__subtitle {
  text-align: start;
  font-weight: 700;
  margin: 2% 0 0;
}

.main__content__paragraph {
  color: #19a7ce;
  font-size: 35px;
  font-weight: 400;
  margin: 3% 0;
  width: 80%;
}

.main__content-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  width: 45%;
}


/* --------------------Biography--------------------- */

.biography {
  padding: 0 12%;
  margin: 5% 0;
}

.biography__cards {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1vw;
}

.biography__cards__item {
  background: #c7eeff5e;
  color: #146c94;
  border-radius: 15px;
  width: 23%;
  height: 350px;
  box-shadow: -6px -6px 14px rgba(255, 255, 255, 0.7),
    -6px -6px 10px rgba(255, 255, 255, 0.5),
    6px 6px 8px rgba(255, 255, 255, 0.075), 6px 6px 10px rgba(0, 0, 0, 0.15);
  padding: 20px;
  text-overflow: unset;
  transition: 0.2s ease-in-out;
}

.biography__cards__item:hover {
  box-shadow: -2px -2px 6px rgba(255, 255, 255, 0.6),
    -2px -2px 4px rgba(255, 255, 255, 0.4),
    2px 2px 2px rgba(255, 255, 255, 0.05), 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.biography__cards__item__image {
  width: 40%;
  margin: 0 28%;
}

/* --------------------------Videos------------------------- */

.videos__container {
  margin: 20px 6%;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}

.videos__container__photo {
  width: 20% !important;
}
.videos__item{
  width: 40%;
  padding: 0 4% 2% 0;
}

.video::before {
  background-color: black;
  content: 'Lorem Ipsum';
  display: block;
  width: 100px;
  height: 100px;
  z-index: 1000;
}

.videos__more {
  position: relative;
  width: min-content;
  margin: 0 20px;
  box-shadow: -20px 0 90px 40px rgb(246, 241, 241);
  text-align: center;
}


.videos__container__glav{
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: row;
  text-align: center;
}
.videos__container__photo{
  width: 10%;
  height: 20%;
  padding:0 2%  0 0;
}

.videos__more-text {
  font-size: 120%;
  margin-bottom: 10px;
}

.videos__more-button {
  width: 64px;
  height: 64px;
  padding: 10px 0;
  font-size: 250%;
  border-radius: 50%;
  transition: 0.2s ease-in-out;
}

/* ----------------My Attainment------------------ */

.my-attainment {
  width: 100vw;
  margin: 70px 0 0;
}

.my-attainment--h1 {
  text-align: center;
}

.my-attainment__images {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.my-attainment__img {
 max-width: 20%;
 height: 200px;

}

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

.my-attainment__button {
  margin: 50px 0;
  display: flex;
  align-items: center;
  padding: 12px 20px;
  font-size: 100%;
}
.atteinment-btn{
  display: flex;
  justify-content: center;
  align-items: center;
}

.my-attainment__button__icon {
  width: 12px;
}
.my-attainment__button__icon img{
  width: 20%;
}

.cards__img img {
  max-width: 300px;
}


/* ---------------Patents-------------------- */
.patents{
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}
.patents hr{
  color: #19a7ce;
  font-size: 10px;
  width: 70%;
  text-align: center;
}

.patents__images{
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  width: 100%;
  padding: 0 0 4% 0;
}
.patent__item{
width: 15%;
height: 25%;
padding: 0 1%;
}

.button-patents{
  display: flex;
  justify-content: center;
  flex-direction: row;
  align-items: center;
 padding: 12px 20px;
  text-align: center;
}



/* ---------------Direction------------------ */

.map__h1 {
  text-align: center;
}

.maps {
  margin: 60px 8%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.maps iframe {
  width: 30%;
  margin: 30px 0;
}

.connection {
  margin: 30px 5%;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.connetion__item {
  width: 450px;
  margin: 20px 0;
}

.connection__h {
  margin-bottom: 20px;
  color: #146c94;
}

.connection__paragraph {
  color: #19a7ce;
}


.connection__img {
  width: 20px;
  margin: 13px 10px 0 0;
}

/* ---------------Footer------------------ */

.footer {
  background: #afd3e280;
  padding: 50px 0;
  border-top-right-radius: 30px;
  border-top-left-radius: 30px;
}

.footer__h2 {
  color: var(--darkblue);
  font-size: 140% !important;
}

.footer_nav-list {
  display: flex;
  justify-content: space-around;
  align-items: center;
  color: var(--blue);
}

.footer__logo {
  display: flex;
  justify-content: start;
  width: 80px;
  height: 80px;
}

.footer__icon {
  font-size: 32px;
  text-align: center;
  background: #f6f1f1a4;
  border-radius: 10px;
  box-shadow: -3px -3px 14px #afd3e2c7,
    -3px -3px 10px #afd3e27f,
    6px 6px 8px #afd3e24f, 6px 6px 10px rgba(0, 0, 0, 0.15);
  position: static;
  padding: 0 5px;
  transition: 0.2s ease-in-out;
}

.footer__icon:hover {
  box-shadow: -2px -2px 6px #afd3e2c6,
    -2px -2px 4px #afd3e26c,
    2px 2px 2px #afd3e229, 2px 2px 4px rgba(0, 0, 0, 0.1);
  color: var(--blue);
}

.fot-input{
  background-color: var(--white);
  padding: 10px;
  margin: 10px 0 0 0;
  box-shadow: 5px 2px 16px var(--white);
  border-radius: 20px;
  overflow-x: scroll;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  padding: 60px 20px;
  flex-direction: row;
}

.footer-nav__column {
  padding: 0;
  line-height: 30px;
}

.contacts__footer {
  color: var(--blue);
  padding: 0 0 0 5%;
}

.footer-nav-a {
  color: var(--blue);
  font-size: 110%;
  margin: 10px 0 0 0;
  transition: 0.3s ease-in-out;
  text-overflow: ellipsis;
}

.footer-nav-a:hover {
  color: #af85e3;
  text-decoration: none;
}

.contacts_nav-a i {
  font-size: 20px;
  padding: 0 5px 0 0;
}

.contacts_nav-icon {
  margin: 2px 10px;
}

.input {
  display: flex;
  flex-direction: column;
}

.footer__button {
  padding: 5px 15px;
  font-size: 17px !important;
  font-size: 20px;
  margin: 20px 19%;
  box-shadow: -2px -2px 14px rgba(255, 255, 255, 0.7),
    -2px -2px 10px rgba(255, 255, 255, 0.5),
    6px 6px 8px rgba(255, 255, 255, 0.075), 6px 6px 10px rgba(0, 0, 0, 0.15);
}

.footer-2line {
  color: var(--blue);
  font-size: 20px;
  text-align: center;
  color: #146c94;
}

.fotter-license {
  padding: 30px 0 0 0;
}

.footer-license__icon {
  color: #146c94;
}

/* scroll-top-button */
.scroll-top {
  position: fixed;
  right: 0;
  bottom: 1%;
  font-size: 100%;
  border:  grey;
  filter: blur(0.5px);
  background: #cdcbcb;
  color: black;
  padding: 1.2%;
  border-radius: 75%;
  cursor: pointer;
}