* {
    margin: 0px;
    padding: 0px;
    box-sizing: border-box;
}

body {
    background-color: #f2f1f2;
}
.bg2 {
    height: auto;
    min-height: 110vh;
    width: 100%;
    border-radius: 0px 0px 100px 100px;
    background-color: white;
}

.bg1 {
    height: auto;
    min-height: 90vh;
    width: 100%;
    border-radius: 0px 0px 100px 100px;
    background-color: #f2f1f2;
}

nav {
    display: flex;
    justify-content: space-between;
    padding-top: 20px;
}

.left-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-left: 40px;
    gap: 30px;
}

.gmail {
    color: black;
    font-size: 1.2em;
    font-weight: 600;
}

.right-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-right: 40px;
    gap: 30px;
}

.left-nav button {
    width: 5rem;
    height: 50px;
    margin: 3px;
    font-size: 16px;
    font-weight: bold;
    border: none;
    border-radius: 30px;
    color: black;
    background-color: white;
}

.right-nav button {
    height: 50px;
    width: 5rem;
    font-size: 20px;
    font-weight: bold;
    border: none;
    background-color: #f2f1f2;
}

.right-nav button:hover {
    color: white;
}

.left-nav button:hover {
    color: white;
    background-color: black;
}

.mainpg1 {
    display: flex;
    flex-direction: column;
    font-size: 2.4em;
    justify-content: center;
    align-items: center;
    text-align: center;
    margin-top: 70px;
}

.circle {
    height: 220px;
    width: 220px;
    border: 2px solid white;
    border-radius: 50%;
    margin: 0px 0px 35px 0px;
}

.circle img {
    height: 216px;
    width: 216px;
    border: 2px solid white;
    border-radius: 50%;
}

.mainpg1 button {
    height: 70px;
    width: 230px;
    font-size: 20px;
    border: 1px solid back;
    border-radius: 50px;
    color: black;
    background-color: white;
    margin-top: 40px;
}

.mainpg1 button:hover {
    color: white;
    background-color: black;
}

.logo {
    height: 40px;
    width: 100%;
    margin-top: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 100px;
}

.national-bank {
    height: 55px;
}

.cocacola {
    height: 40px;
}

.adobe {
    display: flex;
    height: 60px;
}

.subway {
    height: 30px;
}

.bg3 {
    height: auto;
    min-height: 50vh;
    background-color: #f2f1f2;
}

.para1 {
    margin: 70px;
    text-align: center;
    font-size: 50px;
}

.page2 {
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: space-evenly;
}

.page2 .p2heading {
    font-size: 1.3em;
    font-weight: 500;
    margin-bottom: 20px;
}

.bg4 {
    height: auto;
    min-height: 55vh;
    border: 1px solid white;
    border-radius: 100px 100px 0px 0px;
    background-color: white;
    text-align: center;
}

.bg4 .handshake {
    height: 160px;
    border: 2px solid grey;
    border-radius: 50%;
    margin: 50px;
    background-color: #f2f1f2;
}

.bg4 h1 {
    margin-bottom: 50px;
    font-size: 3em;
}

.bg4btn {
    display: flex;
    gap: 20px;
    justify-content: center;

}

.bg4 button {
    height: 70px;
    width: 230px;
    font-size: 22px;
    border-radius: 100px;
}


.bg4 button:hover {
    color: white;
    background-color: black;
}

