html {
    font-size: 14px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

html {
    position: relative;
    min-height: 100%;
}

body {
    margin-bottom: 60px;
}

body header {
    border-bottom: 1px solid silver;
}

td.controls button, td.controls a {
    opacity: 0;
}

tr:hover td.controls button, tr:hover td.controls a {
    opacity: 1;
}

table tbody td.sticky, table thead th.sticky {
    position: sticky;
    left: 0;
    /*background-color: white;*/
    z-index: 1;
}

a,
.pointer {
    cursor: pointer;
}


div.my--card {
    width: 296px;
    height: 507px;
    margin: auto;
    border-radius: 16px;
}

.my--card .word {
    margin-top: 5rem;
    font-family: 'Charter';
    font-style: normal;
    font-weight: 700;
    font-size: 34px;
    line-height: 38px;
    text-transform: lowercase;

    /* Dark/Text/headline-primary */

    color: #1E4248;
}

.my--card .transcription, .dictionary .transcription {
    background: #F8FBFB;
    border-radius: 16px;
    width: fit-content;
    padding: 5px 10px 5px 10px;
    cursor: pointer;
    /* font-family: 'SF Pro Text'; */
    font-style: normal;
    font-weight: 400;
    font-size: 15px;
    line-height: 24px;
    /* identical to box height, or 160% */

    letter-spacing: -0.24px;

    /* Light/Buttons/btn-main-secondary__default__text */

    color: #00CCEB;
}

.my--card .transcription:active {

}

.my--card .pos {
    /* font-family: 'SF Pro Text'; */
    font-style: italic;
    font-weight: 400;
    font-size: 17px;
    line-height: 32px;
    /* or 188% */

    text-align: center;
    letter-spacing: -0.44px;

    /* Dark/Text/dict-pos */

    color: #08783C;

    display: inline;
}

.my--card .definition {
    /* Word card/Body 1 */

    display: inline;
    /* font-family: 'SF Pro Text'; */
    font-style: normal;
    font-weight: 400;
    font-size: 19px;
    line-height: 28px;
    /* or 147% */

    text-align: center;
    letter-spacing: -0.46px;

    /* Dark/Text/text-primary */

    color: #000000 !important;
}

.my--card .example {
    /* Word card/Footnote 1 */

    font-family: 'Charter';
    font-style: italic;
    font-weight: 400;
    font-size: 19px;
    line-height: 28px;
    /* identical to box height, or 147% */

    text-align: center;

    /* Dark/Text/dict-example */

    color: #097586;

}

.definition .example {
    /* Word card/Footnote 1 */

    font-family: 'Charter';
    font-style: italic;
    font-weight: 400;
    font-size: 19px;
    line-height: 28px;
    /* identical to box height, or 147% */

    text-align: left;

    /* Dark/Text/dict-example */

    color: #097586;

}

.my--card > div > div {
    max-width: 86%;
    margin-left: auto;
    margin-right: auto;
}

#oxfordData {
    width: 100%;
    height: 100%;
}


.audio-file-dropdown + .dropdown-menu {
    background-color: transparent;
    border: 0;
    width: 500px;
}

.footer {
    position: relative !important;
    padding: 1rem;
}

td.vibe {
    font-family: 'Charter';
    font-style: italic;
    font-weight: 400;
    font-size: 19px;
    line-height: 28px;
    /* identical to box height, or 147% */

    text-align: left;

    /* Light/Text/dict-example */

    color: #097586 !important;
}

.rank-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    object-fit: contain;
    background-color: #fff;
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.08);
}

.rank-icon.rank-icon-lg {
    width: 64px;
    height: 64px;
    border-radius: 16px;
}

td .definition {
    font-family: 'SF Pro Text';
    font-style: normal;
    font-weight: 400;
    font-size: 19px;
    line-height: 28px;
    /* or 147% */

    text-align: center;
    letter-spacing: -0.46px;

    /* Light/Text/text-primary */

    color: #000000 !important;
}

.illustration-back {
    background-size: cover;
    background-position: center;
}


.my--card.is-flipped {
    transform: rotateY(180deg);
}

.card__face {
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: #fff;
    border-radius: 16px;
    display: flex;
    justify-content: center;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

.card__face--back {
    transform: rotateY(180deg);
}

.my--card {
    border: 0;
    transition: transform 1s;
    transform-style: preserve-3d;
    min-height: 24rem;
    height: calc(100vh - 18rem);
    max-height: 34rem;
    cursor: pointer;
}

.scene {
    -moz-perspective: 600px;
    perspective: 600px;
}

/* Only Safari 10.1+ */
@media not all and (min-resolution: .001dpcm) {
    @supports (-webkit-appearance:none) {


        input::-webkit-datetime-edit {
            font-size: 0.9rem;
            -webkit-flex: 1;
            -webkit-user-modify: read-only !important;
            display: inline-block;
            min-width: 0;
            overflow: hidden;
            padding: 0;
            margin-bottom: -0.25rem
        }

        input::-webkit-datetime-edit-fields-wrapper {
            -webkit-user-modify: read-only !important;
            display: inline-block;
            padding: 0;
            white-space: pre;
        }
    }
}


.iphone {
    min-width: 360px;
    max-width: 360px;
    background: #E9F0F2;
}

.card-container > div {
    margin: auto;
}

.glow {
    color: #fff;
    text-align: center;
    -webkit-animation: glow 1s ease-in-out infinite alternate;
    -moz-animation: glow 1s ease-in-out infinite alternate;
    animation: glow 1s ease-in-out infinite alternate;
}

@-webkit-keyframes glow {
    from {
        text-shadow: 0 0 10px #fff, 0 0 20px #fff, 0 0 30px #e60073, 0 0 40px #e60073, 0 0 50px #e60073, 0 0 60px #e60073, 0 0 70px #e60073;
    }
    to {
        text-shadow: 0 0 20px #fff, 0 0 30px #ff4da6, 0 0 40px #ff4da6, 0 0 50px #ff4da6, 0 0 60px #ff4da6, 0 0 70px #ff4da6, 0 0 80px #ff4da6;
    }
}

.grow {
    text-align: center;
    animation: grow-animation 2s linear infinite;
}

@keyframes grow-animation {
    0% {
        transform: scale(1);
    }
    25% {
        transform: scale(1.1);
    }
    50% {
        transform: scale(1);
    }
    75% {
        transform: scale(0.95);
    }
    100% {
        transform: scale(1);
    }
}
