@import url('https://fonts.googleapis.com/css2?family=Source+Sans+Pro&display=swap');

body {
    font-family: 'Source Sans Pro', sans-serif;
}

textarea {
    font-family: 'Source Sans Pro', sans-serif;
    border-radius: 5px;
    max-width: 450px;
    width: 100%;
    border: 0px solid #c6c6c6;
    font-size: 16px;
    resize: vertical;
    min-height: 25px;
}

.block1 {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    max-width: 450px;
    width: 100%;
    border: 1px solid #c6c6c6;
    border-radius: 5px;
}

.delete_btn{
    width: 50px;
    height: 52px;
    border: 0px;
    background-color: #ffffff;
    background-image: url(images/krestik.png);
    background-size: 50%;
    background-repeat: no-repeat;
    background-position: center;
}

#num {
    padding-left: 10px;
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 150%;
    border: 0px;
    height: 50px;
    width: 100%;
    outline: none;
    outline-offset: 0;
    

}

.mej_blockov{
    width: 5%; 
    max-width: 50px;
}

.delitel {
    display: flex;
    margin-left: auto;
    margin-right: auto;
    max-width: 950px;
}

.buttons {
    display: flex;
    flex-direction: column;

}

input[type='button']{
    -webkit-appearance: none;
}

.second_part {
    max-width: 450px;
}

#copy_btn {
    transition: .0.5s;
    height: auto;
    width: 52px;
    border: 0px;
    background-color: #ffffff;
    background-image: url(images/copy.png);
    background-size: 50%;
    background-repeat: no-repeat;
    background-position: center;
    
}

#copy_btn:hover {
    background-color: #c6c6c6; 
}

#copy_btn:active {
    background-color: #40e551;    
}

#menu_vat{
    border-radius: 5px;
    font-family: 'Source Sans Pro', sans-serif;
    border: 1px solid #e76f3d;
}

.vse {
    max-width: 1000px;
    border: 1px solid #c6c6c6;
    border-radius: 10px;
}

.perekluchalki[type="checkbox"] {
  
  position: relative;
  width: 40px;
  height: 20px;
  -webkit-appearance: none;
  outline: none;
  background: #c6c6c6;
  border-radius: 20px;
  transition: .3s;
  box-shadow: inset 0 0 5px rgba(0,0,0,.2);
}

.perekluchalki:checked[type="checkbox"] {
  background: #40e551
}

.perekluchalki[type="checkbox"]:before {
  content: '';
  position: absolute;
  width: 20px;
  height: 20px;
  border-radius: 20px;
  top: 0;
  left: 0;
  background: #fff;
  transition: .3s;
  transform: scale(1.1);
  box-shadow: 0 2px 5px rgba(0,0,0,.2);
}

.punkt {
    display: flex;
    flex-direction: row-reverse;
    justify-content: space-between;
    width: 300px;
    margin-bottom: 5px;
    padding-left: 5px;
    border-radius: 5px;
    border: 1px solid #c6c6c6;
    
}

.perekluchalki:checked[type="checkbox"]:before {
  left: 20px;
}

.nds_btns{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    height: 50px;
    max-width: 450px;
}

.nds_btn{
    border: 0px solid #c6c6c6;
    border-radius: 25px;
    width: 50px;
    height: 50px;
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 22px;
    transition: .0.5s;
}

h2{
    height: 60px;
    font-size: 32px;
}

.nds_btn:hover{
    border: 1px solid #40e551;
    
}

.nds_btn_on{
    background-color: #40e551;
}

.nds_btn_off{
    background-color: #c6c6c6;
}

.korobka_valuta{
    width: 50px;
    height: 50px;
    padding-right: 25px;
}

.valuta_checkbox{
    position: absolute;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;  
    opacity: 0;
}

.check_span{
    border-radius: 25px;
    transition: .0.5s;
    position: absolute;
    width: 50px;
    height: 50px;
    background-size: cover;
}

.check_span:hover{
    border: 1px solid #40e551;
}

.contain_valuta{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    max-width: 450px;
    height: 60px;
}

#copy_alert {
    font-family: 'Source Sans Pro', sans-serif;  
    z-index: 100;
    position: fixed;
    top: 90%;
    left: 10%;
    margin-left: 150px;
    margin-right: -50%;
    transform: translate(-50%, -50%);
    width: 300px;
    height: 50px;
    font-size: 20px;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #c6c6c6;
    background-color: rgba(64, 229, 81, 0.5);
    opacity: 0;
}

@media screen and (max-device-width: 950px) {
    .delitel {
        display: block;
    }
    
    .mej_blockov{
        width: 0px;
    }
    
    textarea{
        max-width: 100%;
    }
    
    .block1{
        max-width: 100%;
    }
    
    .second_part{
        max-width: 100%;
    }
    
    .nds_btn{
        width: 100px;
        height: 100px;
        border-radius: 50px;
        font-size: 44px;
        padding-right: 22px;
    }
    
    .nds_btns{
        height: 100px;
        max-width: 90%;
    }
    
    h2 {
        height: 100px;
        font-size: 60px;
        height: 100px;
    }
    
    h1 {
        font-size: 100px;
        margin: 0 0 10px 0;
    }
    
    .contain_valuta{
        max-width: 90%;
        height: 110px;
    }
    
    .korobka_valuta{
        height: 100px;
        width: 100px;
        padding-right: 50px;
    }
    
    .check_span{
        height: 100px;
        width: 100px;
        border-radius: 50px;
    }
    
    #copy_alert{
        margin-left: 0;
        margin-right: 0;
        width: 0;
        height: 0;
        position: absolute;
        z-index: -1;
    }
    
    .punkt{
        width: 90%;
        margin-left: auto;
        margin-right: auto;
        font-size: 40px;
        margin-bottom: 10px;
    }
    
    .perekluchalki[type="checkbox"] {
        width: 80px;
        height: 40px;
        border-radius: 20px;
    }

    .perekluchalki[type="checkbox"]:before {
        width: 40px;
        height: 40px;
        border-radius: 20px;
    }
    
    .perekluchalki:checked[type="checkbox"]:before {
        left: 40px;
    }
    
    
}