/*  */

* {
    transition: ease 0.5s;
}
*::selection {
    background: #281a51;
    color: white;
}

.container {
    border-radius: 15px;
}

.modal-content-os-library {
    position: relative;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    width: 100%;
    pointer-events: auto;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid rgba(0, 0, 0, 0.2);
    border-radius: 0;
    outline: 0;
}

.container-swct {
    background: white;
    width: 100%;
    max-width: 100%;
    border-radius: 15px;
    padding: 4%;
    padding-bottom: 7%;
    margin: 0 auto;
    box-shadow: #d0c9e5 0 10px 15px;
}

.search-form {
    display: flex;
    align-items: center;
    gap: 10px;
}

.search {
    width: 30%;
    height: 20%;
    padding: 10px;
    border: solid 1px #e9e4f9;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.search ion-icon {
    font-size: 20px;
}
.search input {
    width: 100%;
    font-size: 16px;
    font-weight: 400;
    background: none;
    border: none;
    outline: none;
}

.searchBtn {
    background: #281a51;
    width: 15%;
    height: 50px;
    color: white;
    border: none;
    font-size: 16px;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-radius: 5px;
    cursor: pointer;
}

/* button {
    width: 50%;
} */

button:hover {
    box-shadow: #dcd7ed 0 0 10px 5px;
}
button:hover ion-icon {
    transform: rotateY(360deg);
}
button ion-icon {
    font-size: 20px;
}

.job-container {
    margin-top: 20px;
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    /* overflow: scroll; */
}

.job {
    width: 100px;
    height: 100px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 10px;
    border-radius: 5px;
    background: #9d4edd;
    color: white;
}
.job:hover {
    box-shadow: #d0c9e5 0 10px 15px;
    transform: scale(1.05);
}
.job:hover ion-icon {
    transform: rotate(360deg);
}
.job ion-icon {
    font-size: 30px;
}
.job-name {
    font-size: 16px;
    font-weight: 500;
}
/* .j1 {
    background: #ffecec;
}
.j2 {
    background: #f7ecff;
}
.j3 {
    background: #ecf0ff;
}
.j4 {
    background: #d7f9f3;
}
.j5 {
    background: #e2ffd4;
}
.j6 {
    background: #d7f9f3;
}
.j7 {
    background: #fff3c9;
}
.j8 {
    background: #ffd9c9;
} */

/* Kategory */

h1 {
    padding-top: 3%;
    font-size: 2rem;
    font-weight: 1000;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 3rem;
    color: rgba(9, 146, 105, 0.8);
}

.articles {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.features {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    max-width: 90rem;
    column-gap: 2rem;
    row-gap: 2rem;
}

.item {
    display: flex;
    flex-direction: column;
    background-image: linear-gradient(to right bottom, #dee2e6, #dbdbdb);
    box-shadow: 0 2.4rem 4.8rem rgba(0, 0, 0, 0.507);
    overflow: hidden;
    border-radius: 10px;
    transition: all 0.3s;
    position: relative;
    margin-bottom: 12%;
}

.item:hover {
    transform: translateY(-1.1rem);
}

.item-photo {
    width: 100%;
    height: 200px;
    align-self: center;
}

.item-header {
    display: flex;
    flex-direction: row;
    align-items: center;
    margin: 1rem 1rem;
    gap: 1rem;
}

.item-icon {
    width: 1rem;
    height: 1rem;
}

.item-title {
    font-size: 2.4rem;
    font-weight: 400;
}

.item-text {
    font-size: 1rem;
    font-weight: 300;
    line-height: 1.3;
    padding: 0 2rem;
    margin-bottom: 3rem;
    height: 100%;
}

.item-link:link,
.item-link:visited {
    display: inline-block;
    font-size: 1.6rem;

    padding: 1.6rem 2.4rem;
    text-decoration: underline #099268;
    color: #099268;
    margin-top: auto;
}

.item-link:hover,
.item-link:active {
    color: #3aa886;
    text-decoration: underline #3aa886;
}

.content {
    padding-top: 5%;
    padding-bottom: 5%;
}
/* TABLETS */
@media (max-width: 950px) {
    h1 {
        font-size: 2.8rem;
    }

    .features {
        grid-template-columns: 1fr 1fr;
        max-width: 60rem;
    }

    .item1 {
        grid-column: span 2;
    }

    .item-title {
        font-size: 2rem;
    }

    .item-text {
        font-size: 2rem;
    }

    .item-link:link,
    .item-link:visited {
        font-size: 2rem;
    }
}

/* MOBILES */
@media (max-width: 650px) {
    .features {
        grid-template-columns: 1fr;
        max-width: 30rem;
    }

    .item1 {
        grid-column: span 1;
    }

    h1 {
        font-size: 2.4rem;
    }
}
