html, body {
    padding: 0;
    margin: 0;
}

body {
    background-color: hsl(234, 29%, 20%);
    padding: 0;
    font-family: 'Roboto', sans-serif;
}

.main-div {
    margin: 17vh auto 0 auto;
    display: grid;
    background-color: white;
    grid-template-columns: 1fr 1fr;
    width: auto;
    padding-right: 18px;
    padding-top: 18px;
    padding-bottom: 18px;
    border-radius: 20px;
    max-width: 900px;
}

.img-div {
   width: 100%;
   height: 100%;
}

.img-div img {
    height: 100%;
    max-height: 60vh;
    width: 100%;
    object-fit: cover;
    padding-top: 1px;
    border-radius: 20px;
}

.left-side {
    padding-left: 50px;
    padding-top: 30px;
}

h2 {
    font-size: 40px;
    position: relative;
    top: 10px;
}

h3 {
    font-size: 16px;
    font-weight: normal;
}

h4 {
    font-size: 13px;
    position: relative;
    bottom: 2px;
    display: inline;
}

.error-email {
    position: relative;
    padding-left: 130px;
    color: hsl(4, 100%, 67%);
    display: none;
}

ul {
    line-height: 30px;
    list-style-type: none;
    padding: 0px
}

li {
    background-image: url(assets/images/icon-list.svg);
    background-repeat: no-repeat;
    background-position: left;
    padding-left: 30px;
}

button {
    padding: 15px 61px;
    color: hsl(0, 0%, 100%);
    background-color: hsl(235, 18%, 26%);
    border-radius: 10px;
    font-size: 14px;
    margin-top: 22px;
    font-weight: 700;
}

button:hover {
    cursor: pointer;
    background: linear-gradient(to right, hsl(4, 100%, 67%), orange);
    box-shadow: 10px 5px 20px  hsl(4, 100%, 67%)
}

.email-box {
    padding: 15px 152px 15px 18px;
    border-radius: 10px;
    border-color: hsl(0, 0%,58%);
    border-width: 1px;
}

/*media query*/

@media (max-width: 620px) {
    .main-div {
        grid-template-columns: 1fr;
        margin: 0 auto;
        max-width: 95vw;
        box-sizing: border-box;
    }
    .img-div {
        order: -1;
        width: 107%;
        height: 100%;
        position: relative;
        bottom: 20px;
    }
    .right-img {
        display: none;
    }
    .right-img2 {
            display: block;
            width: 100vw;
            height: 40vh; 
            object-fit: cover;
            margin: 0;
            padding: 0;
            border-radius: 0
        
        
    }
    .email-box {
        width: 100%;
        max-width: 100%;
        padding: 15px;
        box-sizing: border-box;
        margin-top: 15px;
      }
    
      button {
        width: 100%;
        padding: 15px 0;
      }
    body {
        background-color: white;
    }

    .left-side {
        position: relative;
        bottom: 48px;
        right: 12px;
        
    }
}

@media (min-width: 620px) {
    .right-img2 {
        display: none;
    }
}

/*Javascript success box*/

.hidden-div {
    display: none;
    margin: 17vh auto;
    background-color: white;
    border-radius: 15px;
    padding: 6vh 4vw;
    width: auto;
    max-width: 400px;
}

.hidden-button {
    margin-left: 9%;
    padding-left: 105px;
    padding-right: 105px;
}

h1 {
    font-size: 46px;
    padding-left: 14px
}

span {
    font-weight: bold;
}

@media (max-width: 620px) {
    .hidden-button {
        position: relative;
        top: 200px;
        right: 35px;
    }
}