@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
img {
    max-width: 100%;
}
body {
      font-family: "Montserrat", sans-serif;
      color: #0D4BA0;
}
main {
        position: relative;
    background-image: url(assets/aqua_palack_latvany_webhez_bg_2.jpg);
    height: 100vh;
    width: 100%;
    background-repeat: no-repeat;
    background-size: cover;
    padding: 25px;
    background-position: center -250px;
}
.palack_2 {
    display: none;
}
.overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 30vh;
    background: linear-gradient(
        to top,
        rgba(255,255,255,1) 0%,
        rgba(255,255,255,0) 100%
    );
    z-index: 1;
}
.content {
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 80px;
    padding-right: 80px;
    padding-bottom: 25px;
    z-index: 99;
      position: relative;
    z-index: 2;
    max-width: max-content;
    margin: auto;
}
.content img {
    height: 80vh;
}
.content_right {
    display: flex;
    flex-direction: column;
    gap: 30px;
}
.content_right_bottom {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
h1 {
    font-size: 52px;
    font-weight: 700;
    line-height: 1;
}
p {
    font-size: 16px;
    font-weight: 500;
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: nowrap;
}
p img {
    width: 30px;
    max-height: 30px;
}
.no-wrap {
  white-space: nowrap;
}
a {
    text-decoration: none;
    color: #0D4BA0;
}
@media (max-width: 1025px){
    .content {
        padding-top: 60px;
    }
}
@media (max-width: 900px) {
    .content > img {
        max-height: 65vh;
    }
    .content {
        padding-top: 50px;
    }
}

@media (max-width: 715px) {
      .palack_1 {
    display: none;
   }
   .palack_2 {
    display: block;
   }
    .content {
        flex-direction: column;
        align-items: flex-start;
        justify-content: center;
        padding-right: 0;
        padding-top: 10px;
    }
    .content > img {

    }

}
@media (max-width: 500px) {
  .content {
    margin: auto;
        align-items: flex-start;

    }
 
   .content_right {
    align-items: flex-start;
    justify-content: flex-start;
   }

}
@media (max-width: 410px) {
 
    .content > img {
        width:auto;
        height: auto;
    }
    .overlay {
        height: 90vh;
    }

}