﻿

.direction {
    text-align: center;
}

    .direction button {
        font-family: cursive;
        font-weight: bold;
        background-color: #fff;
        border: none;
        width: 50px;
        height: 50px;
        transition: 0.5s;
        margin: 0 10px;
    }

        .direction button:hover {
            background-color: #ffffff;
        }

.item {
    border-radius: 15px;
    width: 300px;
    height: 500px;
    border:1px solid #808080;
    overflow: hidden;
    transition: 0.5s;
    margin: 10px;
    scroll-snap-align: start;
}

    .item .avatar {
        display: block;
        width: 100%;
        height: 200px;
        object-fit: cover;
    }
    .item .avatarNoz {
        display: block;
        width: 100%;
        height: 200px;
        object-fit: contain;
        border-bottom:1px solid #808080;
    }


    .item .content {
        padding: 30px;
        font-family: monospace;
    }

        .item .content table td {
            padding: 10px 0;
            border-bottom: 1px solid #AEC0CE;
        }

            .item .content table td:nth-child(2) {
                text-align: right;
            }

    .item .nameGroup {
        text-align: center;
        border-bottom: none !important;
    }

#list {
    display: flex;
    width: max-content;
}

#formList {
    width: 1280px;
    max-width: 100%;
    overflow: auto;
    scroll-behavior: smooth;
    scroll-snap-type: both;
}

    #formList::-webkit-scrollbar {
        display: none;
    }

@media screen and (max-width: 1024px) {
    .item {
        width: calc(70.3vw - 20px);
    }

    .direction {
        display: none;
    }
    .avatar
    {
        width:80%;
    }
    .avatarNoz {

        width: 80%;
    }
}

@media screen and (max-width: 768px) {
    .item {
        width: calc(80vw - 20px);
    }

    .direction {
        display: none;
    }
    .avatar{
        width:50%;
    }
    .avatarNoz {
        width: 50%;
    }
}
