/* Обнуление стилей */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Основные стили */
body {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    font-family: "Roboto Condensed", sans-serif;
    background-image: url(../img/photo1720191757.jpg);
    flex-direction: column;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

nav {
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 100px;
}

nav a {
    font-size: 2em;
    color: #ffffff;
    text-decoration: none;
}

nav a:hover {
    background-color: rgb(63, 63, 63);
}


.link{
    padding: 20px 100px;
    background-color: rgba(63, 63, 63, 0.575);
    border-radius: 20px;
    transition: all .2s;
}

.img{
    display: none;
    position: absolute;
    top: 0;
    width: 100%;
    height: 200px;
    border-radius: 0px 0px 200px 200px / 0px 0px 50px 50px;
}

.imga{
    display: none;
    position: absolute;
    top: 0;
    border-radius: 100%;
    max-width: 100px;
    border: 1px solid #fff;
    margin-top: 150px;
}


.image {
    width: 600px;
    overflow: hidden;
  }
  
  .image img {
    margin: auto;
    display: block;
    transition: opacity .5s;
    width: 600px;
  }
  
  .image img:hover {
    opacity: 0;
  }
  
  .image__wrap {
    background-position: 50% 50%;
    position: relative;
    width: 100%;
    overflow: hidden;
    cursor: zoom-in;
  }
  
  @media screen and (max-width: 500px) {
    .img {
        display: block;
    }
    .imga {
        display: block;
    }
}


  @media screen and (max-width: 350px) {
    .link{
        padding: 15px 20px;
        width: 250px;
        text-align: center;
    }
}