.block {
    margin: 50px 20px;
}

.padding-p {
    margin-left: 3.5%;
    margin-right: 10%;
}

.block p {
    font-size: 1.3rem;
}

.p3 {
    padding-left: 3%;
}

.company-link {
    margin-left: 5%;
    margin-right: 5%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    position: relative;
    text-align: left; 
    height: 80px;
}
.company-img {
    height: 200px;
    width: auto;
    border-radius: 25px;
    overflow: hidden;
}

.company-btn {
    border-radius: 25px;
    padding: 10px 10px 10px 10px;
    transition: color 0.6s, background-color 0.6s, border 0.6s;
    background-color: rgb(255, 255, 255);
    font-weight: bold;
    border: 1px solid transparent;
}

.company-btn:hover {
    background-color: transparent;
    color: white;
    border: 1px solid white;
}

.comp-space {
    margin-left: 25px;
} 

.content-center {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.publication {
    width: 90%;
    margin-right: 20%;
}

.medium {
    display: flex;
    font-size: 1.3rem;
    padding-bottom: 30px;
    padding-left: 5%;
    padding-right: 5%;
}

.c-banner {
    margin-top: 50px;
    height: 100vh;
    position: relative;
    z-index: 0;
    overflow: hidden;
}

.c-banner img {
    width: 100%;
    height: 100vh;
    z-index: 0;
    object-fit: cover;
}

.c-layer {
    position: absolute;
    top: 30vh;
    width: 100%;
    padding: 20px 0 50px 0;
    align-self: center;
    backdrop-filter: blur(6px);
    background-color: rgba(0, 0, 0, 0.6);
}

.carrers-main {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    z-index: 10;
}

.carrers-main p {
    text-align: center;
    max-width: 500px;
}

.carrers-break-cut {
    clip-path: polygon(0% 12%, 100% 0%, 100% 88%, 0% 100%);
}

@media (max-width: 768px) {
    .company-link {
        flex-direction: column;
        align-items: flex-start;
        height: auto;
    }

    .company-link p {
        margin-top: -50px;
        margin-left: 50px;
    }

    .company-btn {
        margin-left: 35px;
    }

    .carrers-main {
        margin-left: 10%;
        margin-right: 10%;
    }

    .block {
        margin-left: 20px;
        margin-right: 1%;
        background-image: none;
        margin-top: 10px;
        padding: 0;
    }

    .block h1 {
        margin-top: 60px;
    }

    .block .spacer-top {
        margin-top: 30px;
    }

}