@import url('https://fonts.googleapis.com/css2?family=Grandstander:wght@100&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Lato:wght@300&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Gloria+Hallelujah&family=Indie+Flower&family=Shadows+Into+Light&family=Shadows+Into+Light+Two&display=swap');
:root {
    --max-width: 1200px;
    --my-favorite-font: 'Grandstander', cursive;
    --custom-big-font: 2.75rem;
    --my-lato-font: 'Grandstander', cursive;
    --my-text-align: justify;
    --my-fancy-grey: #ebebeb;
    --my-yellow-1: #808000;
    --my-red-1: rgb(198,4,56);
    --my-orange-1 : orange;
    --first-btn-color: #6caace;
    --working-lato: 'Lato', sans-serif;
    --my-padding: 1.2rem 3rem;
}

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

/* Core classes */
ul {
    list-style: none;
}

button, a {
    border: none;
    text-decoration: none;
    background: none;
}

img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Utility classes */
.container {
    max-width: var(--max-width);
    margin: auto;
}

.default-container {
    max-width: 1400px;
    margin: auto;
}

h1 { padding: 1.2rem 0; }

/* enter-2x */
.enter-2x {
    font-size: 2rem;
}

/* fonts */
.fav-font-1 {
    font-family: var(--my-favorite-font);
    font-size:  15px;
}

/* padding classes */
.py-mini { padding: .5rem 0; }
.py-small { padding: 0 0 1.5rem 0; }
.py-0 { padding: 1rem 0; }
.py-1 { padding: 1.5rem 0; }
.py-2 { padding: 2rem 0; }
.py-3 { padding: 3rem 0; }
.py-4 { padding: 4rem 0; }

.px-0 { padding: 0 .75rem; }
.px-1 { padding: 0 1.5rem; }
.px-2 { padding: 0 2rem; }
.px-3 { padding: 0 3rem; }
.px-4 { padding: 0 4rem; }

/* Fonts */
.font-1 { font-size: 1.2rem; }
.font-2 { font-size: 2rem; }
.font-3 { font-size: 3rem; }
.font-4 { font-size: 4rem; }

/* colored circles */
.red {
    background-color: var(--my-red-1);
    color: #fff;
}

.blue {
    background-color: var(--first-btn-color);
    color: #fff;
}

.orange {
    background-color: var(--my-orange-1);
    color: #fff;
}

.yellow {
    background-color: rgb(177, 164, 13);
    color: #fff;
}

.grey {
    background-color: #999;
    color: #000;
}

.yell {
    background-color: rgb(130, 181, 30);
    color: #fff;
}

.img-child {
    position: relative;
}

.btn-sm {
    position: absolute;
    padding: .5rem .3rem;
    background: orange;
    border-radius: 5px;
    color: #fff;
}

.btn-lesson {
    position: absolute;
    background-color: #10B7FF;
    display: inline;
    padding: .5rem .3rem;
    color: #fff;
    font-size: 4rem;
}

.second-tab {
    position: relative;
}

.blue-variant {
    background: rgb(106,88,186);
    color: #fff;
}

.blue-2 {
    background: rgb(61,162,200);
    color: #fff;
}

.blue-1 {
    background: rgb(204,171,218);
    color: #fff;
}

.chocolate {
    background: rgb(110,88,88);
    color: #fff;
}

/* Colors */
.red-bg { background-color: var(--my-red-1); }
.orange-bg { background-color: var(--my-orange-1); }
.yellow-bg { background-color: var(--my-yellow-1); }
.blue-bg { background-color: var(--first-btn-color); }

/* Buttons */
.btn-primary {
    color: #fff;
    border: 1px solid var(--my-fancy-grey);
    border-radius: 5px;
    padding: .7rem .5rem;
    background: #2E86C1;
}

.btn-primary:hover {
    cursor: pointer;
    transition: .5s all;
    background: var(--my-fancy-grey);
    color: #000;
}

.curved-class {
    font-size: .8rem;
    border-radius: 20px;
    background: orange;
    padding: .5rem .3rem;
    color: #fff;
}

.btn-red {
    padding: .7rem .5rem;
    border-radius: 5px;
    background-color: rgb(250, 166, 10);
    color: #fff;
    cursor: pointer;
}

.btn-red:hover {
    background-color: orange;
}

.custom_buttons_save_clear {
    display: flex;
    max-width: 500px;
    margin: auto;
}

.custom_buttons_save_clear > div {
    margin-right: 1.5rem !important;
}

/** external-link */
.external-link-btn {
    padding: 0.7rem 0.5rem;
    background: #9d9c9c;
    border-radius: 5px;
    color: #fff;
    font-weight: bold;
}

/* newspaper-link */
.newspaper-link {
    display: flex !important;
    align-items: center;
    gap: 10px;
}

/* Small buttons */
.small-btn {
    display: inline-block;
    border-radius: 50%;
    height: 30px;
    width: 30px;
    font-size: 1rem;
    position: absolute;
    left: -16.5px;
    top : 8px;
    padding: .24rem 0 0 .75rem;
    color: #fff;
    margin-right: 1rem;
    margin-top: -.10rem;
    max-width: 30px;
    max-height: 50px;
}

#button-back {
    font-size: 1.2rem;
    cursor: pointer;
    /* border: 1px solid #999; */
    padding: 1.2rem 3rem;
    border-radius: 20px;
    outline: none;
    box-shadow: 4px 4px #ebebeb;
    background: #a6dc51;
    color: #000;
    /* box-shadow: #ff8000 -5px -3px; */
}

#button-back:hover {
    /* background: #ebebeb; */
    transition: .5s all;
    color: #fff;
    border-color: #ebebeb;
}

.unit-counter {
    display: inline-block !important;
    margin-top: 1.75rem;
    border-radius: 50%;
    font-family: monospace;
    font-size: 5rem;
    padding: .5rem 1.7rem;
}

/* Top header */
#header {
    padding: 1.2rem .3rem;
}

#header .main-header-container {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

#header .main-header-container .first-child .img-div {
    max-width: 90px;
    height: 90px;
}

#header .main-header-container .first-child .img-div img {
    border-radius: 50%;
}

#header .main-header-container .first-child {
    align-self: center;
}

/* top header: redone */

/* top header */
#top-head {
    padding: 1.2rem;
}

#top-head .top-head-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#top-head .top-head-container img {
    width: 10%;
    height: 5%;
}

