*::-webkit-scrollbar {
    display: none;
}

* {
    scrollbar-width: none;
    overflow: -moz-scrollbars-none;
    -ms-overflow-style: none;
}


/* doswiadczenia */

.dosw {
    display: flex;
    margin: 0 auto;
    margin-bottom: 8em;
    padding: 8em;
    gap: 1em;
    justify-content: center;
    background-color: white;
    padding-bottom: 12em;
}

.dosw-img {
    display: flex;
    gap: 1em;
    margin-left: 2em;
}

.dosw-img img {
    flex-grow: 0;
    flex-shrink: 0;
    width: 8em;
    aspect-ratio: 87/268;
}

.dosw-header {
    display: flex;
    flex-flow: column;
    gap: 1em;
    margin: 0 6em 0 4em;
    flex-grow: 0;
    max-width: 50em;
}

.dosw-header h1 {
    font-size: 4em;
    font-weight: var(--font-medium);
    margin: 0;
    white-space: nowrap;
}

.dosw-header hr {
    margin: 0 0 1em 1.5em;
    width: 18.3em;
    border: 1px solid var(--text-color);
    opacity: 70%;
}

.dosw-shadow {
    padding: 0;
    margin: 0;
    position: relative;
    z-index: 1;
}

.dosw-shadow::after {
    z-index: -1;
    content: "";
    position: absolute;
    box-shadow: 0 0 3em 1em var(--text-color-blue);
    height: 20%;
    left: 10%;
    right: 10%;
    width: 80%;
    bottom: 9em;
    border-radius: 100%;
}


/* =============================================== */


/* misja */

.misja {
    display: flex;
    align-self: center;
    margin: 8em;
    gap: 1em;
    justify-content: space-between;
    background-color: white;
    padding: 0 auto;
    padding-bottom: 2em;
    width: 80em;
    max-width: 80%;
}

.misja img {
    flex-grow: 0;
    flex-shrink: 0;
    height: 24em;
    aspect-ratio: 1956/1306;
}

.misja div {
    width: 50%;
    display: flex;
    flex-flow: column;
    gap: 1em;
}

.misja div h1 {
    font-size: 4em;
    font-weight: var(--font-medium);
    margin: 0;
}

.misja div hr {
    margin: 0 0 1em 1.5em;
    width: 17.3em;
    border: 1px solid var(--text-color);
    opacity: 70%;
}


/* =============================================== */


/* cele */

.cele {
    display: flex;
    align-self: center;
    margin: 8em;
    margin-bottom: 6em;
    gap: 1em;
    align-items: center;
    flex-flow: column;
    background-color: white;
}

.cele-header {
    display: flex;
    flex-flow: column;
    gap: 1em;
}

.cele-header h1 {
    font-size: 4em;
    font-weight: var(--font-medium);
    margin: 0;
    text-align: center;
}

.cele-header hr {
    margin: 0 0 1em 0;
    width: 17.3em;
    border: 1px solid var(--text-color);
    opacity: 70%;
    width: 100%;
}

.cele-container {
    margin-top: 2em;
    display: flex;
    flex-flow: row;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
    gap: 1em;
    padding: 10px;
}

.cele-item {
    width: auto;
    max-width: 33em;
    height: fit-content;
    position: relative;
    font-size: 0.5em;
}

.cele-parent {
    position: relative;
    height: 120px;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    width: 100%;
    padding: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-color);
    background-color: var(--button-main);
    border-radius: 10px;
    transition: color 0.1s linear;
    
}

.cele-parent::before {
    position: absolute;
    content: "";
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
    background-image: var(--button-gradient-dark);
    border-radius: 10px 10px 0 0;
    opacity: 0;
    transition: opacity 0.15s ease-in;
}

.cele-parent h1 { 
    margin: -10px auto;
    font-size: 3em;
    text-align: center;
    font-weight: var(--font-medium);
    padding: 0;
    line-height: 1.5;
}

.cele-child {
    padding: 1.5em;
    position: relative;
    top: -6em;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    line-height: 0;
    text-align: center;
    display: grid;
    place-content: center;
    font-weight: var(--font-regular);
    color: var(--text-color);
    background-color: var(--button-main);
    transition: transform 0.1s ease-out;
    border-radius: 10px;
    font-size: 1.5em;
}

