@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,400;0,500;1,600&display=swap');

html, body {
    width: 100%;
    height: 100%;
    max-height: 100%;
    display: flex;
    flex-direction: column;
    font-family: Montserrat;
}

.logo {
    width: 15rem;
    height: auto;
    position: absolute;
    top: 20px;
    left: 20px;
}

main {
    display: flex;
    height: 100%;
    max-height: 100%;
}

#left, #rigth {
    display: flex;
    flex-direction: column;
}

#left {
    width: 30%;
    min-width: 400px;
    background: #3333cc;
    color: #fff;
    align-items: center;
    justify-content: center;
    padding: 0 20px;
    text-align: center;
}

#left h1 {
    font-weight: bold;
    font-size: 4rem;
    margin: 0 0 2rem;
}

#left h2 {
    font-weight: bold;
    font-size: 1.6rem;
    margin: 0 0 2rem;
}

#left h3 {
    font-size: 1rem;
    font-weight: normal;
}

#left a {
    width: 90%;
    height: 55px;
    margin: 4rem 0 0;
    background: #fff;
    color: #3333cc;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1rem;
    border-radius: 7px;
    box-shadow: 0 0 20px rgba(0, 0,0,.1);
    cursor: pointer;
    transition: .3s;
}

#left a:hover {
    opacity: .8;
    transform: translateY(-2px);
}

#rigth {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1;
}

#rigth img {
    width: auto;
    max-width: 80%;
    height: auto;
    max-height: 80%;
    transition: .5s;
}

.mobile {
    display: none;
}

.desk {
    display: flex;
}

#rigth img:hover {
    transform: translateY(-10px);
}

@media(max-width: 800px) {
    #left {
        width: 100%;
        background: #fff;
        color: #3333cc;
    }
    
    #left a {
        background: #3333cc;
        color: #fff;
    }

    #rigth {
        display: none;
    }

    .mobile {
        display: flex;
    }
    
    .desk {
        display: none;
    }
}