body {
    background-color: #333;
    color: rgb(255, 244, 230);
}
.f1 {
    padding-bottom: 5px;
    padding-top: 5px;
    margin-bottom: 8px;
}
.newmsgbub{
    position:absolute;
    top:8px;
    right:8px;
    width:15px;
    height:15px;
    background-color:rgb(21, 211, 21);
    border-radius:50%;
    display:inline-block;
}
@media  /*(min-height:632px) and*/ (min-width:1025px) { 
    .interface {
        height: 1vh;
        display: grid;
        column-gap: 1%;
        grid-template-columns: 10% 1fr;
    }

    .bar {
        display: grid;
        grid-template-rows: 14% 14% 14% 14% 14%;
        row-gap: 6%;
        background-color: rgb(58, 60, 63);   
        height: 97%;
        border-radius: 25px;
        padding: 10% 7% 0% 7%;
        align-items: center;
    }
    .friends,.add_friends,.messages,.profil,.stored {
        font-size: 100%;
        display: block;
        height: 100%;
        width: 100%;
        cursor: pointer;
        margin-top: 0%;
        background-color: #f70a0a;
        color: #fff;
        border-radius: 20px;
        box-shadow: 0 0 3px #1e201f;
        user-select: none;
        
    }
    .friends {
        background-color: #f7a102;
    }
    .friendsimg,.add_friendsimg,.messagesimg,.profilimg,.storeimg {
        height: 100%;
        width: 100%;
        display: block;
        transition: 0.15s;
    }
    .friends:hover,.add_friends:hover,.messages:hover,.profil:hover,.stored:hover {
        background-color: #02bef7;
        opacity: 0.8;
        box-shadow: 0 0 5px #027235;
    }
    .friends:active,.add_friends:active,.messages:active,.profil:active,.stored:active {
        background-color: #02f768;
        transform: scale(0.95);
        opacity: 0.8;
        box-shadow: 0 0 5px #027235;
    }
    .friendsdiv {
        display: grid;
        row-gap: 1px;
        grid-template-rows: 150%;
        height: 93%;
    }
    .searchbar {
        display: flex;
        align-items: center;
        margin-bottom: 20px;
    }
    .search {
        width: 94%;
        
        border-radius: 15px;
        height: 50px;
        font-size: 180%;
        opacity: 0.8;
        font-family: Arial, Helvetica, sans-serif;
        padding-left: 15px;
        border-top-right-radius: 0px;
        border-bottom-right-radius: 0px;
    }
    .search:hover,.search:focus {
        border-style: solid;
        border-color: #02bef7;
        opacity: 1;
    }
    .searchimg {
        height: 45px;
        width: 100%;
    }
    .search_button {
        margin-left: 0px;
        background-color: white;
        height: 50px;
        border-radius: 15px;
        
        opacity: 0.8;
        cursor: pointer;
        user-select: none;
        border-top-left-radius: 0px;
        border-bottom-left-radius: 0px;
        transition: all 0.2s;
    }
    .search_button:hover,.search_button:active {
        opacity: 1;
        border-color: #02bef7;
    }
    .friendfiel {
        border-radius: 5px;
        height: 570px;
        overflow-y: auto;
        padding: 20px 20px 20px 20px;
    }
    .f1,.f2 {
        align-items: center;
        display: grid;
        grid-template-columns: 60px 1fr;
        column-gap: 1%;
        width: 100%;
        height: 1fr;
        cursor: pointer;
        user-select: none;
        border-radius: 15px;
    }
    .f1:hover,.f2:hover {
        background-color: #aca8a8;
    }
    .profilpicture {
        border-radius: 29px;/*30px*/
        height: 58px;/*90%*/
        width: 58px;
        box-shadow: 0 0 3px rgb(202, 194, 194);
    }
    .name,.named {
        text-align: left;
        font-size: 150%;
        max-width: 90%;
    }
    a {
        text-decoration: none;
    }
    .groupbt {
        cursor: pointer;
    }
    .groupbt:hover {
        transform: scale(1.01);
    }
    .newmsgbub{
        position:absolute;
        top:8px;
        right:8px;
        width:15px;
        height:15px;
        background-color:rgb(21, 211, 21);
        border-radius:50%;
        display:inline-block;
    }
}