#top-head .top-head-container .form-group input[type="text"],
#top-head .top-head-container .form-group button[type="submit"] {
    border: 1px solid #ebebeb;
    font-size: 1.5rem;
    padding: .5rem .4rem;
    outline: none;
    display: inline-block;
    font-family: 'Grandstander', cursive;
}


#top-head .top-head-container .form-group button[type="submit"] {
    padding: .5rem .4rem;
    margin-left: -.3rem;
    font-size: 1.35rem;
    cursor: pointer;
}


/* go-to-home */
#go-to-home {
    background: orange;
    position: fixed;
    bottom: 20px;
    right: 30px;
    border-radius: 50%;
    transition: .5s all;
}

#go-to-home a {
    display: inline-block;
    color: #fff;
    padding: .3rem .5rem !important;
}

#go-to-home:hover {
    background: rgba(0, 0, 0, 0.5);
}

/* div: go-to-lesson */
#go-to-lesson {
    position: fixed;
    bottom: 50px;
    right: 30px;
    background: #999;
    border-radius: 50%;
    margin-bottom: 1.75rem;
    transition: .3s all;
}

#go-to-lesson a {
    color: #fff;
    display: inline-block;
    padding: .5rem .6rem !important;
    /* margin-bottom: 1.2rem; */
    align-content: center;
}

#go-to-lesson:hover {
    background: #333;
    color: #000;
}

#clear-events {
    align-items: center;
    position: absolute;
    /*bottom: 150px;*/
    right: 30px;
    /*max-width: 50px;*/
    /*max-height: 50px;*/
}

#clear-events > span {
    display: flex;
    align-items: center;
    cursor: pointer;
    color: #fff;
    border-radius: 50%;
    background: seagreen;
    padding: .45rem .5rem;
}

#clear-events > span > i {
    font-size: 1rem;
}

/* Section: main-header */
#main-header {
    height: 70vh;
    font-family: var(--my-favorite-font);
    z-index: 2; /* z-index 2, puts every text content near to eye */
    position: relative;
    background: url('../img/hero_img.jpg') no-repeat center center/cover;
    background-attachment: fixed;
}

#main-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    z-index: -1;
}

#main-header .main-header-container {
    display: grid;
    grid-template-columns: 1fr;
    align-content: center;
    text-align: center;
    z-index: 1;
    color: #fff;
    height: 100%; /* 100% of the container */
}

#main-header .main-header-container h1 {
    font-size: var(--custom-big-font);
    font-family: var(--my-favorite-font);
}

#main-header .main-header-container p {
    font-size: 1.2rem;
}

/* Section: routine-tabs */
#routine-tabs {
    font-family: var(--my-lato-font);
}

#routine-tabs .routine-tabs-container h1 {
    font-size: 2.25em;
    text-align: left;
    font-family: 'Grandstander', sans-serif;
}

#routine-tabs .routine-tabs-container .tabs {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 20px;
}

#routine-tabs .routine-tabs-container .tabs .tab {
    border: 1px solid var(--my-fancy-grey);
    border-radius: 5px;
}

#routine-tabs .routine-tabs-container .tabs .tab .first-tab {
    height: 330px;
    width: 100%;
}

#routine-tabs .routine-tabs-container .tabs .tab .first-tab img {
    /* border-top-right-radius: 5px;
    border-top-left-radius: 5px; */
    /* border-radius: 5px; */
}

#routine-tabs .routine-tabs-container .tabs .tab .second-tab .sm-text {
    display: block;
    padding: .5rem 0 0 0;
    visibility: hidden;
    text-align: center;
    font-size: 1.5rem;
    color: rgb(51, 230, 16);
}

#routine-tabs .routine-tabs-container .tabs .tab .second-tab > p {
    line-height: 1.7;
}

#routine-tabs .routine-tabs-container .tabs .tab .second-tab a {
    display: inline-block;
}

#routine-tabs .routine-tabs-container .tabs .tab .second-tab h2 {
    line-height: 1.5;
}

#routine-tabs .routine-tabs-container .tabs .tab .second-tab p,
#routine-tabs .routine-tabs-container .tabs .tab .second-tab h2 {
    text-align: var(--my-text-align);
}

#routine-tabs .routine-tabs-container .tabs .tab .second-tab .tab-resizer {
    display: flex;
    justify-content: space-between;
    padding-top: 1.25rem;
}

#routine-tabs .routine-tabs-container .tabs .tab .second-tab .tab-resizer > * {
    align-self: center;
}

#routine-tabs .routine-tabs-container .tabs .tab .second-tab .paras > * {
    line-height: 1.5;
    position: relative;
    padding-left: 1.2rem;
}

/* Section: banner-image */
#banner-image {

}

#banner-image .banner-image-container {
    width: 100%;
    height: 60vh;
}

/*
#banner-image .banner-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
*/

/* Vocab */
#vocab-new-grid {
    display: flex;
    flex-direction: column;
}

#vocab-h1-title {
    text-align: center;
    font-family: 'Grandstander', sans-serif;
    font-size: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

#vocab-new-grid  #vocab-main-items {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-gap: 8px;
    grid-row-gap: 1px !important;
}

#vocab-new-grid  #vocab-main-items #vocab-new-each-item {
    /*background: #E6E6FA;*/
    background: #fff;
    border: cornflowerblue 1px solid;
    width: 380px !important;
    padding: 0 1.2rem 0 1.2rem;
    border-radius: 10px;
    height: 105px;
}

#h2 {
    font-family: 'Grandstander', sans-serif;
}

/* Section: table-of-contents */
#table-of-contents {
    padding: 1.2rem 3rem;
    line-height: 1.75;
    text-align: justify;
}

#table-of-contents .table-of-contents-container > h2 {
    font-family: 'Grandstander', sans-serif;
    font-size: 2rem;
}

#table-of-contents .table-of-contents-container .section .items {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-gap: 15px;
}

#table-of-contents .table-of-contents-container .section .items a {
    border: 1px solid #ebebeb;
    color: #000;
}

#table-of-contents .table-of-contents-container .section .items a .first-child {
    /* width: 300px; */
    width: 100%;
    height: 300px;
}

#table-of-contents .table-of-contents-container .section .items a .second-child  {
    padding: 1.2rem;
}

#table-of-contents .table-of-contents-container .section .items a .second-child  h3,
#table-of-contents .table-of-contents-container .section .items a .second-child  p {
    font-family: 'Grandstander', sans-serif;
}

#table-of-contents .table-of-contents-container .section .items a .second-child p {
    font-size: 1.1rem;
}