.cele-item .cele-parent {
    color: white;
}

.cele-item .cele-parent::before {
    opacity: 1;
}

.cele-item .cele-child {
    transform: translateY(6em);
    line-height: 1.7em;
    border-radius: 0 0 10px 10px;
}
@media (min-width: 800px){
    .cele-item .cele-child{
        height: 250px;
    }
}

/* =============================================== */


/* people */

.people {
    width: 100vw;
    display: flex;
    align-self: center;
    flex-flow: column;
    flex-wrap: wrap;
    margin: 150px 0 -50px 0;
    /* margin-top: 50px; */
    gap: 1em;
    align-items: center;
    /* background-color: white; */
    padding-bottom: 2em;
}

.people-header {
    width: 80%;
    max-width: 80em;
    align-self: center;
    display: flex;
    flex-flow: column;
    gap: 1em;
    margin-top: 50px;
}

.people-header h1 {
    font-size: 4em;
    font-weight: var(--font-medium);
}

.people-header hr {
    margin: 0 0 1em 1.5em;
    width: 18.3em;
    border: 1px solid var(--text-color);
    opacity: 70%;
}

/* .people-container {
    width: 100vw;
    display: flex;
    justify-content: space-around;
    overflow-x: hidden;
    gap: 3em;
    padding: 0 8em;
} */
.people-container {
    overflow-x: scroll;
    align-self: flex-start;
    display: flex;
    margin: 0 auto;
    width: fit-content;
    flex-wrap: wrap;
    flex-direction: row;
    justify-content: center;
    gap: 4em;
}

/* .people-item {
    margin: 10px 10px;
    flex-grow: 0;
    flex-shrink: 0;
    width: 18em;
    height: 24em;
    background-color: #fff;
    border-radius: 23px;
    box-shadow: 10px 10px 12px -10px rgba(0, 0, 0, 0.5);
} */

.people-item {
    flex-grow: 0;
    flex-shrink: 0;
    width: 12em;
    height: 12em;
    margin-top: 7em;
    background: var(--circle-gradient);
    border-radius: 100%;
    position: relative;
    color: var(--text-color);
}

.people-item img {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 4.5em;
    z-index: 1;
    width: 10em;
    aspect-ratio: 426/586;
    margin: auto;
    transition: transform 0.1s linear;
    transform-origin: center bottom;
}

.people-item h1 {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    display: flex;
    height: 3em;
    align-items: center;
    justify-content: center;
    background: var(--people-name-gradient);
    font-weight: var(--font-semibold);
    font-size: 1.4em;
}

.people-item h1::before {
    position: absolute;
    content: "";
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
    opacity: 0;
    background-image: var(--button-gradient);
    background-clip: content-box;
    border-radius: 10%/100%;
    transition: opacity 0.15s ease-in;
}

.people-item:hover h1 {
    color: white;
}

.people-item:hover h1::before {
    opacity: 1;
}

.people-item:hover img {
    transform: scale(1.1, 1.1);
}


/* =============================================== */


/* certificate */

.cert {
    display: flex;
    align-self: center;
    flex-flow: column;
    margin: 3em;
    gap: 1em;
    align-items: center;
    background-color: white;
    margin-bottom: 40em;
    width: 80em;
    max-width: 80%;
}

.cert-header {
    display: flex;
    flex-flow: column;
    align-self: flex-start;
    gap: 1em;
}

.cert-header h1 {
    font-size: 4em;
    font-weight: var(--font-medium);
    margin: 0;
}

.cert-header hr {
    margin: 0 0 1em 1.5em;
    width: 18.3em;
    border: 1px solid var(--text-color);
    opacity: 70%;
}

.cert-container {
    margin-left: -5%;
    width: 110%;
    margin-top: 10em;
    height: 23em;
    padding: 3em;
    display: flex;
    gap: 2em;
    background-color: var(--text-color);
    border-radius: 30px;
}

.cert-img {
    flex-shrink: 0;
    width: 30em;
    height: 20em;
    margin-top: 7em;
    position: relative;
}

.cert-img img {
    position: absolute;
    top: -10em;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    width: 30em;
    aspect-ratio: 340/499;
    margin: auto;
}