@media (max-width:1024px) {
    .interface {
        height: 1vh;
        display: grid;
        row-gap: 50px;
        grid-template-rows: 50px 1fr;
    }
    .bar {
        display: grid;
        grid-template-columns: 14% 14% 14% 14% 14%;
        column-gap: 6%;
        background-color: rgb(58, 60, 63);   
        padding: 10px 3% 70px 3%;
        border-radius: 25px;
        align-items: center;
        justify-content: center;
    }
    .friends,.add_friends,.messages,.profil,.stored {
        font-size: 100%;
        display: block;
        height: 60px;
        width: 110%;
        margin-top: 0%;
        background-color: #f70a0a;
        color: transparent;
        border-radius: 20px;
        box-shadow: 0 0 3px #1e201f;
        user-select: none;
        transition: 0.15s;
    }
    .friends {
        background-color: #f7a102;
    }
    .friends:active,.add_friends:active,.messages:active,.profil:active,.stored:active {
        background-color: #02f768;
        opacity: 0.8;
        transform: scale(0.95);
        box-shadow: 0 0 5px #027235;
    }
    .friendsimg,.add_friendsimg,.messagesimg,.profilimg,.storeimg {
        height: 100%;
        width: 100%;
        display: block;
        
    }
    .friendsdiv {
        display: grid;
        row-gap: 2px;
        grid-template-rows: 160%;
        height: 90%;
    }
    .searchbar {
        display: flex;
        align-items: center;
        margin-bottom: 10px;
    }
    .search {
        width: 90%;
        
        border-radius: 15px;
        height: 40px;
        font-size: 140%;
        opacity: 0.8;
        font-family: Arial, Helvetica, sans-serif;
        padding-left: 15px;
        border-top-right-radius: 0px;
        border-bottom-right-radius: 0px;
    }
    .search:focus {
        border-style: solid;
        border-color: #02bef7;
        opacity: 1;
    }
    .searchimg {
        height: 35px;
        width: 100%;
    }
    .search_button {
        margin-left: 0px;
        background-color: white;
        height: 40px;
        border-radius: 15px;
        
        opacity: 0.8;
        user-select: none;
        border-top-left-radius: 0px;
        border-bottom-left-radius: 0px;
        transition: all 0.2s;
    }
    .search_button:active {
        opacity: 1;
        border-color: #02bef7;
    }
    .friendfiel {
        border-radius: 5px;
        height: 82vh;
        overflow-y: auto;
        padding: 10px 10px 10px 10px;
    }
    .f1,.f2 {
        align-items: center;
        display: grid;
        grid-template-columns: 60px 1fr ;
        column-gap: 1%;
        width: 100%;
        height: 1fr;
        user-select: none;
        border-radius: 15px;
        transition: 0.15s;
    }
    .f1:active,.f2:active {
        background-color: #aca8a8;
    }
    .profilpicture {
        border-radius: 29px;/*30px*/
        height: 58px;/*90%*/
        width: 58px;
        box-shadow: 0 0 3px rgb(202, 194, 194);
    }
    .name,.named {
        text-align: left;
        font-size: 150%;
    }
    a {
        text-decoration: none;
    }
    .newmsgbub{
        position:absolute;
        top:8px;
        right:8px;
        width:12px;
        height:12px;
        background-color:rgb(21, 211, 21);
        border-radius:50%;
        display:inline-block;
    }
}
@media (max-width:350px){
    .newmsgbub{
        position:absolute;
        top:6px;
        right:6px;
        width:10px;
        height:10px;
        background-color:rgb(21, 211, 21);
        border-radius:50%;
        display:inline-block;
    }
    .name,.named {
        font-size: 120%;
    }
}
.gf1 {
    background: linear-gradient(to right, #6a11cb, #2575fc);
    color: #fff;
}
.gf1:hover {
    opacity: 0.8;
}
@keyframes spin {0% { transform: rotate(0deg); }100% { transform: rotate(360deg); }}
@media (min-width:544px) {
    .search{
        width: 95%;
    }
}
@media (min-width:1544px) {
    .search{
        width: 98%;
    }
}
.groupbt:active {
    transform: scale(0.95);
}