#table-of-contents .table-of-contents-container .section .items a .first-child img {
    object-fit: cover;
    width: 100%;
    height: 100%;
}

/* Section: about */
#about-us-main {
    font-family: 'Grandstander', sans-serif;
}

#about-us-main > img {
    height: 40vh;
}

#about-us-main .about-us-main-item {
    padding: 1.2rem 3rem;
}

#about-us-main .about-us-main-item h2 {
    font-size: 2.7rem;
    font-family: 'Grandstander', sans-serif;
    text-align: center;
    padding-bottom: 1.2rem;
}

#about-us-main .about-us-main-item > p {
    text-align: center;
    font-size: 1.75rem;
    padding: 0 0 1.2rem 0;
}

#about-us-main .about-us-main-item .text-items {
    line-height: 2;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-column-gap: 25px;
    text-align: justify;
}

/* #about-us-main .about-us-main-item .text-items .first-item {
    
} */

/* Section: top-image */
#top-image {
    background: url('../img/about_us.jpg') no-repeat center center/cover;
    height: 60vh;
    position: relative;
    color: #fff;
    z-index: 2;
}

#top-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    z-index: -1;
}

#top-image .top-text-container {
    /* z-index: 3; */
    display: flex;
    flex-direction: column;
    /* align-items: center; */
    justify-content: center;
    height: 100%;
    font-family: 'Grandstander', sans-serif;
    padding: 1.2rem 3rem;
}

#top-image .top-text-container > div {
    font-size: 1.2rem;
    padding: 0 0 1.5rem 0;
}

#top-image .top-text-container p {
    line-height: 1.5;
    font-size: 1.2rem;
}

/* Section: cards */
#cards {
    padding: 1.2rem 1rem;
    /*height: 60vh;*/
    /* background: rgb(61,162,200); */
    /* background: linear-gradient(to right, #799f0c, #acbb78); */
    /* background: linear-gradient(to right, #00416a, #e4e5e6); */
    background: linear-gradient(to right, #7f7fd5, #86a8e7, #91eae4); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
    font-family: 'Grandstander', sans-serif;
    color: #fff;
}

#cards .cards-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    align-content: center;
    height: 100%;
    grid-gap: 10px;
    padding: 3rem 0;
}

#cards .cards-container > * {
    display: flex;
    border: 1px solid #fff;
    padding: .5rem;
    border-radius: 5px;
}

#cards .cards-container > *:hover {
    background: rgba(0, 0, 0, 0.1);
    transition: 1s all;
}

#cards .cards-container > * > i {
    font-size: 2rem;
    color: #fff;
}

#cards .cards-container > * > i,
#cards .cards-container > * > div {
    align-self: center;
}

#cards .cards-container > * > div {
    padding: 0 .5rem 0 1.2rem;
}

#cards .cards-container > * > div p {
    font-size: 1.1rem;
    font-family: 'Grandstander', sans-serif;
}

#cards .cards-container > * > div h3 {
    font-size: 2rem;
    padding: .3rem 0;
}

#cards .cards-container > * > div h3 a {
    color: #fff;
}

#cards .cards-container > a > div > h3,
#cards .cards-container > a > div > p {
    color: #fff;
}

/* Section: gallery */
#gallery {
    padding: 1.2rem 2rem;
    font-family: var(--my-favorite-font);
}

#gallery .gallery-container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

#gallery .gallery-container h2,
#gallery .gallery-container p {
    padding: .7rem 0;
}

#gallery .gallery-container p {
    padding-bottom: .75rem;
}

#gallery .gallery-container .gallery-items {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-gap: 15px;
}

#gallery .gallery-container .gallery-items .item {
    border: 1px solid #ebebeb !important;
    /* padding: .4rem .7rem; */
}

#gallery .gallery-container .gallery-items .item span {
    font-family: var(--my-favorite-font);
    display: inline-block;
    color: #000;
    line-height: 1.7;
    padding: .5rem .4rem 0 .7rem;
    /* text-align: justify; */
    font-size: .9rem;
}

#gallery .gallery-container .gallery-items .item {
    /* width: 100%; */
    width: 220px;
    /* height: 240px; */
}

/* #gallery .gallery-container .gallery-items .item img {
    width: 100%;
}

#gallery .gallery-container .video-clips {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    justify-content: center;
}

#gallery .gallery-container .video-clips .short-video-clips-container {
    display: grid;
    grid-template-columns: repeat(10, 1fr);
} */

/* Section: video-clips */
#video-clips {
    padding: 1.2rem 2rem;
}

#video-clips .video-clips-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

#video-clips .video-clips-container > h2,
#video-clips .video-clips-container > p {
    font-family: var(--my-favorite-font);
    padding: .5rem 0;
}

#video-clips .video-clips-container > p {
    padding-bottom: .7rem;
}

#video-clips .video-clips-container a span {
    color: #000;
    line-height: 1.5;
    font-family: var(--my-favorite-font);
}

#video-clips .video-clips-container .short-video-clips-container {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    grid-gap: 10px;
    justify-items: center;
}

/* Section: main-header */
#main-header_ {
    padding: .5rem 1.2rem;
    /* background: linear-gradient(to right, #1c92d2, #f2fcfe); */
    /* background: linear-gradient(to right, #36d1dc, #5b86e5); */
    /* background: linear-gradient(to right, #56ccf2, #2f80ed); */
    /* background: linear-gradient(to right, #6190e8, #a7bfe8); */
    /* background: linear-gradient(to right, #ffafbd, #ffc3a0); */
    /* background: linear-gradient(to right, #1c92d2, #f2fcfe); */
    /* background: linear-gradient(to right, #3a7bd5, #3a6073); */
    /* background: linear-gradient(to right, #2980b9, #6dd5fa, #ffffff); */
    /* background: url('../img/bird.jpg') no-repeat center center/cover; */
}

#main-header_ .main-header-container_ {
    display: flex;
    justify-content: space-between;
}

#main-header_ .main-header-container_ .img-container {
    width: 120px;
    height: 120px;
    align-self: center;
}

#main-header_ .main-header-container_ .img-container img {
    border-radius: 50%;
}

#main-header_ .main-header-container_ .text-container {
    /* align-self: center; */
    display: flex;
    flex-direction: column;
}

#main-header_ .main-header-container_ .text-container i {
    color: #999;
    font-size: 1.3rem;
}

