﻿.exit-button {
    font-weight: bolder;
}

.social-icon {
    stroke: white;
    fill: white;
    height: 20px;
}

.first-section {
    width: 35%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.second-section {
    white-space: nowrap;
    width: 100%;
    text-align: left;
}

.hidden {
    display: none !important;
}

.share-button {
    display: flex;
    flex-direction: column;
}

.buton-underline {
    align-self: center;
    border-bottom: 1px solid rgb(240,240,240);
}

.section-container {
    width: 100%;
    color: white;
    cursor: pointer;
    -webkit-user-select: none; /* Safari */
    -ms-user-select: none; /* IE 10 and IE 11 */
    user-select: none;
    column-gap: 5px;
    display: flex;
    flex-direction: row;
    align-items: center;
}

.two-section-button {
    width: 100%;
    align-items: flex-start;
    display: flex;
    flex-direction: column;
}

.two-section-button-touch-screen {
    width: 100%;
    align-items: flex-start;
    display: flex;
    flex-direction: column;
}

.buton-underline {
    width: 0%;
    display: none;
}

.two-section-button:hover > .buton-underline {
    animation-name: two-section-button-underlining;
    animation-duration: 0.5s;
    animation-fill-mode: forwards;
    display: block;
}

@keyframes two-section-button-underlining {
    from {
        width: 0%;
    }

    to {
        width: 80%
    }
}

.two-section-button:hover > .section-container {
    animation-name: section-container-coloring;
    animation-duration: 0.5s;
    animation-fill-mode: forwards;
}

    .two-section-button:hover > .section-container > .first-section > .social-icon {
        animation-name: svg-coloring;
        animation-duration: 0.5s;
        animation-fill-mode: forwards;
    }

@keyframes svg-coloring {
    to {
        stroke: var(--primary-color-reflection);
        fill: var(--primary-color-reflection);
    }
}

@keyframes section-container-coloring {
    to {
        color: var(--primary-color-reflection);
    }
}

.share-button-holder {
    z-index: 1;
    column-gap: 10px;
    padding: 5px 10px 5px 10px;
    row-gap: 5px;
    
    font-size: 14px;
    border-radius: 10px;
    border: 3px solid rgb(240,240,240);
    background-color: var(--primary-color);
    color: var(--primary-hover);
    display: flex;
    flex-direction: row;
    position: absolute;
    margin-top: 30px;
    height: 40px;
}

.share-button-holder-small {
    row-gap: 5px;
    padding: 5px 10px 5px 10px;
    
    font-size: 14px;
    border-radius: 10px;
    border: 3px solid rgb(240,240,240);
    background-color: var(--primary-color);
    color: var(--primary-hover);
    display: flex;
    flex-direction: column;
    position: absolute;
    margin-top: 30px;
    margin-left: -58px;
    width: 120px !important;
    align-items: start;
    height: auto;
}

.share-button-symbol {
    width: 30px !important;
    line-height: 30px !important;
    height: 30px !important;
    font-size: 30px !important;
    color: lightgray;
    text-align: center !important;
}

.share-button-symbol-filled {
    width: 30px !important;
    line-height: 30px !important;
    height: 30px !important;
    font-size: 30px !important;
    color: lightgray;
    text-align: center !important;
}

.share-button-touch-screen {
    display: flex;
    flex-direction: column;
}

.share-button:hover > .share-button-symbol::before {
    animation-name: share-button-filling;
    animation-duration: 0.5s;
    animation-fill-mode: forwards;
}

@media (max-width: 950px) {
    .share-button-holder {
        row-gap: 5px !important;
        padding: 5px 10px 5px 10px !important;
        margin-left: -58px !important;
        width: 120px !important;
        
        font-size: 14px !important;
        border-radius: 10px !important;
        border: 3px solid rgb(240,240,240) !important;
        background-color: var(--primary-color) !important;
        color: var(--primary-hover) !important;
        display: flex !important;
        flex-direction: column !important;
        position: absolute !important;
        margin-top: 30px !important;
        align-items: start !important;
        height: auto !important;
    }
}

@media (min-width: 950px) {
    .share-button-holder {
        column-gap: 10px !important;
        padding: 5px 10px 5px 10px !important;
        
        font-size: 14px !important;
        border-radius: 10px !important;
        border: 3px solid rgb(240,240,240) !important;
        background-color: var(--primary-color) !important;
        color: var(--primary-hover) !important;
        display: flex !important;
        flex-direction: row !important;
        position: absolute !important;
        margin-top: 30px !important;
        height: 40px !important;
        align-items: center !important;
    }
}