/* Laptop (1024px) */
@media only screen and (max-width: 1024px) {
    .bg1 {
        min-height: 75vh;
        height: auto;
        overflow: hidden;
        border-radius: 0 0 50px 50px;

        .left-nav {
            button {
                border: 1px solid black;
            }

            p {
                font-size: 1.2em;
                font-weight: 600;
            }
        }

        .right-nav {
            button {
                display: none;
            }
        }

        .circle {
            height: 180px;
            width: 180px;
            border: 2px solid black;

            img {
                height: 176px;
                width: 176px;
            }
        }
    }

    h1 {
        font-size: 1.3em;
    }

    .mainpg1 {
        margin-top: 50px;
    }

    .mainpg1 button {
        height: 48px;
        width: 120px;
        font-size: 1rem;
        border-radius: 30px;
    }

    .bg2 {
        min-height: 88vh;
        height: auto;
        border-radius: 0 0 50px 50px;
    }

    .logo {
        flex-wrap: wrap;
        margin-top: 35px;
        gap: 20px 20px;
        justify-content: space-evenly;
    }

    .national-bank {
        height: 40px;
    }

    .cocacola {
        height: 35px;
    }

    .adobe {
        display: flex;
        height: 50px;
    }

    .subway {
        height: 25px;
    }

    .bg3 {
        border-top: 1px solid #f2f1f2;
        min-height: 60vh;
        height: auto;

        .para1 {
            margin-top: 20px;
            font-size: 2em;
            font-weight: 600;
        }

        .page2 {
            flex-wrap: wrap;
            text-align: center;
            gap: 30px;
        }

        .p2heading {
            font-weight: 700;
            font-size: 1.2em;
            line-height: 15px;
        }

        .p2info {
            font-size: 1em;
            padding-bottom: 20px;
        }
    }

    .bg4 {
        min-height: 55vh;
        height: auto;
        border-radius: 50px 50px 0 0;

        h1 {
            font-size: 2.3em;
        }

        .bg4btn {
            flex-wrap: wrap;
        }

        .bg4btn button {
            height: 48px;
            width: 120px;
            font-size: 16px;
            border-radius: 100px;
        }
    }
}


/* Tablet (768px) */
@media only screen and (max-width: 768px) {
    .bg1 {
        min-height: 72vh;
        height: auto;
        overflow: hidden;
        border-radius: 0 0 50px 50px;

        .left-nav {
            button{
                display: none;
            }
            p {
                font-size: 1.2em;
                font-weight: 600;
                ;
            }
        }

        .right-nav {
            button {
                display: none;
            }
        }

        .circle {
            height: 180px;
            width: 180px;
            border: 2px solid black;

            img {
                height: 176px;
                width: 176px;
            }
        }
    }

    h1 {
        font-size: 1.3em;
    }

    .mainpg1 {
        margin-top: 50px;
    }

    .mainpg1 button {
        height: 48px;
        width: 120px;
        font-size: 1rem;
        border-radius: 30px;
    }

    .bg2 {
        min-height: 85vh;
        height: auto;
        height: 80vh;
        border-radius: 0 0 50px 50px;
    }

    .logo {
        flex-wrap: wrap;
        margin-top: 30px;
        gap: 20px 20px;
        justify-content: space-evenly;
    }

    .national-bank {
        height: 40px;
    }

    .cocacola {
        height: 35px;
    }

    .adobe {
        display: flex;
        height: 50px;
    }

    .subway {
        height: 25px;
    }

    .bg3 {
        min-height: 65vh;
        height: auto;

        .para1 {
            margin-top: 20px;
            font-size: 2em;
            font-weight: 600;
        }

        .page2 {
            flex-wrap: wrap;
            text-align: center;
            gap: 30px;
        }

        .p2heading {
            font-weight: 700;
            font-size: 1.2em;
            line-height: 15px;
        }

        .p2info {
            font-size: 1em;
            padding-bottom: 20px;
        }
    }

    .bg4 {
        min-height: 60vh;
        height: auto;
        border-radius: 50px 50px 0 0;

        h1 {
            font-size: 2.3em;
        }

        .bg4btn {
            flex-wrap: wrap;
        }

        .bg4btn button {
            height: 48px;
            width: 120px;
            font-size: 16px;
            border-radius: 100px;
        }
    }
}