#main-header_ .main-header-container_ .text-container span:nth-child(1) i { color: rgb(0, 145, 255); }
#main-header_ .main-header-container_ .text-container span:nth-child(2) i { color: red; }

#main-header_ .main-header-container_ .text-container > * {
    line-height: 2;
}


/* Section: section-heading */
.art-heading {
    padding: 0;
    display: flex;
}

.art-heading > div:first-child {
    width: 150px;
    height: 150px;
    align-self: center;
    margin-right: 2rem;
}

.art-heading .img-child img {
    border-radius: 50%;
    width: 150px;
    height: 150px;
    display: inline-block;
}

.art-heading > div:last-child {
    align-self: center;
}

/* Section: mindmap */
#mindmap-image .mindmap-container {
    padding: 2rem 3rem;
    /* position: relative; */
    position: relative;
}

#mindmap-image .mindmap-container img {
    width: 100%;
}

#mindmap-image .mindmap-container > p {
    font-size: .75rem;
}

#mindmap-image .mindmap-container > div {
    /* position: relative; */
}

#mindmap-image .mindmap-container > p:nth-child(2) {
    position: absolute;
    color: red;
    top: 30%;
    left: 15%;
}

/* Section: gallery */
#today-special {
    padding: var(--my-padding);
}

.today-special-container {
    display: flex;
    flex-direction: column;
    box-shadow: 4px 7px 24px -1px rgba(199,183,199,0.72);
    padding: 1.2rem 2rem;
    border-radius: 20px;
}

#today-special .today-special-container h1 {
    font-family: 'Lato', sans-serif;
    text-align: left;
}

#today-special .today-special-container .special-container-item {
    display: flex;
    flex-direction: row;
}

#today-special .today-special-container .special-container-item a {
    display: flex;
}

#today-special .today-special-container .special-container-item a > * {
    align-self: center;
    padding: 0 2.25rem 0 0;
}

#today-special .today-special-container .special-container-item a .special-img-item {
    width: 100px;
    height: 90px;
}

#today-special .today-special-container .special-container-item a .special-img-item img {
    border-radius: 50%;
    object-fit: cover;
}

#today-special .today-special-container .special-container-item a > div:first-child {
    padding: 0 .7rem 0 0;
}

#today-special .today-special-container .special-container-item a > div:last-child > p {
    line-height: 1.6;
    font-size: 1rem;
    font-family: var(--my-favorite-font);
}

#today-special .today-special-container .special-container-item a > div:last-child > p:first-child {
    font-size: 1.3rem;
}

#today-special .today-special-container .last-text-container > p > i {
    display: inline-block;
    padding: 0 1.2rem 0 0;
    font-size: 1.3rem;
    color: rgb(0, 145, 255);
}

#today-special .today-special-container .last-text-container p {
    font-size: 1.3rem;
    font-family: 'Lato', sans-serif;
    padding: 2.5rem 0;
    font-family: 'Lato', sans-serif;
}

/* Section: my-library */
#my-library {
    padding: var(--my-padding);
}

#my-library  .my-library-container h1 {
    font-family: 'Lato', sans-serif;
    text-align: left;
}

#my-library  .my-library-container .movie-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 15px;
}

#my-library  .my-library-container .movie-cards > a {
    box-shadow: 4px 7px 24px -1px rgba(199,183,199,0.72);
    border-radius: 20px;
}

#my-library  .my-library-container .movie-cards > a .movie-image-container img {
    border-top-right-radius: 20px;
    border-top-left-radius: 20px;
    height: 120px;
}

#my-library  .my-library-container .movie-cards > a .movie-text-container {
    padding: 1.2rem 1.5rem;
}

#my-library  .my-library-container .movie-cards > a .movie-text-container p {
    font-size: 1rem;
    line-height: 1.5;
}

#my-library  .my-library-container .movie-cards > a .movie-text-container p:first-child {
    font-size: 1.2rem;
    padding: 0 0 .5rem 0;
}

/* Section: video */
#video-description {
    padding: var(--my-padding);
}

#video-description .video-description-container h1 {
    font-family: var(--my-favorite-font);
    text-align: center;
    font-size: 1.7rem;
}

#video-description .video-description-container > p {
    font-family: var(--my-favorite-font);
    line-height: 1.7;
}

#video-description .video-description-container > p:nth-child(2) {
    font-size: 1.3rem;
    text-align: center;
    padding-bottom: .75rem;
}

#video-description .video-description-container > p:nth-child(3) {
    font-size: .9rem;
    text-align: justify;
}

/* for landing page */
#landing-page {
    padding: 2rem 3rem;
    font-family: var(--my-favorite-font);
}

#landing-page .landing-page-container .items {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
}

#landing-page .landing-page-container .items .first-child {
    align-self: center;
}

#landing-page .landing-page-container .items .first-child .first-text-container h1 {
    font-size: 2rem;
}

#landing-page .landing-page-container .items .first-child .first-text-container p {
    font-size: 1.3rem;
}

#landing-page .landing-page-container .items .second-child {
    width: 600px;
}


/* Section: lading-card */
#landing-card {
    padding: 2rem 3rem;
    font-family: var(--my-favorite-font);
}

#landing-card .landing-cards-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    justify-items: center;
    /* grid-gap: 10px; */
}

#landing-card .landing-cards-container .landing-c {
    display: flex;
    flex-direction: row;
    color: #000;
    border: 1px solid #ebebeb;
    border-radius: 10px;
    padding: 1.5rem 2rem;
    width: 90%;
    margin: 1rem 1rem !important;
}

#landing-card .landing-cards-container .landing-c i {
    font-size: 2.5rem;
}

#landing-card .landing-cards-container .landing-c > * {
    align-self: center;
    padding: 0 0 0 15px;
}

#landing-card .landing-cards-container .landing-c:nth-child(1) i,
#landing-card .landing-cards-container .landing-c:nth-child(1) h1 { 
    color: rgb(109, 191, 68); 
}

#landing-card .landing-cards-container .landing-c:nth-child(1) h1:hover { 
    color: rgb(119, 225, 65); 
}

#landing-card .landing-cards-container .landing-c:nth-child(2) i,
#landing-card .landing-cards-container .landing-c:nth-child(2) h1 { 
    color: rgb(68, 111, 191); 
}

#landing-card .landing-cards-container .landing-c:nth-child(2) h1:hover { 
    color: rgb(59, 121, 236); 
}

#landing-card .landing-cards-container .landing-c:nth-child(3) i,
#landing-card .landing-cards-container .landing-c:nth-child(3) h1 { 
    /*color: rgb(249, 175, 16); */
    color: #ec4560 !important;
}

