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

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

@font-face {
    font-family: "Hurme";
    src: url(font/HurmeGeometricSans2Light.otf);
    font-weight: 300;
}

body {
    background: url(img/bg.png) no-repeat center;
    background-size: cover;
    height: 100vh;
    width: 100vw;
    display: flex;
    font-family: 'Hurme';
}

.container-1,
.container-2 {
    height: 100%;
    width: 50%;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    flex-direction: column;
}

.container-1 p:nth-child(1) {
    position: relative;
    font-size: 250px;
    letter-spacing: -20px;
    font-weight: bold;
    text-transform: uppercase;
    color: #F2691E;
}

.container-1 p:nth-child(1)::before {
    content: 'Aniversário!';
    position: absolute;
    left: 18px;
    bottom: 33px;
    font-size: 130px;
    color: #fff;
    letter-spacing: 5px;
    text-transform: capitalize;
}

.container-1 p:nth-child(2) {
    position: relative;
    bottom: 100px;
    font-weight: 300;
    font-size: 80px;
    color: #fff;
}

.container-2 p {
    font-size: 100px;
    color: #fff;
    font-weight: bold;
}

.container-2 p~p {
    font-size: 100px;
    color: #fff;
    font-weight: 300;
}

.i {
    position: relative;
    text-align: center;
    padding-top: 80px;
    height: 600px;
    width: 600px;
}

.i::before {
    content: '';
    background: url(img/bolo.png) center;
    background-size: cover;
    height: 250px;
    width: 250px;
    position: absolute;
    bottom: 10px;
}

.i>img {
    height: 500px;
    width: 500px;
    object-fit: cover;
    border-radius: 50%;
    border: 20px solid #fff;
}


@media(max-width: 1280px) {
    .container-2 p {
        font-size: 92px;
    }

    .container-1 p:nth-child(1) {
        font-size: 220px;
    }

    .container-1 p:nth-child(1)::before {
        font-size: 110px;
    }

    .container-1 p:nth-child(2) {
        font-size: 70px;
    }

    .i {
        position: relative;
        text-align: center;
        padding-top: 20px;
        height: 500px;
        width: 500px;
    }

    .container-2 p~p {
        font-size: 82px;
        color: #fff;
        font-weight: 300;
    }
}

@media(max-width: 1080px) {
    body {
        background: url(img/bg-vert.png) no-repeat;
        flex-direction: column-reverse;
    }

    .container-1,
    .container-2 {
        height: 50%;
        width: 100%;
    }

    .container-1 p:nth-child(1) {
        font-size: 200px;
        letter-spacing: -10px;
    }

    .container-1 p:nth-child(1)::before {
        left: -50px;
        font-size: 100px;
    }

    .container-1 p:nth-child(2),
    .container-2 p,
    .container-2 p~p {
        text-align: center;
    }
}

@media(max-width: 960px) {
    body {
        flex-direction: row;
    }

    .container-2 p {
        font-size: 62px;
    }

    .container-1 p:nth-child(1) {
        font-size: 150px;
        margin-top: 50px;
    }

    .container-1 p:nth-child(1)::before {
        bottom: 13px;
        font-size: 80px;
    }

    .container-1 p:nth-child(2) {
        bottom: 45px;
        font-size: 60px;
    }

    .i>img {
        height: 350px;
        width: 350px;
    }

    .i::before {
        height: 150px;
        width: 150px;
    }

    .container-2 p~p {
        font-size: 62px;
    }
}

@media(max-width: 720px) {
    body {
        background: url(img/bg-vert.png) no-repeat;
        flex-direction: column-reverse;
    }

    .container-1,
    .container-2 {
        height: 50%;
        width: 100%;
    }

    .container-1 p:nth-child(1) {
        font-size: 200px;
        letter-spacing: -10px;
    }

    .container-1 p:nth-child(1)::before {
        left: -50px;
        font-size: 100px;
    }

    .container-1 p:nth-child(2),
    .container-2 p,
    .container-2 p~p {
        font-size: 50px;
        text-align: center;
    }

    .i>img {
        height: 380px;
        width: 380px;
    }

    .i::before {
        height: 180px;
        width: 180px;
        bottom: 60px;
    }
}

@media(max-width: 540px) {
    body {
    flex-direction: column-reverse;
        
    }
}