:root {
    --color-accent: #4168F6;
    --color-text: #232323;
}

html {
    height: 100%;
    margin: 0;
    font-size: 16px;
}

body {
    display: flex;
    flex-direction: column;
    font-family: 'DM Sans', sans-serif;
    height: 100%;
    margin: 0;
    background: linear-gradient(112.58deg, #F2F3F7, #D8DEE7);
    background-attachment: fixed;
    animation: fadeIn 0.4S ease-in-out;
}

.header {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding-top: 32px;
    height: 32px;
}

.header-title-container {
    display: flex;
    flex-direction: row;
    align-items: center;
}

.header-logo {
    width: 3rem;
    height: 3rem;
    border-radius: 0.7rem;
}

.header-title {
    color: var(--color-text);
    padding-left: 1.3rem;
    font-weight: bold;
    font-size: 1.8rem;
}

.donation-button {
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 56px;
    padding: 0.5rem;
    margin-right: 1.5rem;
    margin-left: 0.4rem;
    background-color: rgba(65, 104, 246);
    transition: box-shadow 0.3s ease-in-out;
}

.donation-button:hover {
    box-shadow: 0px 0px 10px var(--color-accent);
}

.donation-label {
    color: #FFFFFF;
    font-weight: 400;
    font-weight: bold;
    font-size: 1.2rem;
    margin-left: 1.0rem;
    margin-right: 1.0rem;
}

.donation-icon {
    fill: #FFFFFF;
    width:  1.5rem;
    height: 1.5rem;
    background-color: #FFFFFF30;
    padding: 4px;
    border-radius: 24px;
}

.content {
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    align-items: center;
    align-content: center;
    box-sizing: border-box;
    width: 100%;
    height: calc(100% - 162px);
    min-height: 600px;
}


.screen {
    box-sizing: border-box;
    max-height: 90%;
    max-width: 55%;
    animation: fadeIn 0.4S ease-in-out;
}



.info {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
    padding-top: 164px;
    font-size: 16px;
}

.info-title {
    color: var(--color-text);
    font-weight: bold;
    padding-bottom: 1em;
    font-size: 1.6em;
}

.info-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    font-size: 16px;    
}

.info-content-item {
    display: flex;
    align-items: center;
    border-radius: 2em;
    margin-top: 1.5em;
    padding-right: 0.5em;
    font-size: 1.2em;
    color: var(--color-text);
}

.info-icon {
    width: 3em;
    height: 3em;
    fill: var(--color-text);
    margin-right: 10px;
    padding-right: 12px;
}

.info-label {
   font-size: 1em;
}

.download {
    display: flex;
    width: 100%;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.download-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    border-radius: 12px;
    margin-top: 2em;
    stroke: none;
    font-weight: semibold;
    font-size: 1.2em;
    border-color: transparent;
    background-color: var(--color-accent);
    padding-top: 18px;
    padding-bottom: 18px;
    color: #FFFFFF;
    transition: box-shadow 0.3s ease-in-out;
}

.download-button:hover {
    box-shadow: 0px 0px 10px var(--color-accent);
}

.download-dropdown {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    box-sizing: border-box;
    background-color: #f8f9fd;
    border-radius: 12px;
    margin-top: 16px;
    padding-left: 12px;
    padding-top: 8px;
    padding-bottom: 8px;
    padding-right: 16px;
    z-index: 1;
    transition: 0.3s ease-in-out;
    -webkit-tap-highlight-color: transparent;
}

.download-dropdown:hover {
    box-shadow: 2px 2px 10px rgb(193, 199, 207, 0.9);
    background-color: #f8f9fd;
    cursor: pointer;
}

.dropdown-icon {
    width: 18px;
    height: 14px;
    fill: var(--color-text);
    transition: 0.3s ease-in-out;
}

.download-label {
    background-color: transparent;
    color: var(--color-text);
    font-size: 18px;
    border: none;
}

.dropdown-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    box-sizing: border-box;
    background-color: #f8f9fd;
    border-radius: 12px;
    padding-top: 10px;
    padding-bottom: 12px;
    padding-left: 12px;
    padding-right: 10px;
    margin-top: 8px;
    opacity: 0;
    box-shadow: 2px 2px 10px rgb(193, 199, 207, 0.9);
    transition: 0.3s ease-in-out;
    transform: translateY(-20%);
    cursor: pointer;
}

.dropdown-item {
    width: 100%;
    padding-top: 6px;
    padding-bottom: 6px;
    padding-left: 12px;
    padding-right: 12px;
    box-sizing: border-box;
    border-radius: 8px;
}

.dropdown-item:hover {
    background-color: #4168F6;
    color: #fff;

}

.contacts {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    width: 100%;
}

.contacts-icon {
    width: 1.5rem;
    height: 1.5rem;
    padding-top: 8px;
    padding-bottom: 8px;
    padding-left: 12px;
    padding-right: 12px;
    fill: var(--color-text);
    opacity: 0.6;
}

.contacts-label {
    color: var(--color-text);
    padding-top: 8px;
    padding-bottom: 8px;
    padding-left: 8px;
    padding-right: 8px;
    opacity: 0.6;
}

.invisible-block {
    width: 200px;
    height: 150px;
    visibility: hidden;
}

a {
    -webkit-tap-highlight-color: transparent;
}

a {
    text-decoration: none;
    color: inherit;
}

.contacts-link {
    text-decoration: none;
    color: inherit;
}

.contacts-link:hover {
    background-color: #FFFFFF99;
    border-radius: 8px;
}

@media screen and (max-width: 768px) {
    .content {
        height: unset;
        padding-left: 2rem;
        padding-right: 2rem;
    }

    .screen {
        width: 100%;
        padding-top: 2rem;
        max-width: 900px;
    }

    .header-menu-item {
        display: none;
    }

    .content {
        flex-direction: column-reverse;
        min-height: initial;
    }

    .info {
        padding-top: 32px;
        align-items: center;
    }

    .info-title {
        text-align: center;
    }

    .download-button {
        margin-top: 38px;
    }

    .screen-content {
        width: 94%;
    }

}

@media (max-width: 1900px) {
    html {
        font-size: 13px;
    }

    .info {
        font-size: 14px;
    }

    .info-content {
        font-size: 14px;
    }
}

@media (max-width: 1200px) {
    html {
        font-size: 14px;
    }

    .info {
        font-size: 13px;
    }
}

@media (max-width: 700px) {
    html {
        font-size: 13px;
    }

    .info {
        font-size: 15px;
    }

    .info-content {
        font-size: 16px;
    }
}

@media (max-width: 500px) {
    html {
        font-size: 12px;
    }

    .info {
         font-size: 14px;
    }

    .info-content {
        font-size: 16px;
    }

}

@media (max-width: 400px) {
    html {
        font-size: 11px;
    }

    .info {
        font-size: 14px;
    }

    .info-content {
        font-size: 15px;
    }

}

@media (max-width: 340px) {
    html {
       font-size: 10px;
    }

    .info {
        font-size: 12px;
    }

    .info-content {
        font-size: 13px;
    }
}

@media (max-width: 290px) {
    html {
       font-size: 9px;
    }

    .info {
        font-size: 10px;
    }

    .info-content {
        font-size: 11px;
    }
}



@keyframes fadeIn {
    from {
        opacity: 0;

    }

    to {
        opacity: 1;
    }
}

/* this is not optimizet for all brousers verions of css  */