#landing-card .landing-cards-container .landing-c:nth-child(3) i:hover,
#landing-card .landing-cards-container .landing-c:nth-child(3) h1:hover { 
    /*color: rgb(255, 174, 0); */
}

/* Section: login */
#login {
    padding: var(--my-padding);
    height: 60vh;
}

#login .login-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}

#login .login-container form {
    display: flex;
    flex-direction: column;
}

#login .login-container form .input-group {
    display: flex;
    flex-direction: column;
    padding: .75rem 0;
    font-family: var(--my-favorite-font);
}

#login .login-container form .input-group h1 {
    font-family: var(--my-favorite-font);
}

#login .login-container form .input-group label {
    padding: 0 0 .5rem 0;
    font-size: 1.2rem;
}

#login .login-container form .input-group input[type="email"],
#login .login-container form .input-group input[type="password"] {
    font-size: 1.1rem;
    padding: .7rem .7rem;
    font-family: 'Lato', sans-serif;
    outline: none;
    border: 1px solid #999;
    border-radius: 5px;
}

#login .login-container form input[type="submit"] {
    background: none;
    font-size: 1.2rem;
    border: none;
    background: #6caace;
    padding: .5rem .3rem;
    color: #fff;
    font-family: var(--my-favorite-font);
    cursor: pointer;
    outline: none;
}

#login .login-container form input[type="submit"]:hover {
    background: #70c1f0;
}

/* Search box styling */
#search-container {
    padding: 1.2rem 2rem;
}

#search-container .search-form-container form {
    display: flex;
    flex-direction: row;
}

#search-container .search-form-container form .form-group {
    width: 100%;
}

#search-container .search-form-container form input[type="text"] {
    width: 100%;
    border-top-left-radius: 5px;
    border-bottom-left-radius: 5px;
}

#search-container .search-form-container form input[type="text"],
#search-container .search-form-container form button[type="submit"] {
    border: 1px solid #ebebeb;
    font-size: 1.5rem;
    padding: .5rem .4rem;
    outline: none;
    display: inline-block;
    font-family: 'Grandstander', cursive;
}

#search-container .search-form-container form button[type="submit"] {
    cursor: pointer;
    width: 40px;
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
}

#search-container .search-form-container form button[type="submit"] i {
    font-size: 1rem;
    color: dodgerblue;
}

#search-container .search-form-container form button[type="submit"]:hover {
    background: #333;
    transition: .5s all;
}

/* Search results */
#search-results {
    padding: 1.2rem 2rem;
}

#search-results .search-results-container .found-item {
    display: flex;
    border-left: 3px solid dodgerblue;
    border-top-left-radius: 5px;
    border-bottom-left-radius: 5px;
    margin: 1.75rem 0;
    box-shadow: 1px -2px 7px -3px #10B7FF;
}

#search-results .search-results-container .found-item  .inner-text-btn {
    align-self: center;
}

#search-results .search-results-container .found-item  .inner-text-btn p {
    font-size: 1rem;
}

#search-results .search-results-container .found-item  .inner-text-btn p,
#search-results .search-results-container .found-item  .inner-text-btn a {
    padding: .5rem 1.2rem;
    font-family: 'Grandstander', cursive;
}

#search-results .search-results-container .found-item  .inner-text-btn a {
    display: inline-block;
    color: #fff;
    background: cornflowerblue;
    text-decoration: none;
    padding: .5rem 2rem;
    margin-top: 1rem;
    border-radius: 20px;
    margin-left: 1rem;
}

#search-results .search-results-container .found-item  .inner-text-btn a:hover {
    background: dodgerblue;
    transition: .5s all;
}

#search-results .search-results-container .found-item > img {
    width: 200px;
    height: 200px;
}


/* Section: saved-items */
#saved-items .saved-items-container .parent_div {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-gap: 15px;
    padding: 0 3rem;
}

#saved-items .saved-items-container .parent_div #vocab-new-each-item {
    background-color: #dfdbe6;
    padding: 0 .75rem;
}

#saved-items .saved-items-container .parent_div #vocab-new-each-item .main-text {
    margin-left: .1rem !important;
    font-size: 20px;
}

#saved-items .saved-items-container .parent_div #vocab-new-each-item .tooltip-text.hover-el {
    margin-bottom: -.75rem !important;
    /* margin-right: 4.3rem !important; */
    padding: .3rem .4rem;
    font-size: 1.6rem;
    font-weight: bold;
}

/* search-bar */
#search-bar {
    /* max-width: 1200px; */
    /* margin: auto; */
    /* padding: 1.25rem 3rem; */
}

#search-bar .container .form-group {
    padding: 1.25rem 1.95rem;
    display: flex;
    flex-direction: column;
    max-width: 1200px;
    margin: auto;
    gap: .75rem;
}

#search-bar .container input[type="search"] {
    display: inline-block;
    width: 100%;
    font-size: 1.25rem;
    padding: .5rem .75rem;
}

#search-bar .container input[type="search"]::-webkit-search-cancel-button {

    /* Remove default */
    -webkit-appearance: none;
  
    /* Now your own custom styles */
     height: 14px;
     width: 14px;
     display: block;
     background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAB4AAAAeCAYAAAA7MK6iAAAAn0lEQVR42u3UMQrDMBBEUZ9WfQqDmm22EaTyjRMHAlM5K+Y7lb0wnUZPIKHlnutOa+25Z4D++MRBX98MD1V/trSppLKHqj9TTBWKcoUqffbUcbBBEhTjBOV4ja4l4OIAZThEOV6jHO8ARXD+gPPvKMABinGOrnu6gTNUawrcQKNCAQ7QeTxORzle3+sDfjJpPCqhJh7GixZq4rHcc9l5A9qZ+WeBhgEuAAAAAElFTkSuQmCC);
    /* setup all the background tweaks for our custom icon */
    background-repeat: no-repeat;
  
    /* icon size */
    background-size: 14px;
  
}

/** back-to-story-btn */
.back-to-story-btn .back-logo {
    max-width: 20px;
    transform: translateY(5px);
    margin-right: 10px;
}

.btn-image {
    background: orange;
    color: #fff;
}