/* Mobile L (425px) */
@media only screen and (max-width: 430px) {
    .bg1 {
        min-height: 75vh;
        height: auto;
        overflow: hidden;
        border-radius: 0 0 50px 50px;

        .left-nav {
            button {
                display: none;
            }
            p {
                font-size: 1.2em;
                font-weight: 600;
            }
        }
        .right-nav {
            button {
                display: none;
            }
        }
        .circle {
            height: 180px;
            width: 180px;

            img {
                height: 177px;
                width: 177px;
            }
        }
    }

    h1 {
        font-size: 1em;
    }

    .mainpg1 {
        margin: 50px 20px;
    }

    .mainpg1 button {
        height: 48px;
        width: 120px;
        font-size: 1rem;
        border-radius: 30px;
    }

    .bg2 {
        min-height: 98vh;
        height: auto;
        border-radius: 0 0 50px 50px;
    }

    .logo {
        flex-wrap: wrap;
        margin-top: 30px;
        gap: 20px 30px;
        justify-content: space-evenly;
    }

    .national-bank {
        height: 42px;
    }

    .cocacola {
        height: 37px;
    }

    .adobe {
        display: flex;
        height: 50px;
    }

    .subway {
        height: 27px;
    }

    .bg3 {
        min-height: 100vh;
        height: auto;

        .page2 {
            display: flex;
            flex-wrap: wrap;
            margin: 15px;
            text-align: center;
            line-height: 20px;
            gap: 30px;
        }

        .p2mainhead {
            line-height: 20px;
        }

        .p2heading {
            font-weight: 600;
            font-size: 1.1em;
            line-height: 15px;
        }

        .p2info {
            font-size: 0.8em;
            padding-bottom: 20px;
        }
    }

    .bg4 {
        min-height: 83vh;
        height: auto;
        border-radius: 50px 50px 0 0;
        h1 {
            font-size: 2em;
        }
        .bg4btn {
            align-items: center;
            flex-direction: column;
            
        }

        .bg4btn button {
            height: 48px;
            width: 120px;
            font-size: 16px;
            border-radius: 100px;
        }
    }
}

/* Mobile M (375px) */
@media only screen and (max-width: 375px) {
    .bg1 {
        min-height: 75vh;
        height: auto;
        overflow: hidden;
        border-radius: 0 0 50px 50px;


        .circle {
            height: 180px;
            width: 180px;

            img {
                height: 176px;
                width: 176px;
            }
        }
    }

    h1 {
        font-size: 1em;
    }
    .mainpg1 {
        margin: 30px 20px;
    }

    .mainpg1 button {
        height: 48px;
        width: 120px;
        font-size: 1rem;
        border-radius: 30px;
    }

    .bg2 {
        min-height: 98vh;
        height: auto;
        border-radius: 0 0 50px 50px;
    }

    .logo {
        flex-wrap: wrap;
        margin-top: 30px;
        gap: 20px 20px;
        justify-content: space-evenly;
    }

    .national-bank {
        height: 42px;
    }

    .cocacola {
        height: 37px;
    }

    .adobe {
        display: flex;
        height: 50px;
    }

    .subway {
        height: 27px;
    }

    .bg3 {
        min-height: 110;
        height: auto;

        .para1 {
            margin-top: 20px;
            font-size: 2em;
            font-weight: 600;
        }

        .page2 {
            display: flex;
            flex-wrap: wrap;
            margin: 15px;
            text-align: center;
            line-height: 20px;
            gap: 30px;
        }

        .p2mainhead {
            line-height: 20px;
        }

        .p2heading {
            font-weight: 500;
            font-size: 1.1em;
            line-height: 15px;
        }

        .p2info {
            font-size: 0.8em;
            padding-bottom: 20px;
        }
    }

    .bg4 {
        min-height: 88vh;
        height: auto;
        border-radius: 50px 50px 0 0;

        h1 {
            font-size: 2em; 
        }

        .bg4btn {
            flex-direction: column;
        }

        .bg4btn button {
            height: 48px;
            width: 120px;
            font-size: 16px;
            border-radius: 100px;
        }
    }
}
