/* Topic Styles */

main {
    position: relative;
    top: 30px;
    font-family: 'Open Sans', sans-serif;
    display: flex;
    max-width: 90%;
    align-items: center;
    margin: auto;
}

.page-container {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    width: auto;
    padding-top: 5px;
    margin: auto;
    margin-left: 10px;
    margin-bottom: 50px;
    justify-items: center;
}

.difficulty-headings-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px 5px;
    width: auto;
    padding-top: 5px;
    margin: auto;
    margin-bottom: 15px;
    margin-top: 12px;
    justify-items: auto;
}

.topic-headings-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px 10px;
    width: auto;
    padding-top: 5px;
    margin: auto;
    margin-bottom: 15px;
    margin-top: 12px;
    justify-items: auto
}

.topic-container {
    display: grid;
    grid-template-columns: unset;
    width: auto;
    padding-top: 5px;
    margin: auto;
    margin-bottom: 10px;
    justify-items: center;
}

.topics {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    width: 250px;
    margin-bottom: 10px;
}

.topic-header img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    padding: 0px;
    margin: 0px;
}

.topic-header iframe {
    width: 100%;
    height: 160px;
}

.topic-body {
    display: flex;
    flex-direction: column;
    align-items: start;
    padding: 20px;
    width: 100%;
    align-items: center;
}