@media(max-width: 1000px) {
    #saved-items .saved-items-container .parent_div {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media(max-width: 800px) {
    #saved-items .saved-items-container .parent_div {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media(max-width: 750px) {
    #saved-items .saved-items-container .parent_div #vocab-new-each-item .main-text,
    #saved-items .saved-items-container .parent_div #vocab-new-each-item .tooltip-text.hover-el {
        font-size: 25px !important;
    }

    #saved-items .saved-items-container .parent_div #vocab-new-each-item .main-text {
        margin-left: -1.5rem !important;
    }
}

@media(max-width: 650px) {
    #saved-items .saved-items-container .parent_div {
        grid-template-columns: 1fr;
    }
    .custom_buttons_save_clear {
        max-width: 250px;
        flex-direction: column;
        margin: auto;
    }
}


/* Footer */
footer {
    text-align: center;
    font-family: var(--my-favorite-font);
}

footer > p {
    padding: 1.75rem 0;
    font-size: .9rem !important;
    font-family: var(--my-favorite-font);
}

/* Two col div */
.two_col_div  {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 15px;
    min-width: 1500px !important;
    justify-items: center;
}

.two_col_div .parent_div {
    padding: .5rem .3rem;
    border-radius: 5px;
    width: 100% !important;
}

.two_col_div .parent_div #category-1  {
    background: rgba(255, 250, 250, 0.899) !important;
    padding: 0 .5rem;
}

/* For making the hover text bigger */
.two_col_div  .tooltip-text {
    display: inline-block !important;
    font-size: 20px !important;
    margin-bottom: 10px !important;
    /*background:aliceblue;*/
    color: #000;
}

/* Film text */
/* Show */
.show {
    display: block !important;
}

/* Section: lesson-film-text */
#lesson-film-text .lesson-film-text-container .film-items {
    font-family: var(--my-favorite-font);
    display: grid;
    grid-template-columns: repeat(2, 1fr) !important;
    border: 2px solid #ebebeb;
    align-items: center;
    margin-bottom: 2rem;
}

#lesson-film-text .lesson-film-text-container {
    max-width: 1350px;
    margin: auto;
    padding: 1.2rem 2rem;
}

#lesson-film-text .lesson-film-text-container .film-items .text-card {
    padding: 0rem 2rem;
    overflow-y: scroll;
    height: 400px;
}

#lesson-film-text .lesson-film-text-container .film-items .movie-text-container p {
    line-height: 1.7;
    font-family: var(--my-favorite-font);
}

#lesson-film-text .lesson-film-text-container .film-items .movie-text-container p:first-child {
    font-size: 2rem;
    text-align: center;
}

#lesson-film-text .lesson-film-text-container .film-items .movie-text-container p:last-child {
    font-size: 1.2rem;
    text-align: center;
}

/* hover word */
#lesson-film-text .lesson-film-text-container .film-items .text-card .hover-card {
    position: relative;
}

#lesson-film-text .lesson-film-text-container .film-items .text-card .hover-card .main-word {
    background: #ebebeb;
    padding: .5rem .5rem;
    margin: 3rem 0;
    cursor: pointer;
}

#lesson-film-text .lesson-film-text-container .film-items .text-card .hover-card .hover-word {
    width: 100%;
    padding: .3rem .5rem;
    position: absolute;
    top: -70%;
    background: #999;
    color: #fff;
    display: none;
}

#lesson-film-text .lesson-film-text-container .film-items .text-card .hover-card .hover-word.show {
    display: block;
}

/* for smaller screens */
@media (max-width: 950px) {
    #lesson-film-text .lesson-film-text-container .film-items {
        grid-template-columns: 1fr !important;
    }
}

/* For smaller devices */
@media(max-width: 1580px) {
    #vocab-new-grid  #vocab-main-items #vocab-new-each-item {
        width: 320px !important;
    }
}

/* For 2 columns */
@media(max-width: 1520px) {
    .two_col_div .parent_div {
        /* width: 130% !important; */
        width: 110% !important;
        grid-gap: 2px;
    }
}

/* @media(max-width: 1520px) {
    .two_col_div .parent_div {
        width: 75% !important;
    }
} */

/* @media(max-width: 751px) {
    .two_col_div .parent_div {
        width: 65% !important;
    }
} */

@media(max-width: 1521px) {
    .two_col_div {
        min-width: 1200px !important;
        grid-gap: 10px !important;
        /* font-size: 1rem; */
    }
}

@media(max-width: 1455px) {
    .two_col_div {
        min-width: 1350px !important;
    }
}

@media(max-width: 1410px) {
    .two_col_div {
        min-width: 1200px !important;
    }
}

@media (max-width: 800px) {
    .two_col_div {
        min-width: 620px;
        max-width: 620px;
    }
}

@media (max-width: 680px) {
    .two_col_div {
        min-width: 550px;
        max-width: 550px;
    }
}

/* @media(max-width: 1470px) {
    .two_col_div {
        min-width: 1000px !important;
    }
}

@media(max-width: 1410px) {
    .two_col_div {
        min-width: 800px !important;
    }
}


@media(max-width: 1380px) {
    .two_col_div {
        min-width: 120% !important;
    }
} */


/* @media(max-width: 1300px) {
    .two_col_div {
        min-width: 1000px !important;
    }
}
/* For 2 columns */

@media(max-width: 1340px) {
    #vocab-new-grid  #vocab-main-items #vocab-new-each-item {
        width: 300px !important;
    }
}

/* For 2 columns */
@media(max-width: 1320px) {
    .two_col_div {
        min-width: 1250px !important;
    }
}

@media(max-width: 1265px) {
    .two_col_div {
        min-width: 1200px !important;
    }
}

@media(max-width: 1240px) {
    #vocab-new-grid  #vocab-main-items #vocab-new-each-item {
        width: 280px !important;
    }
}

@media(max-width: 1210px) {
    .two_col_div {
        min-width: 1150px !important;
    }
}


@media(max-width: 1200px) {

    #vocab-new-grid  #vocab-main-items #vocab-new-each-item {
        width: 230px !important;
    }

    /* #vocab-new-grid  #vocab-main-items {
        grid-template-columns: repeat(3, 1fr);
        grid-gap: 5px;
        grid-row-gap: 1px !important;
    } */
}

@media(max-width: 1170px) {
    /* Make single tab display in a row */
    #routine-tabs .routine-tabs-container .tabs {
        grid-template-columns: 1fr;
    }

    .tooltip-text.tooltip-text__over {
        left: 101.9% !important;
    }

    /* footer > p {
        font-size: 1rem;
    } */

    #landing-page .landing-page-container .items .first-child .first-text-container h1 {
        font-size: 1.3rem;
        line-height: 1.7;
    }

    #landing-page .landing-page-container .items .first-child .first-text-container p {
        font-size: 1.1rem;
        line-height: 1.7;
    }
}

