body {
    background-color: #333;
    color: rgb(255, 244, 230);
}
.name {
    word-wrap: break-word; 
    overflow-wrap: break-word;
}
@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;
        
    }
    .add_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: 10px;
        grid-template-rows: 100%;
        height: 93%;
    }
    .friendfiel {
        border-radius: 5px;
        height: 570px;
        overflow-y: auto;
        padding: 20px 20px 20px 20px;
    }
    .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;
    }
    .f1,.f2 {
        align-items: center;
        display: grid;
        grid-template-columns: 60px 3fr 1fr ;
        padding-left: 10px;
        font-family: Arial, Helvetica, sans-serif;
        column-gap: 1%;
        width: 99%;
        height: 1fr;
        cursor: pointer;
        user-select: none;
        border-radius: 15px;
        background-color: hsl(0, 0%, 100%);
        color: rgb(0, 0, 0);
        margin-bottom: 10px;
    }
    .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 {
        text-align: left;
        font-size: 150%;
        /* max-width: 90%; */
        display: inline-block;
    }
    .fadd {
        display: inline-block;
        user-select: none;
        -webkit-tap-highlight-color: transparent;
        -webkit-user-select: none;
        background-color: #07f2f2;
        border-radius: 30px;
        cursor: pointer;
        
        margin-left: 6%;
        box-shadow: 1px 1px 5px #0786ed;
        width: 85%;
        height: 60px;
        font-size: 150%;
        transition: 0.2s;
    }
    .fadd:hover {
        opacity: 0.8;
        transform: scale(1.05);
        border-width: 3px;
        border-color: lightskyblue;
        box-shadow: 1px 1px 8px orangered;
    }
    .fadd:active {
        opacity: 0.7;
        background-color: #fff;
        border-width: 3px;
        border-color: lightskyblue;
        transform: scale(0.9);
        box-shadow: 0px 0px 8px greenyellow;
    }
    a {
        text-decoration: none;
    }
}

@media  /*(min-height:632px) and*/ (max-width:1024px) { 
    .interface {
        height: 1vh;
        display: grid;
        row-gap: 50px;/*550%*/
        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;
    }
    .add_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: 10px;
        grid-template-rows: 100%;
        height: 100%;//*93%*/
    }
    .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;/*470px 100%*/
        overflow-y: auto;
        padding: 10px 10px 10px 10px;
    }
    .f1,.f2 {
        align-items: center;
        display: grid;
        grid-template-columns: 55px 60% 1fr ;
        padding-left: 10px;
        font-family: Arial, Helvetica, sans-serif;
        column-gap: 1%;
        width: 97%;
        height: 1fr;
        user-select: none;
        border-radius: 15px;
        background-color: hsl(0, 0%, 100%);
        color: rgb(0, 0, 0);
        margin-bottom: 10px;
    }

    .profilpicture {
        border-radius: 27px;/*30px*/
        height: 54px;/*90%*/
        width: 54px;
        box-shadow: 0 0 3px rgb(202, 194, 194);
    }
    .name {
        text-align: left;
        font-size: 150%;
        /* max-width: 90%; */
        display: inline-block;
    }
    .fadd {
        display: inline-block;
        user-select: none;
        -webkit-tap-highlight-color: transparent;
        -webkit-user-select: none;
        background-color: #07f2f2;
        border-radius: 30px;
        
        
        margin-left: 6%;
        box-shadow: 1px 1px 5px #0786ed;
        width: 85%;
        height: 60px;
        font-size: 110%;
        transition: 0.2s;
    }
    
    .fadd:active {
        opacity: 0.7;
        transform: scale(0.9);
        border-width: 3px;
        border-color: lightskyblue;
        box-shadow: 0px 0px 8px greenyellow;
    }
    a {
        text-decoration: none;
    }
}

@media (max-width:350px){
    .fadd {
        font-size: 90%;
        padding: 0;
    }
    .name {
        font-size: 120%;
    }
}
.gf1 {
    background: linear-gradient(to right, #6a11cb, #2575fc);
    color: #fff;
}
.gfad {
    background-color: #FFD700;
    color: #fff;
}
.gf1:hover {
    opacity: 0.8;
}
.f1:hover,.f2:hover {
    background-color: #aca8a8;
}
.profilpicture:active {
    transform: scale(0.95);
}
@keyframes spin {0% { transform: rotate(0deg); }100% { transform: rotate(360deg); }}
@media (min-width:680px) {
    .search{
        width: 91%;
    }
}
@media (min-width:771px) {
    .search{
        width: 92%;
    }
}
@media (min-width:1024px) {
    .search{
        width: 93%;
    }
}
@media (min-width:1132px) {
    .search{
        width: 94%;
    }
}

@media (min-width:1358px) {
    .search{
        width: 95%;
    }
}
@media (min-width:1737px) {
    .search{
        width: 96%;
    }
}
@media (min-width:2149px) {
    .search{
        width: 97%;
    }
}