* {
    margin: 0;
    padding: 0;
}
.name {
    margin-bottom: 82px; 
    font-size: 40px;
    font-family: 'IBM Plex Mono';
    color: rgb(64, 0, 128);
    text-align: center;
    letter-spacing: 8px;
}
.my-translit{
    max-width: 500px;
    margin: 0 auto;
    padding-top: 50px;
}
.input-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 0px 0px 60px 0px;
    border: 2px solid black;
    border-radius: 14px;
}
input {
    width: 70%;
    height: 25px;
    margin: 16px 0px 15px 20px;
    border: none;
    font-size: 18px;
    letter-spacing: -5%;
    outline:none;    
}
input::placeholder {
    color: #111111;
    opacity: 40%;
}
.submit {
    width: 107px;
    height: 38.8px;
    margin: 9px 8px 9px 0px;
    border-radius: 8px;
    font-size: 18px;
    font-family: 'IBM Plex Mono';
    color: white;
    background-color: black;
}
.dictionary-box {
    border-radius: 8px;
    overflow:hidden;
}
.all-items {
    display: flex;
    width: 500px;
    font-family: 'IBM Plex Mono' ;
    letter-spacing: 3%;
}
.input-items {
    display: flex;
    width: 50%;
    line-height: 40px;
    letter-spacing: -0.03em;
    background-color: rgb(240, 240, 240);
}
.translited-items {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 50%;
    border-left: 1px solid black;
    background-color: rgb(212, 212, 212);
}
.text-rus {
    display: flex;
    position: relative;
    padding: 2px 12px;
    font-family: 'IBM Plex Mono';    
    font-size: 18px;
}
.line-rus:hover::before {
    z-index: 1;
    content: attr(data-title);
    position: absolute;
    width: 200px;
    bottom: 36px;
    padding: 8px 16px 10px 16px;
    border-radius: 10px;
    overflow-wrap: break-word;
    text-align: center;
    line-height: 15px;
    background-color: white;    
    box-shadow: 1px 1px 10px 0 gray ;    
}
.text-lat {
    display: flex;
    position: relative;
    justify-content: space-between;
    width: 100%;
    padding: 2px 12px;
    font-family: 'IBM Plex Mono';
    font-size: 18px;    
}
.line-lat:hover::before {
    z-index: 1;
    content: attr(data-title);  
    position: absolute;
    width: 195px;
    bottom: 30px;
    padding: 8px 16px 10px 16px;
    border-radius: 10px;
    overflow-wrap: break-word;
    line-height: 15px;
    text-align: center;
    background-color: white;    
    box-shadow: 1px 1px 10px 0 gray ;    
}
.del-item {
    position: relative;
    right: 0;
    width: 18px;
    height: 18px;
    cursor: pointer;
}
.clean-all {
    display: flex;
    justify-content: space-between;
    width: 176px;
    height: 38px;
    margin-top: 60px;
    padding: 8px 12px ;
    border-radius: 8px;
    border: none;
    line-height: 24px;
    letter-spacing: 5%;
    cursor: pointer;
    text-align: center; 
    font-size: 18px;
    background-color: rgb(171, 171, 171);
}
.for-button {
    display: flex;
    flex-direction: column;
    align-items: center;    
}
.delete-button {
    width: 24px;
    height: 24px;
}
.text {
   border-top: 1px solid black;
}
@media(max-width:576px) {
    .name{
        font-size: 24px;
        margin-bottom: 20px;
    }
    .submit {
        width: 107px;
        height: 38px;
    }
    .input-box {
       max-width:360px ;
       margin: 0 auto 20px;
    }
    .dictionary-box{
        max-width: 360px;
        margin: 0 auto;
    }
    .all-items {
        max-width: 100%;
    }
    .line-lat:hover::before {
        z-index: 1;
        content: attr(data-title);  
        position: absolute;
        width: 195px;
        bottom: 30px;
        right: 10px;
        padding: 8px 16px 10px 16px;
        border-radius: 10px;
        overflow-wrap: break-word;
        background-color: white;
        line-height: 15px;
        box-shadow: 1px 1px 10px 0 gray ;
        text-align: center;
    }
}
@media(max-width:768px) {
    .my-translit{
        max-width: 500px;
    }
}