@media(max-width: 1170px) {
    .tooltip-text.tooltip-text__over {
        left: 102% !important;
    }


}

@media(max-width: 1160px) {
    .two_col_div {
        min-width: 1100px !important;
    }
}

@media(max-width: 1120px) {
    .two_col_div {
        min-width: 1000px !important;
    }
}

@media(max-width: 1000px) {
    #vocab-new-grid  #vocab-main-items #vocab-new-each-item > a {
        font-size: 16px !important;
    }

    #gallery .gallery-container .gallery-items {
        grid-template-columns: repeat(2, 1fr);
    }

    #video-clips .video-clips-container .short-video-clips-container {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
    }
}

@media(max-width: 1400px) {
    .two_col_div {
        /* min-width: 1000px !important; */
        min-width: 150% !important;
        grid-template-columns: 1fr;
    }
}

@media(max-width: 1000px) {
    #vocab-new-grid  #vocab-main-items #vocab-new-each-item {
        width: 200px !important;
    }

    /* Section: lesson-gallery.html, table-of-contents */
    #table-of-contents .table-of-contents-container .section .items a .second-child  p {
        font-size: .7rem;
    }

    #table-of-contents .table-of-contents-container .section .items a .second-child h3 {
        font-size: .9rem;
    }

    #table-of-contents .table-of-contents-container .section .items {
        grid-template-columns: repeat(3, 1fr);
        grid-gap: 10px;
    }

    #gallery .gallery-container .gallery-items .item {
        width: 100%;
    }

}

@media(max-width: 950px) {
    /* #landing-page .landing-page-container .items .second-child {
        width: 600px;
    } */

    #landing-page .landing-page-container .items .first-child .first-text-container h1 {
        font-size: 1.75rem;
    }
    
    #landing-page .landing-page-container .items .first-child .first-text-container p {
        font-size: 1rem;
        text-align: center;
    }

    #landing-page .landing-page-container .items {
        display: flex;
        flex-direction: column;
    }

    #landing-page .landing-page-container .items  > * {
        align-self: center;
        padding: 2.2rem 0;
    }

    #landing-card .landing-cards-container {
        flex-direction: column;
    }

    #landing-card .landing-cards-container .landing-c h1 {
        font-size: 1.1rem;
    }

    #landing-card .landing-cards-container .landing-c i {
        font-size: 1.2rem;
    }

    #landing-card .landing-cards-container {
        display: flex;
        justify-content: space-between;
    }

}

@media(max-width: 900px) {
    #today-special .today-special-container .special-container-item {
        flex-direction: column;
    }

    #today-special .today-special-container .special-container-item > * {
        padding: 1.2rem 0;
    }

    #today-special .today-special-container .last-text-container p {
        font-size: .9rem;
        line-height: 1.7;
        text-align: center;
    }
}

@media(max-width: 930px) {
    #vocab-new-grid  #vocab-main-items #vocab-new-each-item {
        width: 210px !important;
    }

    #vocab-new-grid  #vocab-main-items {
        grid-template-columns: repeat(3, 1fr) !important;
    }
}

@media(max-width: 870px) {
    .tooltip-text.tooltip-text__over {
        left: 102.5% !important;
    }
}

@media(max-width: 800px) {

    /* changed the width of media query */   
    #vocab-new-grid  #vocab-main-items #vocab-new-each-item {
        width: 290px !important;
    }
    
    #vocab-new-grid  #vocab-main-items {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    #vocab-h1-title {
        display: flex;
        flex-direction: column;
        font-size: 1.7rem !important;
    }

    #vocab-h1-title span {
        margin-bottom: 1.2rem !important;
    }
    

    #vocab-h1-title a {
        width: 20%;
        width: 50%;
        margin: auto;
        margin-top: 1.2rem;
    }

    /* Section: table-of-contents */
    #table-of-contents .table-of-contents-container .section .items {
        grid-template-columns: repeat(2, 1fr);
        grid-gap: 10px;
    }

    #table-of-contents .table-of-contents-container > h2 {
        font-size: 1.5rem;
    }
}

/* @media (max-width: 800px) {
    .two_col_div {
        min-width: 50%;
    }
} */

@media(max-width: 780px) {
    #my-library  .my-library-container .movie-cards {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media(max-width: 760px) {

    #vocab-h1-title {
        font-size: 1.7rem !important;
    }

    #main-header .main-header-container h1 {
        font-size: 2rem;
    }

    #main-header .main-header-container p {
        font-size: 1.2rem;
    }

    .tooltip-text.tooltip-text__over {
        left: 102.8% !important;
    }

    #routine-tabs .routine-tabs-container .tabs .tab .second-tab p,
    #routine-tabs .routine-tabs-container .tabs .tab .second-tab h2 {
        text-align: left;
    }

    #routine-tabs .routine-tabs-container .tabs .tab .second-tab h2  {
        margin: 0 !important;
    }
    
    .two_col_div {
        /* min-width: 1000px !important; */
        min-width: 100% !important;
        grid-template-columns: 1fr;
    }
}

@media(max-width: 750px) {
    .two_col_div .main-text.hover-el {
        font-size: 1.1rem !important;
    }
}

@media(max-width: 700px) {
    #landing-card .landing-cards-container {
        flex-direction: column;
    }

    #landing-card .landing-cards-container > * {
        margin: 0 0 1.2rem 0;
    }
}

@media(max-width: 690px) {

    /* Top-image */
    #top-image .top-text-container p {
        font-size: .8rem;
    }

    #cards .cards-container {
        grid-template-columns: repeat(2, 1fr);
    }

    #cards .cards-container > * > i {
        font-size: 1.5rem;
    }

    #cards .cards-container > * > div h3 {
        font-size: 1.5rem;
    }

    #cards .cards-container > * > div p {
        font-size: .9rem;
    }

}

@media(max-width: 660px) {
    .two_col_div {
        min-width: 120% !important;
    }
}

@media(max-width: 650px) {
    #vocab-new-grid  #vocab-main-items #vocab-new-each-item {
        width: 350px !important;
    }
    #vocab-new-grid  #vocab-main-items {
        grid-template-columns: 1fr !important;
    }
}

