@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:ital,wght@0,100..700;1,100..700&display=swap');

body {
    padding: 0px;
    margin: 0px;
    box-sizing: border-box;
    font-family: "IBM Plex Sans", sans-serif;
    background: url('assets/img.jpg') no-repeat 100%;
    background-size: cover;
    background-clip: border-box;
}

section {
    display: flex;
    height: 100vh;
    width: 80%;
    clip-path: polygon(0% 0%, 75% 0%, 100% 100%, 75% 100%, 0% 100%);
    background-color: #ffff;
}



div:nth-child(1) {
    padding-left: 15px;
    padding-right: 15px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

h2 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 10px;
}

p {
    margin: 0px;
}

p:nth-child(2) {
    font-size: 2rem;
}

p:nth-child(3) {
    font-size: 18px;
}

p:nth-child(4) {
    margin-top: 23px;
}

div img {
    width: 100%;
    height: 100vh;
    object-fit: cover;
    
}

div:nth-child(2) {
    background-color: #383CDB;
    height: auto;
}

footer {
    background-color: #383CDB;
    color: white;
    padding: 10px;
}

@media (max-width: 768px) {
    section {
        flex-direction: column;
    }

    h2,
    p {
        padding-left: 10px;
    }

    h2 {
        font-size: 14px;
    }

    p:nth-child(2) {
        font-size: 1rem;
    }

    p:nth-child(3) {
        font-size: 10px;
    }

    p:nth-child(4) {

        font-size: 12px;
    }

    div:nth-child(1) {
        padding-left: 0px;
        padding-right: 0px;
    }

    div {
        width: 100%;
        height: 50vh;
    }

    div img {
        height: 50vh;

    }

    footer {
        font-size: 12px;
    }
}