.tag {
    background: #777;
    border-radius: 50px;
    font-size: 14px;
    margin: 0;
    color: #fff;
    padding: 2px 10px;
    text-transform: uppercase;
    width: 100%;
    text-align: center;
    filter: drop-shadow(5px 5px 4px #000);
}

.main-heading {
    background: #000000;
    font-weight: 800;
    border-radius: 50px;
    font-size: 14px;
    border: rgb(180, 49, 16) solid 2px;
    margin: 0;
    color: #fff;
    padding: 2px 10px;
    text-transform: uppercase;
    width: 100%;
    text-align: center;
    filter: drop-shadow(5px 5px 4px #000);
    color: #fff;
}

.this-difficulty-button {
    background: #fff;
    font-weight: 800;
    border-radius: 50px;
    font-size: 12px;
    border: rgb(180, 49, 16) solid 2px;
    margin: 0;
    padding: 2px 10px;
    text-transform: uppercase;
    width: 100%;
    text-align: center;
    filter: drop-shadow(3px 3px 2px #000);
    transform: rotate(0.008turn);
    color: #000000;
}

.this-topic-button {
    background: #fff;
    font-weight: 800;
    border-radius: 50px;
    font-size: 12px;
    border: rgb(180, 49, 16) solid 2px;
    margin: 0;
    padding: 2px 10px;
    text-transform: uppercase;
    width: 100%;
    text-align: center;
    filter: drop-shadow(3px 3px 2px #000);
    transform: rotate(0.008turn);
    color: #000000;
}

.other-difficulty-button {
    background: #777;
    border: black solid 2px;
    font-weight: 300;
    border-radius: 50px;
    font-size: 12px;
    margin: 0;
    padding: 2px 10px;
    text-transform: uppercase;
    width: 100%;
    text-align: center;
    filter: drop-shadow(5px 5px 4px #000);
    transform: none;
    color: #fff;
}

.other-topic-button {
    background: #777;
    border: black solid 2px;
    font-weight: 300;
    border-radius: 50px;
    font-size: 12px;
    margin: 0;
    padding: 2px 10px;
    text-transform: uppercase;
    width: 100%;
    text-align: center;
    filter: drop-shadow(5px 5px 4px #000);
    transform: none;
    color: #fff;
}

.this-difficulty-heading {
    text-transform: uppercase;
    text-align: center;
    font-size: 15px;
    margin: 10px 0px 2px 0px;
}

.this-difficulty-description {
    text-align: center;
    font-size: 10px;
    /* margin: 0px 0px 10px 0px; */
    color: slategray;
    /* padding-bottom: 10px; */
}

.this-difficulty-warning {
    text-align: center;
    font-size: 8px;
    color: slategray;
}

.tag-black {
    background-color: black;
}

.tag-green {
    background-color: green;
}

.tag-gray {
    background-color: dimgray;
}

.tag-step01 {
    background-color: steelblue;
}

.tag-step02 {
    background-color: royalblue;
}

.tag-blue,
.tag-step03 {
    background-color: navy;
}

.tag-step04 {
    background-color: olive;
}

.tag-step05 {
    background-color: olivedrab;
}

.tag-step06 {
    background-color: seagreen;
}

.tag-step07 {
    background-color: coral;
}

.tag-step08 {
    background-color: darkgoldenrod;
}

.tag-step09 {
    background-color: mediumorchid;
}

.tag-purple,
.tag-step10 {
    background-color: purple;
}

.tag-step11 {
    background-color: brown;
}

.tag-red,
.tag-step12 {
    background-color: crimson;
}

.headinggray {
    color: slategray;
}

.topic-body h4 {
    margin: 20px 0 30px 0;
    font-size: 12px;
    font-weight: 800;
}

.topic-body p {
    margin: 0px 0px 15px 0px;
    text-align: justify;
    font-size: 14px;
}

.topic-body ul {
    list-style: none;
}

.topic-body li {
    font-size: 11px;
    margin: 0 0 10px;
}

#about li {
    list-style-type: disc;
    margin-left: 20px;
}

#cost {
    color: green;
    font-weight: 600;
}

.mainHeading {
    text-align: center;
}

.heading-and-buttons-container span {
    display: none;
    color: black
}

.fa-thermometer-quarter,
.fa-calculator,
.fa-balance-scale-left,
.fa-balance-scale-right,
.fa-connectdevelop,
.fa-dice,
.fa-chart-bar,
.fa-chart-line {
    color: blue;
}

.blue {
    color: blue
}

.darker {
    font-weight: 800;
}

.fa-thermometer-half,
.fa-link {
    color: green;
}

.fa-thermometer-three-quarters {
    color: gold;
}

.fa-thermometer-full,
.fa-exclamation-circle,
.fa-ambulance {
    color: red;
}

.social-buttons {
    display: flex;
    align-items: center;
    margin: auto;
}

.social-buttons p {
    font-size: 15px;
    color: red;
    padding-left: 10px;
}

.tutor {
    display: flex;
    margin-top: auto;
    padding-right: 0.4em;
    padding-bottom: 1em;
}

.tutor img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin: 10px;
}

.tutor-tip h5 {
    margin: 0;
    font-size: 12px;
}

.tutor-tip small {
    color: #888785;
    font-size: 10px;
}

.main-heading-show-top {
    display: block;
}

.main-heading-show-inline {
    display: none;
}

@media(min-width: 580px) {
    .topic-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    .heading-container {
        grid-template-columns: repeat(4, 1fr);
        gap: 10px 20px;
    }
    main {
        top: 80px;
        max-width: 100%;
    }
    .topics {
        width: 275px;
    }
    .topic-header img {
        height: 180px;
    }
    .topic-header iframe {
        height: 180px;
    }
    .tag {
        font-size: 16px;
    }
    .topic-body h4 {
        font-size: 14px;
    }
    .topic-body li {
        font-size: 12px;
    }
    .tutor-tip h5 {
        font-size: 13px;
    }
    .tutor-tip small {
        font-size: 11px;
    }
    .heading-and-buttons-container {
        text-align: center;
    }
    .heading-and-buttons-container span {
        display: unset;
    }
    .main-heading-show-top {
        display: unset;
    }
    .main-heading-show-inline {
        display: none;
    }
    .difficulty-headings-container {
        grid-template-columns: repeat(4, 1fr);
        gap: 10px 20px;
        margin-top: 20px;
    }
    .main-heading {
        font-size: 12px;
        padding: 10px 60px;
    }
    .this-difficulty-button {
        font-size: 12px;
        padding: 10px 6px;
    }
    .other-difficulty-button {
        font-size: 12px;
        padding: 10px 6px;
    }
    .this-difficulty-heading {
        font-size: 30px;
        margin: 20px 0px 10px 0px;
    }
    .this-difficulty-description {
        font-size: 13px;
        margin: 15px 0px 20px 0px;
    }
    .this-difficulty-warning {
        font-size: 10px;
        color: maroon;
        margin: 15px 0px 20px 0px;
    }
}

@media(min-width: 950px) {
    .topic-container {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
    .heading-container {
        grid-template-columns: repeat(4, 1fr);
        gap: 10px 20px;
    }
    main {
        top: 80px;
        max-width: 100%;
    }
    .topics {
        width: 430px;
    }
    .page-topics {
        width: 300px;
    }
    .topic-header img {
        height: 190px;
    }
    .topic-header iframe {
        height: 190px;
    }
    .tag {
        font-size: 14px;
    }
    .topic-body h4 {
        font-size: 16px;
    }
    .topic-body li {
        font-size: 14px;
    }
    .topic-body p {
        margin: 10px 0 10px 0;
        font-size: 14px;
    }
    .tutor-tip h5 {
        font-size: 14px;
    }
    .tutor-tip small {
        font-size: 12px;
    }
    .main-heading-show-top {
        display: none;
    }
    .main-heading-show-inline {
        display: unset;
    }
    .difficulty-headings-container {
        grid-template-columns: repeat(5, 1fr);
        gap: 10px 20px;
    }
    .topic-headings-container {
        grid-template-columns: repeat(7, 1fr);
        gap: 10px 15px;
    }
    .heading-and-buttons-container span {
        display: unset;
    }
    .main-heading {
        font-size: 12px;
        padding: 10px 20px;
        margin: 0;
    }
    .this-difficulty-button {
        font-size: 10px;
        padding: 10px 15px;
        margin: 0;
    }
    .this-topic-button {
        font-size: 9px;
        padding: 10px 7px;
        margin: 0;
    }
    .other-difficulty-button {
        font-size: 10px;
        padding: 10px 15px;
        margin: 0;
    }
    .other-topic-button {
        font-size: 9px;
        padding: 10px 7px;
        margin: 0;
    }
    .this-difficulty-heading {
        font-size: 26px;
        margin: 15px 0px 10px 0px;
    }
    .this-difficulty-description {
        font-size: 18px;
        margin: 0px 0px 5px 0px;
    }
    .this-difficulty-warning {
        font-size: 16px;
        color: maroon;
        margin: 10px 0px 10px 0px;
    }
}