@media(max-width: 640px) {
        #save_btn {
        font-size: 1rem;
    }

    #top-image .top-text-container > div div,
    #top-image .top-text-container > div > h2 {
        font-size: 1.1rem !important;
    }

    .chckbx-group input[type="checkbox"] + label, .chckbx-group a.main-text {
        /*font-size: 1rem !important;*/
    }
      

    .main-text .hover-el{
        font-size: 1.2rem !important;
    }

    #routine-tabs .routine-tabs-container .tabs .tab .second-tab .paras > * {
        line-height: 3.5;
    }

    .tooltip-text.tooltip-text__over {
        left: 102.85% !important;
    }

    .icon {
        width: 20px;
    }

    .small-btn {
        height: 30px;
        width: 30px;
        font-size: .7rem;
        position: absolute;
        left: -16.5px;
        top : 8px;
        padding: -.9rem 0 0 .75rem !important;
        color: #fff;
        margin-right: 1.2rem !important;
        margin-top: .8rem;
        max-width: 40px;
        max-height: 40px;
    }

    /* .tooltip-text.tooltip-text__over {
        left: 103% !important;
    } */


    #routine-tabs .routine-tabs-container .tabs .tab .second-tab h2 {
        font-size: 1.2rem;
    }

    #routine-tabs .routine-tabs-container .tabs .tab .second-tab .paras > * {
        font-size: .9rem;
    }

    .btn-primary {
        font-size: .7rem;
    }

    #landing-page .landing-page-container .items .second-child {
        width: 500px;
    }
}

@media(max-width: 610px) {
    .two_col_div {
        min-width: 110% !important;
    }
}


@media(max-width: 600px) {
    #main-header_ .main-header-container_ {
        flex-direction: column;
    }

    #main-header_ .main-header-container_ > * {
        text-align: center;
        padding: 1.2rem 0;
    }

    .art-heading {
        flex-direction: column;
    }

    .art-heading > div:last-child {
        padding: 1.2rem;
        font-size: 1.1rem;
        line-height: 1.5;
    }


    #search-container .search-form-container form input[type="text"],
    #top-head .top-head-container .form-group input[type="text"] {
        font-size: 1rem;
    }

    #top-head .top-head-container .form-group input[type="text"] {
        font-size: .75rem;
    }

    #top-head .top-head-container .form-group button[type="submit"] {
        font-size: .7rem;
    }

    #search-container .search-form-container form button[type="submit"] {
        font-size: .5rem;
    }

    /* For the results boxes */
    #search-results .search-results-container .found-item {
        flex-direction: column;
    }

    #search-results .search-results-container .found-item img {
        width: 100%;
        height: 200px;
    }

    #search-results .search-results-container .found-item .inner-text-btn {
        align-self: normal;
    }

    #search-results .search-results-container .found-item .inner-text-btn p {
        line-height: 1.5;
    }

    /* Form */
    #search-container .search-form-container form {
        display: grid;
        grid-template-columns: 4fr 1fr;
    }
}


@media(max-width: 580px) {
    #gallery .gallery-container .gallery-items {
        grid-template-columns: 1fr;
    }

    #gallery .gallery-container .gallery-items .item {
        width: 70%;
        margin: auto;
    }

    #video-clips .video-clips-container .short-video-clips-container {
        grid-template-columns: repeat(2, 1fr);
    }

    #my-library  .my-library-container .movie-cards {
        grid-template-columns: 1fr;
    }
}

@media(max-width: 585px), (max-width: 450px) {
    .tooltip-text_2 .tooltip-text__over {
        line-height: .3 !important;
        font-size: .5rem;
    }

    .tooltip-text.tooltip-text__over {
        left: 102.88% !important;
    }

    #routine-tabs .routine-tabs-container .tabs .tab .second-tab .paras > * {
        font-size: .75rem;
    }

    .icon {
        width: 25px !important;
    }

    .small-btn {
        display: inline-block;
        font-size: 1rem;
        position: absolute;
        left: -16.5px;
        top : 1px;
        padding: -2.5rem 0 0 .75rem !important;
        color: #fff;
        width: 30px;
        height: 30px;
        font-size: .5rem;
        margin-right: .3rem !important;
    }

    footer > p {
        font-size: .75rem;
    }
}

@media(max-width: 560px) {
    .two_col_div {
        min-width: 95% !important;
    }
}

@media(max-width: 550px) {
    #top-image .top-text-container p {
        font-size: .67rem;
        line-height: 1.5;
    }
}

@media(max-width: 510px) {
    #landing-page .landing-page-container .items .first-child .first-text-container h1 {
        font-size: 1.2rem;
        line-height: 1.75;
    }
    
    #landing-page .landing-page-container .items .first-child .first-text-container p {
        font-size: .75rem;
        line-height: 1.75;
    }

    #landing-page .landing-page-container .items .second-child {
        width: 280px;
    }
}

@media(max-width: 500px) {
    #table-of-contents .table-of-contents-container .section .items {
        grid-template-columns: 1fr;
        grid-gap: 10px;
    }

    #table-of-contents .table-of-contents-container > h2 {
        font-size: .9rem;
    }

    #cards .cards-container {
        grid-template-columns: 1fr;
    }

    #today-special .today-special-container .special-container-item a {
        flex-direction: column;
    }

    #today-special .today-special-container .special-container-item p {
        display: block;
        align-self: center;
        padding: 0 0 .5rem 0;
    }

    #today-special .today-special-container .special-container-item a .special-img-item {
        display: inline-block;
        padding-bottom: 1.2rem !important;
    }

    #today-special .today-special-container .special-container-item a .special-img-item {
        width: 100px;
        height: 100px;
    }

    #today-special .today-special-container .special-container-item a > div:last-child p {
        text-align: center;
    }

    #today-special .today-special-container .special-container-item a div:last-child > p:first-child {
        font-size: 1.1rem;
    }

    #today-special .today-special-container .special-container-item a div:last-child > p:last-child {
        font-size: .9rem;
    }

    #today-special .today-special-container h1 {
        text-align: center;
        font-size: 1.2rem;
    }
    
    .two_col_div {
        min-width: 80% !important;
    }
}

@media(max-width: 400px) {
    #vocab-new-grid  #vocab-main-items #vocab-new-each-item {
        width: 295px !important;
    }

    #button-back {
        font-size: 1.2rem;
        cursor: pointer;
        padding: .7rem;
        border-radius: 20px;
        outline: none;
        box-shadow: 4px 4px #ebebeb;
        background: #adca1b;
        color: #000;
    }
}

@media(min-width: 690px) {
    #cards {
        height: 40vh;
    }
}