/* Set the font size based on the viewport width */
*{
  text-transform: none;
}

html {
  font-size: calc(10px + 0.5vw);
}

body {
  margin: 0;
  padding: 0;
  font-family: 'Montserrat', sans-serif;
}
  
.boris{
  height: 100vh;
  margin: 0 auto;
  display: flex;
  margin-left: clamp(150px, 300px, 350px);
  margin-right: clamp(150px, 300px, 350px);
  align-items: center;
} 

.boris .photo {
  margin: 40px;
  max-width: 1200px;
}

.boris .photo img {
  min-height: 60vh;
  max-height: 70vh;
  height: auto;
  transition: opacity 0.3s ease;
  border-radius: 25px;
  border: 2px solid black;
}

.boris .text{
  max-width: 700px;
}

.boris .text h1{
  margin-bottom: 30px;
  font-size: 50px;
}
.boris .text p{
  font-size: 21px;
}

.boris a.button{
  text-align: center;
  display: block;
  font-size: 1.5em;
  text-decoration: none;
  color: #fff;
  background-color: #000;
  padding: 10px 20px;
  border-radius: 30px;
  transition: all 0.3s ease;
  margin: 20px auto 0;
  max-width: 300px;
}

.boris a.button:hover{
  background-color: red;
}

@media only screen and (max-width: 1300px) {
  /* Update the flexbox layout for smaller screens */
  .boris{
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 130vh;
    margin-left: 10px;
    margin-right: 10px;
  }

  .boris .photo {
    margin: 20px 0;
    align-items: center;
  }

  .boris .photo img {
    min-height: 400px;
    margin: 10px 0;
    border-radius: 10px;
      max-height: 400px;
      max-width: 300px;
      overflow: hidden;
  }

  .boris .text h1{
    font-size: 40px;
  }

  .boris .text p{
    font-size: 18px;
    margin-bottom: 10px;
  }

  .boris a.button{
    margin-top: 10px;
  }
  .text{
    margin-bottom: 30px;
    margin-right: 10px;
    margin-left: 13px;
  }
}  

  

  

  
  