/* Minden elem ugyanazt a dobozmodellt használja */
*,
*::before,
*::after{
    box-sizing:border-box;
}

body{
    margin:0;
    padding:25px;
    background:linear-gradient(180deg,#f5fff5,#e6f4e6);
    font-family:'Segoe UI',Tahoma,sans-serif;
}

/* Külső keret */
.wrap{
    display:flex;
    justify-content:center;
    align-items:center;
    gap:15px;
    width:100%;
}

/* Görgethető rész */
.scroll{
    display:flex;
    gap:15px;
    width:645px;
    overflow:hidden;
    scroll-behavior:smooth;
}

/* Kártya */
.card{
    flex:0 0 205px;
    min-height:140px;
    background:#fff;
    border-radius:18px;
    border:1px solid #dcefdc;
    box-shadow:0 10px 25px rgba(0,0,0,.12);
    padding:10px;
    transition:.25s;
    text-align:center;
}

.card:hover{
    transform:translateY(-5px);
    box-shadow:0 15px 30px rgba(0,0,0,.18);
}

/* Forduló */
.card h3{
    margin:0 0 8px;
    color:#228b22;
    font-size:15px;
    text-align:center;
}

/* Logók + eredmény */
.row{
    display:flex;
    justify-content:center;
    align-items:center;
    gap:18px;
    margin-bottom:10px;
}

.logo{
    width:48px;
    height:48px;
    object-fit:contain;
    flex-shrink:0;
}

.res{
    width:70px;
    text-align:center;
    font-size:26px;
    font-weight:bold;
    color:#198b2e;
    flex-shrink:0;
}

/* Csapatnevek */
.teams{
    margin-top:8px;
    text-align:center;
    font-size:15px;
    font-weight:600;
    line-height:1.3;
    word-break:break-word;
}

/* Dátum */
.date{
    margin-top:4px;
    text-align:center;
    color:#777;
    font-size:13px;
}

/* Nyilak */
.nav,
.wrap button{
    width:48px;
    height:48px;
    border:none;
    border-radius:50%;
    background:#2f9d44;
    color:#fff;
    font-size:24px;
    cursor:pointer;
    transition:.25s;
    box-shadow:0 5px 15px rgba(0,0,0,.20);
}

.nav:hover,
.wrap button:hover{
    background:#247c35;
    transform:scale(1.08);
}

/* Firefox görgetősáv elrejtése */
.scroll{
    scrollbar-width:none;
}

/* Chrome, Edge */
.scroll::-webkit-scrollbar{
    display:none;
}