.cert-img-shadow {
    position: absolute;
    top: -5em;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    width: 30em;
    aspect-ratio: 340/499;
    margin: auto;
    border-radius: 20px;
    box-shadow: 20px 20px var(--cert-shadow-color);
}

.cert-text {
    position: relative;
    color: white;
    font-size: 0.9em;
    /* display: flex;
    flex-flow: column;
    gap: 1em; */
}
.cert-text div:not(.cert-link){
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    flex-flow: column;
    /* flex-direction: column; */
}
.cert-text div p{
    font-size: 1.2em;
    /* margin: 10px; */
    flex: 1 1 auto;
    height: fit-content;
    align-items: center;
    align-content: center;
}

.cert-link {
    transform: translateY(10em) translateX(2em);
    align-self: flex-start;
    width: 100%;
    position: absolute;
    bottom: 0;
}

.cert-link a {
    display: block;
    width: 70%;
    color: white;
    text-align: center;
    background: var(--button-gradient);
    position: relative;
    font-size: 1.25em;
    font-weight: var(--font-semibold);
    padding: 1em;
    border-radius: 30px;
    z-index: 1;
    text-decoration: none;
    text-align: center;
}

.cert-link a::before {
    position: absolute;
    content: "";
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
    border-radius: 30px;
    text-align: center;
    background: var(--button-gradient-inversed);
    opacity: 0;
    transition: opacity 0.15s ease-in;
}

.cert-link a:hover::before {
    opacity: 1;
}

.cert-link img {
    margin: 0;
    position: absolute;
    left: 80%;
    bottom: 20%;
    z-index: 1;
    width: 10em;
    aspect-ratio: 430/581;
    transform: scaleX(-1);
}


/* media quieries */

@media (min-width: 799px) and (max-width: 1200px) {
    .dosw-shadow,
    .misja,
    .cele,
    .people {
        font-size: 0.66em;
        margin: 4em;
    }
    .cele {
        margin-bottom: 25em;
        padding: 0;
        width: 100vw;
    }
    .cele-item{
        height: fit-content;
        flex: 1 1 calc(33% - 10px);
    }
    .cele-container{
        display: flex;
        /* flex-direction: row; */
        flex-wrap: wrap;
        gap: 20px;
        flex: 250px;
        padding: 20px;
    }
    .cele-parent::before{
        height: 50px;
    }
    .cele-parent{
        padding: 5px;
        height: 50px;
        width: 150px;
    }
    .cele-parent h1 {
        font-size: 10px;
    }
    .cele-header h1{
        font-size: 3em;
    }
    .cele-child{
        min-height: 250px;
        width: 150px;
    }
    .cele-child p {
        font-size: 10px;
        line-height: 1.7em;
    }
    .cert {
        margin: 1em;
        font-size: 0.6em;
        margin-bottom: 40em;
    }
}

@media (max-width: 800px) {
    .dosw-shadow,
    .misja,
    /* .cele, */
    .people,
    .cert {
        font-size: 0.5em;
        margin: 2em 5em;
    }
    .misja div h1, .dosw-header h1{
        font-size:3em
    }
    .dosw {
        padding: 2em;
    }
    .cele {
        margin-bottom: 25em;
        padding: 0;
        width: 100vw;
    }
    .cele-item{
        height: fit-content;
        flex: 1 1 calc(33% - 10px);
        
    }
    .cele-item div{
        margin: auto;
    }
    .cele-container{
        display: flex;
        /* flex-direction: row; */
        flex-wrap: wrap;
        /* gap: 20px; */
        padding: 10px;
    }
    .cele-parent::before{
        height: 50px;
    }
    .cele-parent{
        padding: 5px;
        height: 50px;
        width: 150px;
    }
    .cele-parent h1 {
        font-size: 10px;
    }
    .cele-header h1{
        font-size: 3em;
    }
    .cele-child{
        min-height: 250px;
        width: 150px;
    }
    .cele-child p {
        font-size: 10px;
        line-height: 1.7em;
    }
    .people-header h1 {
        margin: 0;
    }
    .cert {
        margin: 0.5em;
        margin-bottom: 40em;
        font-size: 0.24em;
    }
    .cert-container {
        border-radius: 10px;
        height: fit-content;
    }
    .dosw-img{
        gap: 5px;
        margin-left: 50px;
        margin-right: -30px;
    }
    .misja div{
        margin-left: -20px;
    }
}