
@media (min-width: 600px) {
    body{
        overflow-x: hidden;
    }
    .page {
        align-content: center;
    }
    .header li {
        float: left;
    }
    .header li a {
        padding: 20px 30px;
    }
    .header .menu {
        clear: none;
        max-height: none;
        display: flex;
        justify-content: center;
        justify-items: center;
    }
    .header .menu-icon{
        display: none;
    }
    .header .logo{
        display: none;
    }
    .content {
        justify-content: center;
        display: grid;
        justify-items: center;
        text-align: center;
    }
    .title1{
        margin-top: 3rem;
        font-size: 4rem;
        text-align: center;
        font-weight: 300;
        color: #2e2e2e;
    }
    .welcome{
        position: relative;
        margin-top: 2rem;
        min-width: 100%;
        justify-content: center;
        text-align: center;
        display: flex;
        height: 100%;
    }
    .welcome-picture {
        width: 100%;
        position: relative;
    }
    .welcome img {
        width: 100%;
        position: relative;
    }
    .centered-text {
        position:absolute;
        display: block;
        justify-content: center;
        text-align: center;
        color:white;
        width: 100%;
        height: 100%;
        padding: 1em;
        justify-items: center;
        margin-top: 2rem;
    }
    .title-welcome {
        display: block;
        position: relative;
        font-size: 4rem;
        font-weight: 300;
        margin-bottom: 3rem;
        text-align: center;
    }
    .text-welcome {
        display: grid;
        position: absolute;
        font-size: 25px;
        line-height: 2;
        width: 100%;
        max-height: 100%;
    }
    .banner {
        width: 100%;
        position: relative;
        height: 22rem;
    }
    .banner img {
        height: 100%;
        object-fit:cover;
    }
    .blue-block {
        width: 100%;
    }
    .text-article {
        width: 53vw;
        align-self: center;
    }
    .about {
        display:flex;
        position: relative;
        align-items: center;
        justify-content: center;
        flex-direction: row;
        flex-wrap: wrap;
        margin-bottom: 5rem;
    }
    .about-picture {
        position: relative;
        width: 20vw;
        min-width: 20vw;
    }
    .about-picture img {
        width:100%;
    }
    .about-text{
        display: grid;
        position: relative;
        grid-template-columns: 1fr;
        margin-left: 3rem;
    }
    .about-frame {
        margin-top: 2rem;
        width: 20vw;
        background-color: #70a7ff;
        position: relative;
        font-weight: bold;
        font-size: 2rem;
        padding: 2rem;

    }
    .about-article1 {
        text-align: justify;
        width: 35vw;
        font-weight: 400;
        font-size: 18px;
        color:#2e2e2e;
        line-height: 1.8;
    }
    .about-article2 {
        text-align: justify;
        position: relative;
        width: 60vw;
        font-weight: 400;
        font-size: 18px;
        color:#2e2e2e;
        line-height: 1.8;
        grid-auto-flow: row;
    }
    .line {
        border: 1px solid lightgray;
        border-radius: none;
        margin-top: 3rem;
        margin-bottom: 3rem;
    }
    .services {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    
    }
    .blue-block-services{
        background-color: #70a7ff;
        min-width: 60vw;
        max-width: 70vw;
        position: relative;
        padding: 1rem;
        padding-top: 2rem;
        padding-bottom: 2rem;
        color: black;
        font-weight: bold;
        font-size: 2rem;
    }
    .services-article {
        font-size: 25px;
        max-width: 80vw;
        line-height: 1.8;
    }
    .options {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;
        justify-content: center;

    }
    .options-grid {
        display:grid;
        grid-template-columns: 1fr;
        position: relative;
        margin-left: 2rem;
        margin-right: 2rem;
    }
    .options img {
        max-width: 30vw;
        position: relative;
        min-width: 20vw;
    }
    .opt-norm {
        display: flex;
        flex-direction: row;
        align-items: center;
    }
    .opt-rev {
        display: flex;
        flex-direction: row-reverse;
        align-items: center;
        justify-self: center;
        
    }
    .title2res {
        font-size: 25px;
        font-weight: bold;
        text-align: center;
        margin-top: 2rem;
        margin-bottom: 2rem;
        margin-left: 2rem;
        color:black;

    }
    .options-article-res{
        max-width: 25vw;
        position: relative;
        text-align: left;
        background-color: #fafafa;
        padding: 2rem;
        border-left: 9px solid #70a7ff;
        font-size: 20px;
        margin-bottom: 4rem;
        margin-left: 1rem;
    }
    .services-sentence {
        max-width: 70vw;
        text-align: center;
        font-size: 20px;
        padding-bottom: 3rem;
    }
    .contact {
    display: flex;
    flex-direction: column;
    width: 100%;
    align-items: center;
    }
    .contact-article {
        position: relative;
        line-height: 1.8;
        font-size: 25px;
        max-width: 50vw;
    }
    .contact .blue-block-services {
        color: #2e2e2e;
        margin-top: 4rem;
        min-width: 20vw;
        font-size: 25px;
    }
    .contact-banners {
        display:grid;
        grid-template-columns: 1fr 1fr;
        grid-column-gap: 1rem;
    }
    .where-contact {
        
    }
    .contact-mess {
        
    }
    .contact-adress {
        position: relative;
        font-size: 20px;
        text-align:left;
    }
    .contact-adress a {
        text-decoration: none;
        color: #70a7ff;
    }
    .form-contact {
        display: flex;
        flex-direction: column;
        flex-wrap: nowrap;
        align-items: flex-start;
        font-size: 1rem;
    }
    .form-contact input {
        min-width: 100%;
        height: 3rem;
        margin-top: 1rem;
        border:none;
        background-color: #fafafa;
    }
    .form-contact input:focus {
        box-shadow: 0px 0px 5px 2px rgba(0, 0, 0, .5);
        transition: .45s,border-color .45s ease-in-out;
        border:none;
    }
    .form-contact textarea {
        min-width: 100%;
        min-height: 10rem;
        border:none;
        background-color:#fafafa;
        margin-top: 1rem;
    }
    .form-contact textarea:focus {
        box-shadow: 0px 0px 5px 2px rgba(0, 0, 0, .5);
        transition: .45s,border-color .45s ease-in-out;
        border:none;
    }
    .form-contact label {
        margin-top: 1rem;
    }
    .form-contact #submit {
        background-color: #9ac0fc;
        margin-top: 2rem;
        font-size: 1rem;
    }
    .form-contact #submit:hover {
        background-color: #70a7ff;
        transition: 0.3s ease-in-out;
    }
    .masonry {
        max-width: 80vw;
        column-gap: 20px;
        align-items: center;
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        grid-auto-flow: dense;
        
        
    }
    .masonry .brick img {
        max-width: 22vw;
        min-width: 20vw;
        max-height: 28vh;
     
    }
    .modal {
    width: 100vw;
    height: 100%;
    max-width: 100vw;
    position: fixed;
    top: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgba(0, 0, 0, 0.733);
    margin-top: -1px;
    animation: zoom 0.3s ease-in-out;
    }
    @keyframes zoom {
        from {
            transform: scale(0);
        }
        to {
            transform: scale(1);
        }
    }
    .modal img {
    width: 50%;
    object-fit: cover;
    }
    .closeBtn {
    color: rgba(255, 255, 255, 0.87);
    font-size: 25px;
    position: absolute;
    top: 0;
    right: 0;
    margin: 20px;
    cursor: pointer;
    transition: 0.2s ease-in-out;
}
    .closeBtn:hover {
    color: rgb(255, 255, 255);
    }
}
@media (min-width: 900px){
    
    .content {
        margin-left: 10rem;
        margin-right: 10rem;
    }
    .welcome-picture {
        width: 70%;
    }
    .text-article {
        
    }
    .masonry {
        column-count: 3;
        column-gap: 20px;
    }
    .masonry .brick img {
        max-width: 22rem;
        min-height: 20rem;
        object-fit: cover;
    }
}
