*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    word-wrap: break-word;
}
body {
    background: linear-gradient(60deg, #232323 13.4%, #4e8454 86.6%);
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}
#main {
    width: 1100px;
    display: flex;
}
#language {
    height: 50px;
    display: flex;
    justify-content: flex-end;
}
.flag {
    border-radius: 10px;
    opacity: 100%;
}
#flag-ru {
    margin-left: 10px;
}
.unselected-flag {
    opacity: 50%;
}
.unselected-flag:hover {
    opacity: 75%;
}
#green-card {
    width: 100%;
    height: 660px;
    margin-top: 10%;
    margin-bottom: 30%;
    background: rgba(48, 151, 0, 0.7);
    box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
    backdrop-filter: blur(2px);
    border-radius: 30px;
    padding: 20px 20px 20px 20px;
}
.description {
    display: flex;
    width: 100%;
    margin-top: 10px;
    padding: 10px;
    border-radius: 10px;
    background: rgba(0, 0, 0, 0.2);
}
.text {
    display: flex;
    flex-direction: column;
}
h1 {
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 700;
    font-size: 48px;
    line-height: 120%;
    color: #fff;
    text-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
}
h4 {
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 400;
    font-size: 20px;
    line-height: 120%;
    color: rgba(255, 255, 255, 0.75);
}
p10 {
    padding-bottom: 10px;
}

.p-10 {
    padding-top: 10px;
}
.text-24 {
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 400;
    font-size: 24px;
    line-height: 120%;
    color: #fff;
}
.text-16 {
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 300;
    font-size: 16px;
    line-height: 120%;
    text-align: center;
    text-decoration: none;
    color: #fff;
}
.text-14 {
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 300;
    font-size: 14px;
    line-height: 14px;
    color: #fff;
}
.text-12 {
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 300;
    font-size: 12px;
    line-height: 14px;
    color: #fff;
}
#payment_button {
    border: none;
    padding: 10px;
    margin-top: 10px;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    /*height: 49px;
    */
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 700;
    font-size: 24px;
    line-height: 120%;
    color: #fff;
    background: #3ab31c;
    box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
    border-radius: 10px;
}
#payment_button:hover {
    background-color: #34a419;
}
#payment_button:active {
    background-color: #2c8c15;
}
button {
    z-index: 15;
    border: none;
    padding: 10px;
    margin-top: 10px;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    /*height: 49px;
    */
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 700;
    font-size: 24px;
    line-height: 120%;
    color: #fff;
    text-align: center;
    background: #3ab31c;
    box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
    border-radius: 10px;
}
button:hover {
    background-color: #34a419;
}
button:active {
    background-color: #2c8c15;
}
.amount {
    margin-top: 20px;
    display: flex;
}
.payment {
    display: flex;
    flex-direction: column;
}
#payment_amount {
    padding: 10px 20px 10px 10px;
    background-color: rgba(255, 255, 255, 0.25);
    display: inline-block;
    border-radius: 10px 0 0 10px;
}
#payment_input {
    border: none;
    padding: 10px 10px 10px 15px;
    background-color: rgba(255, 255, 255, 0.15);
    flex-grow: 1;
    border-radius: 0 10px 10px 0;
}
#payment_input::placeholder {
    color: rgba(231,231,231,0.51);
}

#payment_input:active {
    border: none;
}

#heading {
    width: 100%;
}
#small_information {
    margin-top: 10px;
}
#green_content {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding-top: 25%;
    justify-content: flex-end;
}
.payment-text {
    padding-left: 40px;
    padding-right: 40px;
    padding-top: 2.5%;
    width: 75%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-self: center;
}
.logo {
    height: auto;
    width: 501px;
    padding-top: 25px;
    margin-top: 50px;
    opacity: 50%;
    position: relative;
    top: 40px;
    align-self: center;

    pointer-events: none;
}
.personal-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    align-self: center;
    width: 90%;
    margin-top: 20px;
    padding: 20px 10px 20px 10px;
    border-radius: 25px;
    background: linear-gradient(0deg, rgba(44, 154, 255, 0.5), rgba(44, 154, 255, 0.5)), linear-gradient(88.72deg, #000 0%, #444 100%);
    box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
    backdrop-filter: blur(7.5px);
    position: relative;
    top: 10%;
}
.m-10 {
    margin-top: 10px;
}
.text-center {
    text-align: center;
}
.link-button {
    background: rgba(20, 0, 255, 0.3);
    border-radius: 7px;
    border: none;
    padding: 5px 50px 5px 50px;
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 300;
    font-size: 16px;
    line-height: 120%;
    text-align: center;
    color: #fff;
}
.link-button:hover {
    background: rgba(14, 0, 182, 0.3);
}
.link-button:active {
    background: rgba(9, 0, 126, 0.3);
}
.button-list {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-around;
    gap: 0.5rem;
}
.address {
    padding: 0 10px 0 10px;
}
#langBack {
    margin-left: 40px;
    display: flex;
    flex-direction: row;
    justify-content: stretch;
}
#empty {
    flex-grow: 1;
}
.material-symbols-outlined {
    font-variation-settings: 'FILL' 0, 'wght' 700, 'GRAD' 0, 'opsz' 30;
}
.limited-250 {
    max-height: 250px;
    overflow: auto;
}
.limited-300 {
    max-height: 300px;
    overflow: auto;
}
.margins-description {
    margin-left: 40px;
    margin-right: 40px;
}

.white {
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
}

#back_button {
    height: 45px;
}

@media screen and (min-width: 768px) and (max-width: 1050px) {
    #green_content {
        width: 100%;
        padding-top: 1.5%;
    }
    #green-card {
        height: 100%;
        margin-left: 10px;
        margin-right: 10px;
    }
    .payment-text {
        padding-left: 20px;
        padding-right: 20px;
        width: 100%;
    }
    .logo {
        padding-left: 20px;
        padding-right: 20px;
        width: 80%;
        top: 0px;
    }
    .flag {
        height: 50px;
    }
    .personal-info {
        top: 10%;
        padding: 20px 10px 20px 10px;
    }
}
@media screen and (min-width: 0px) and (max-width: 768px) {
    #green_content {
        width: 100%;
        padding-top: 1%;
    }
    #green-card {
        height: 100%;
        margin-left: 10px;
        margin-right: 10px;
    }
    .payment-text {
        padding-left: 20px;
        padding-right: 20px;
        width: 100%;
    }
    .logo {
        padding-left: 20px;
        padding-right: 20px;
        width: 100%;
        top: 0px;
    }
    .flag {
        height: 40px;
    }
    .personal-info {
        top: 30%;
        padding: 20px 20px 20px 20px;
    }
}
