* {
    padding: 0;
    margin: 0;
    text-decoration: none;
    user-select: none
}

body {
    background-color: black;
    animation: start 3s;
    user-select: none
}


@keyframes start {
    0% {opacity: 0;}
    100% {opacity: 100;}
}

.mainlogo {
  position: fixed;
  z-index: 11;
  width: auto;
  height: 95px;
  top: 9px;
  left: 25px;
}

.linkmain {
  position: fixed; /* Фиксируем меню */
  top: 120px; /* Сохраняем прежний отступ сверху */
  left: 45px; /* Сохраняем отступ слева */
  z-index: 11; /* Поверх других элементов */
  display: flex;
  padding-left: 0; /* Убираем избыточный отступ */
  margin: 0; /* Убираем лишние отступы */
}

.link1, .link2, .link3 {
  margin-right: 44px;
  display: grid;
  color: white;
  font-size: 20px;
  font-family: "Inter", serif;
  font-optical-sizing: auto;
  font-weight: 10;
  position: relative;
  z-index: 10;
}

.link1::after, .link2::after, .link3::after {
  position: absolute;
  content: '';
  left: 0;
  bottom: 0;
  display: block;
  width: 100%;
  height: 1px;
  background: white;
  width: 0;
  transition: 0.3s;
}

.link1:hover:after {
  width: 100%;
}

.link2:hover:after {
  width: 100%;
}

.link3:hover:after {
  width: 100%;
}


.head {
    margin-top: 30px;
    padding-left: 50px;
display: flex;
}

.headtext0 {
    color: white;
    font-family: "Montserrat", sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
  margin-left: 20%;
  font-size: 20px;
  text-align: right;
  z-index: 11;
}

.headtext0:hover {
    color: white;
    z-index: 11;
}

.headtext1:hover {
color: white;
z-index: 11;
}

.headtext1 {
    color: white;
    font-family: "Montserrat", sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
  margin-left: 40px;
  font-size: 20px;
  text-align: right;
  z-index: 11;
}

.main {
  margin-top: 110px;
}

.face {
    position: relative;
    margin-top: 10%;
    display: flex;
    margin-left: auto;
    margin-right: auto;
    justify-content: center;
    text-align: center;
    max-width: 100%
}


.myphoto1 {
width: 338px;
height: 450px;
z-index: 1;
position: relative;
justify-content: center;
text-align: center;
display: flex;
max-width: 100%;
/*animation: startwebdown 1.5s;
animation-direction: reverse;*/
}

.myphoto2 {
    width: 338px;
    height: 356px;
    margin-left: -338px;
    margin-top: 94px;
    z-index: 10;
    position: relative;
    justify-content: center;
    text-align: center;
    opacity: 0;
    animation: img0 0.5s;
    display: flex;
    }


    .myphoto2:hover {
        animation: img1 0.5s;
        opacity: 100;
    }

@keyframes img1 {
    0% {opacity: 0;}
    100% {opacity: 100;}
}

@keyframes img0 {
    0% {opacity: 100;}
    100% {opacity: 0;}
}

    .Ftext {
        margin-top: 15%;
        justify-content: center;
text-align: center;
position: absolute;
max-width: 100%
    }

    .name {
        margin: 0;
        font-size: 80px;
        opacity: 80%;
        color: white;
        font-family: "Cormorant", serif;
  font-weight: 400;
  font-style: normal;
        justify-content: center;
    text-align: center;
    position: relative;
    z-index: 11;
    max-width: 100%
    }

    .prof {
        margin: 0;
        font-size: 140px;
        opacity: 80%;
        color: white;
        font-family: "Cormorant", serif;
  font-weight: 400;
  font-style: normal;
        justify-content: center;
    text-align: center;
    position: relative;
    z-index: 3;
    max-width: 100%
    }

    
    .year {
        margin: 0;
        opacity: 80%;
        color: white;
        font-family: "Cormorant", serif;
  font-weight: 400;
  font-style: normal;
        justify-content: center;
    text-align: center;
    position: relative;
    z-index: 3;
    max-width: 100%
    }

.link {
    margin-top: 12%;
    margin-bottom: 12%;
    text-decoration: none;
    z-index: 10;
}

   .link {
    font-size: 50px;
    color: white;
    font-family: "Cormorant", serif;
font-weight: 400;
font-style: normal;
    justify-content: center;
text-align: center;
position: relative;
text-decoration: none;
   }

   .linktext0:hover {
    color: #b5b5b6;
   }

   .linktext1:hover {
    color: #b5b5b6;
   }

   .linktext2:hover {
    color: #b5b5b6;
   }

   .linktext3:hover {
    color: #b5b5b6;
   }

   .linktext0, .linktext1, .linktext2, .linktext3 {
    color: white;
    text-decoration: none;
   }

   .main {
    display: flex;
    justify-content: center;
text-align: center;
position: relative;
   }

   .copyright {
    position: fixed; /* Фиксированное положение на экране */
    bottom: 10px; /* Отступ снизу */
    left: 10px; /* Отступ слева */
    font-size: 14px; /* Размер шрифта */
    color: rgba(255, 255, 255, 0.7); /* Полупрозрачный белый текст */
    font-family: 'Montserrat', sans-serif; }

   @media (max-width: 900px) {
   
    .copyright {
      font-size: 10px;
  }

.main {
  margin-top: 90px;
}

    .name {
        font-size: 60px;
        
    }

    .prof {
        font-size: 85px;
    }

    .Ftext {
        margin-top: 40%;
    }

    .link {
        font-size: 30px;
    }

.head {
    opacity: 0;
}

.mainlogo {
    position: fixed;
    height: 50px;
    left: 7px;
}

.linkmain {
  top: 70px; /* Снижаем отступ для маленьких экранов */
  left: 20px; /* Уменьшаем отступ слева */
  padding-left: 0;
  margin-top: 0;
  margin-bottom: 80px;
}

.link1, .link2, .link3 {
    font-size: 15px;
}
   }


   .backg {
    position: fixed;
    z-index: 9;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    overflow: hidden;
    width: 100%;
    height: 100vh;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    opacity: 0.3;
  }

  .backg-overflow {
    position: relative;
    width: 300%;
    height: 300%;
    background-image: url('img/texture.png');
    background-position: 0px 0px;
    background-size: 396px;
    opacity: 1;
    animation: rt 0.5s infinite;
    animation-timing-function: steps(4, end);
  }

  @keyframes rt {
  to {
    transform : rotate(90deg);
  }
  }


  @keyframes startwebdown {
    to {
        margin-top: -50px;
        margin-bottom: 50px;
    }
  }

  
  
  
  
  