@font-face {
    font-family: 'Hurme';
    src: url(font/HurmeGeometricSans2.otf);
}

:root {
    --larange: #f28f0c;
    --black: #000;
}

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

body {
    height: 100vh;
    width: 100vw;
    display: flex;
    font-family: Hurme;
}

.topo {
    height: 150px;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: absolute;
    z-index: 5;
}

.rede img {
    margin: 50px;   
}

.logo img {
    margin: 50px;
    width: 300px;
}

.imagem {
    position: relative;
    height: 100%;
    width: 60%;
    background: url(bg.jpg) no-repeat center;
    background-size: cover;
}

.noticia {
    display: grid;
    place-items: center;
    position: absolute;
    right: 0;
    height: 100%;
    width: 60%;
    background-color: var(--larange);
    clip-path: polygon(20% 0%, 100% 0, 100% 100%, 0% 100%);
}

.noticia::before {
    content: "";
    position: absolute;
    clip-path: inherit;
    right: 0;
    height: 100%;
    width: 99.6%;
    background-color: var(--black);
}

.texto {
    height: 50%;
    width: 50%;
    display: grid;
    place-items: center;
    position: absolute;
    margin-left: 100px;
}

.texto p {
    color: #fff;
    font-size: 50px;
    font-weight: bold;
}


@media(max-width: 1280px) {
    .texto p {
        color: #fff;
        font-size: 40px;
        font-weight: bold;
    }
}

@media(max-width: 1080px) {
    body {
        flex-direction: column;
        justify-content: space-between;
    }

    .noticia,
    .imagem {
        position: relative;
        height: 50%;
        width: 100%;
        clip-path: unset;
    }

    .texto {
        margin: 0;
        height: 80%;
        width: 80%;
    }

    .texto p {
        font-size: 60px;
    }
}

@media(max-width: 960px) {
    .texto p {
        color: #fff;
        font-size: 26px;
        font-weight: bold;
    }
}

@media(max-width: 720px) {
    body {
        flex-direction: column;
        justify-content: space-between;
    }

    .noticia,
    .imagem {
        position: relative;
        height: 50%;
        width: 100%;
        clip-path: unset;
    }

    .texto {
        margin: 0;
        height: 80%;
        width: 80%;
    }

    .texto p {
        font-size: 40px;
    }
}

@media(max-width: 540px) {
    .texto p {
        color: #fff;
        font-size: 26px;
        font-weight: bold;
    }

    .logo img {
        margin: 50px;
        width: 200px;
    }
}