@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;400;500;600;700&display=swap');

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
.logo{
padding-left: 5px;
padding-top: 5px;
padding-right: 150px;
}
.pozadina{
    background-color: white;
    width: 100%;
    height: 110px;
    gap: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
}
body{
    background-color: rgb(202, 201, 201);
}
.pozadina a{
    text-decoration: none;
    color: rgb(39, 34, 34);
    font-size: 20px;
}
.pozadina a:hover{
    background-color: rgb(184, 159, 159);
    border: 2px solid rgb(184, 159, 159);
    border-radius: 20px 20px 20px 20px;
}
.tekst{
    padding: 0px;
}
.tekst h1{
    width: 100%;
    text-align: center;
    font-size: 40px;
    background-color: white;
    border-top: 3px solid rgb(128, 17, 17);
    color: rgb(128, 17, 17);
    border-bottom: 3px solid rgb(128, 17, 17);
    position: relative;
}
.card-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    max-width: 1250px;
    margin: 150px auto;
    padding: 20px;
    gap: 20px;
}

.card-list .card-item {
    background: #fff;
    padding: 26px;
    border-radius: 8px;
    box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.04);
    list-style: none;
    cursor: pointer;
    text-decoration: none;
    border: 2px solid transparent;
    transition: border 0.5s ease;
}

.card-list .card-item:hover {
    border: 2px solid #000;
}

.card-list .card-item img {
    width: 100%;
    aspect-ratio: 16/9;
    border-radius: 8px;
    object-fit: cover;
}

.card-list span {
    display: inline-block;
    background: #F7DFF5;
    margin-top: 32px;
    padding: 8px 15px;
    font-size: 0.75rem;
    border-radius: 50px;
    font-weight: 600;
}

.card-list .developer {
    background-color: #F7DFF5; 
    color: #B22485;
}   

.card-list .designer {
    background-color: #d1e8ff;
    color: #2968a8;
}

.card-list .editor {
    background-color: #d6f8d6; 
    color: #205c20;
}

.card-item h3 {
    color: #000;
    font-size: 1.438rem;
    margin-top: 28px;
    font-weight: 600;
}

.card-item .arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    transform: rotate(-35deg);
    height: 40px;
    width: 40px;
    color: #000;
    border: 1px solid #000;
    border-radius: 50%;
    margin-top: 40px;
    transition: 0.2s ease;
}

.card-list .card-item:hover .arrow  {
    background: #000;
    color: #fff; 
}

@media (max-width: 1200px) {
    .card-list .card-item {
        padding: 15px;
    }
}

@media screen and (max-width: 980px) {
    .card-list {
        margin: 0 auto;
    }
}
.futer{
    background-color: white;
    margin-top: 5%;
    gap: 40px;
    height: 120px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-top: 3px solid rgb(128, 17, 17);
}
.futer a{
    text-decoration: none;
    color: rgb(39, 34, 34);
    font-size: 20px;
}
.futer a:hover{
    background-color: rgb(184, 159, 159);
    border: 2px solid rgb(184, 159, 159);
    border-radius: 20px 20px 20px 20px;
}