/*
this module has the styles for the room list
*/
.room-item {
    width: 100%;
    height: fit-content;
    padding: 3%;
    padding-right: 5%;
    padding-left: 5%;

    /*flex box*/
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-evenly;

    /*border attributes*/
    border-width: 2px;
    border-style: solid;
    border-color: black;

    background-color: rgba(0, 0, 0, 0.2);
    color: white;
    border-radius: 40px;
    border: 2px rgba(255, 255, 255, 0.3) solid;

    /*margins*/
    margin-top: 5px;
    margin-bottom: 5px;
}

.room-item:hover {
    background-color: rgba(0, 0, 0, 0.5);
    box-shadow: 0 -2px 3px cyan;
}

.room-data {
    width: 70%;
    height: fit-content;
    overflow-wrap: break-word;

    display:flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
}

.room-forward-button{
    width:30px;
    height:30px;
    background-image:url("../../assets/icons/forward.svg");
    margin-right:10px;
}

.room-name {
    font-size: 15px;
    font-weight: bolder;
    width: calc(100% - 40px);
}

.room-address {
    display:none;
    width: 100%;
    height: fit-content;
    font-size: 10px;
    font-weight: lighter;
    word-wrap: break-word;
}

.room-copy-invite {
    background-image: url("../../assets/dashboard/copy_invite.png");
    background-color: transparent;
    height: 40px;
    width: 40px;
}

.room-copy-hash {
    background-image: url("../../assets/did_eclipse.png");
    background-color: transparent;
    height: 40px;
    width: 40px;
}

@media (min-width:600px) {

    .room-copy-invite:hover {
        transform: scale(110%);
    }

    .room-copy-hash:hover {
        transform: scale(110%);
    }
}