@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap');
:root {
    --standard-font: "Open Sans", sans-serif;
}

/** {*/
/*    margin: 0;*/
/*    padding: 0;*/
/*    box-sizing: border-box;*/
/*}*/

body {
    /*font-family: var(--standard-font);*/
    /*font-weight: 500;*/
}

.hidden {
    visibility: hidden !important;
}

.show {
    visibility: visible;
}

.show-click {
    visibility: visible;
}

.hide-click {
    visibility: hidden;
}

.words-group {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    align-items: flex-end;
    gap: 20px;
    margin: .75rem;
}

.words-group .word-box {
    margin: 1.2rem .75rem;
}

.words-group .word-box .text-area {
    margin-left: 20px;
    font-size: 18px;
}

.words-group .word-box .text-area .main-word-box {
    /*cursor: pointer;*/
    padding: 1.5rem 2rem;
    border: 1px solid #509fe5;
    border-radius: 15px;
    display: flex;
    justify-content: space-between;
    flex-direction: column;
    gap: 20px;
    height: 180px !important;
}

.words-group .word-box .text-area .main-word-box .audio-icon {
    margin-left: 15px;
}

.words-group .word-box .text-area .main-word-box > div > span  {
    display: inline-block;
    margin-left: 15px;
    line-height: 2;
    width: 100%;
    cursor: pointer;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}

.words-group .word-box .text-area .main-word-box .audio-icon {
    display: inline-block;
    max-width: 35px;
}

.words-group .word-box .text-area .main-word-box .audio-icon img {
    max-width: 80%;
    border-radius: 50%;
}

.words-group .word-box .text-area .hover-word-box {
    padding-bottom: .75rem;
    padding-left: 3rem;
    line-height: 2;
}

/** Checkbox specific code */
/* Customize the label (the container) */
.container {
    display: block;
    position: relative;
    padding-left: 35px;
    /*margin-bottom: 12px;*/
    /*cursor: pointer;*/
    /*font-size: 22px;*/
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* Hide the browser's default checkbox */
.container input {
    position: absolute;
    opacity: 0;
    /*cursor: pointer;*/
    height: 0;
    width: 0;
}

/* Create a custom checkbox */
.checkmark {
    position: absolute;
    top: 0;
    right: 10px;
    left: -25px;
    height: 25px;
    width: 25px;
    background-color: #ffffff;
    transform: translateY(60%);
    border: 1px solid dodgerblue;
    border-radius: 5px;
}

/* On mouse-over, add a grey background color */
.container:hover input ~ .checkmark {
    background-color: white;
}

/* When the checkbox is checked, add a blue background */
.container input:checked ~ .checkmark {
    background-color: #2196F3;
}

/* Create the checkmark/indicator (hidden when not checked) */
.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

/* Show the checkmark when checked */
.container input:checked ~ .checkmark:after {
    display: block;
}

/* Style the checkmark/indicator */
.container .checkmark:after {
    left: 9px;
    top: 5px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 3px 3px 0;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}

/** for smaller devices */
@media screen and (max-width: 700px) {
    .words-group {
        grid-template-columns: 1fr;
    }
}