@import url(https://fonts.googleapis.com/css2?family=Montserrat:wght@100;200;300;400;500;600;800;900&display=swap);
@import url(https://fonts.googleapis.com/css2?family=Sacramento&display=swap);

:root {
    --mode: 1;
    --bg-section-color: rgba(255, 255, 255, 1);
    --bg-button-color: rgba(238, 238, 238, 1);
    --bg-disabled-color: rgba(200, 200, 200, 1);
    --bg-parallax-color: rgba(25, 25, 25, 1);
    --section-text-color: rgba(0, 0, 0, 1);
    --RPS-h2-color: #333333;
}

body {
    margin: 0 auto !important;
    user-select: none;
    background-color: white;
    color: black;
    transition: background-color 0.4s ease, color 0.4s ease;
    font-family: 'Montserrat', sans-serif;
    box-sizing: border-box;
    display: flex;
    justify-content: center;
}

body.dark {
    background-color: var(--bg-parallax-color);
    color: white;
}

.full-container{
    width: 1440px;
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    background-image: url(./images/Group\ 1411.png);
}
.container-with-mini-games{
    width: 1090px;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    background: var(--bg-section-color) !important;
}

.main {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

section {
    /* border-top: #000000 1px solid;
    border-bottom: #000000 1px solid; */
    padding: 10px 0;
    margin-bottom: 50px;
}

.underlineSection::after {
    display: block;
    position: absolute;
    content: " ";
    width: 1000px;
    height: 2px;
    left: 0px;
    align-self: center;
    background-color: var(--section-text-color);
    transform: translateX(15vw) translateY(25px);
}

.rock-paper-scissors::after {
    transform: translateX(15vw) translateY(225px);
}

.dino::after {
    transform: translateX(15vw) translateY(-315px);
}

.dino {
    margin-bottom: 100px;
}

.team {
    margin-bottom: 500px;
}

.team::after {
    transform: translateX(15vw) translateY(480px);
}

.eyes::after {
    transform: translateX(15vw) translateY(235px);
}

.rock-paper-scissors {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    height: 290px;
}

.rock-paper-scissors>h2 {
    color: var(--RPS-h2-color);
    position: relative;
    top: 50px;
}

.header {
    width: 1090px;
    height: 80px;
    opacity: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-section-color);
}

.logo {
    width: 93px;
    height: 38.14522933959961px;
    border-top-left-radius: 1px;
    border-top-right-radius: 1px;
    color: var(--section-text-color);
    display: flex;
    margin-right: 71px;
    margin-left: 10px;
}

.logo>div>span {
    font-family: 'Sacramento', handwriting !important;
    font-weight: 400px;
    font-size: 12px;
    line-height: 100%;
}

.logo>div {
    font-weight: 400px;
    font-style: Regular;
    font-size: 12px;
    line-height: 100%;
    letter-spacing: 0%;
    width: 44px;
    height: 35px;
}

.logo>img {
    width: 40px;
    height: 38.14522933959961px;
    margin-left: 2px !important;
}


.headerNav {
    width: 370px;
    height: 15px;
    color: var(--section-text-color);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 50px;
    margin-right: 361px;
}

.headerDropListText {
    font-size: 12px;
    white-space: nowrap;
    margin: 0;
}

.headerDropListText::before {
    content: " ";
    position: absolute;
    left: 98px;
    bottom: 6px;
    width: 7px;
    height: 1px;
    background-color: var(--section-text-color);
    transform: rotate(135deg);
}

.headerDropListText::after {
    content: " ";
    position: absolute;
    left: 93.5px;
    bottom: 6px;
    width: 7px;
    height: 1px;
    background-color: var(--section-text-color);
    transform: rotate(45deg);
}

.headerLink {
    color: inherit;
    font-size: 12px;
    white-space: nowrap;
    text-decoration: none;
}

.headerWelcomeText {
    color: var(--section-text-color);
}

#themeToggle {
    margin-right: 51px;
    cursor: pointer;
    transition: background-color 0.3s;
}

#themeButton:hover {
    background-color: #0056b3;
}

.footer {    
    background: var(--bg-section-color) !important;
    height: 220px;
    width: 1090px;
    opacity: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.footer>.logo {
    margin-right: 20px;
}

.footer>p {
    margin: 0 60px 0 30px;
}

.footer>div:last-child>p {
    width: 254 !important;
    height: 7 !important;
    opacity: 1;
}

.counter-and-buttons>button {
    background: rgba(0, 0, 0, 1);
    cursor: pointer;
}

.counter>div {
    text-align: center;

}

.calculator {
    text-align: center;
}

.cr {
    color: #333;
    margin-bottom: 30px;
    font-size: 24px;
}

.calculator {
    text-align: center;
}


.input-group {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 15px 0;
    flex-wrap: wrap;
    justify-content: center;
}

.input-group>input[type="number"] {
    padding: 12px 20px;
    font-size: 18px;
    border: none;
    border-radius: 50px;
    background-color: #e0e0e0;
    width: 180px;
    text-align: center;
    box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.1);
}

#result {
    background-color: #d0e8ff;
    font-weight: bold;
    color: #0056b3;
}

.operators {
    display: flex;
    gap: 8px;
}

.operator {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #333;
    color: white;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
    user-select: none;
}

.operator:hover {
    background-color: #555;
    transform: scale(1.1);
}

.operator:active {
    transform: scale(0.95);
}

.operator.selected {
    background-color: #007bff;
}

.equals-btn {
    padding: 12px 20px;
    font-size: 18px;
    border: none;
    border-radius: 50px;
    background-color: #28a745;
    color: white;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.2s;
    min-width: 60px;
}

.equals-btn:hover {
    background-color: #218838;
    transform: scale(1.05);
}

.equals-btn:active {
    transform: scale(0.98);
}

#result {
    padding: 12px 20px;
    font-size: 18px;
    border: none;
    border-radius: 50px;
    background-color: #e0e0e0;
    width: 180px;
    text-align: center;
    box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.1);
    margin-left: 10px;
}

section {
    gap: 50px !important;
}

.dino {
    height: 240px;
}

.threeNums {
    width: 720px;
}

.threeNumsInputList {
    display: flex;
    justify-content: space-between;
}

.threeNumsInput {
    padding: 12px 20px;
    font-size: 18px;
    border: none;
    border-radius: 50px;
    background-color: #e0e0e0;
    width: 180px;
    text-align: center;
    box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.1);
}

.threeNumsOutput {
    text-align: center;
}

html { 
    scroll-behavior: smooth; 
}
.underlineSection>h2 {
    text-align: center;
}

.leapYearInput, .timeCalcInput {
    padding: 12px 20px;
    font-size: 18px;
    border: none;
    border-radius: 50px;
    background-color: #e0e0e0;
    width: 180px;
    text-align: center;
    box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.1);
    margin-left: 10px;
    display: inline;
    margin-right: 100px;
}

#guessInput {
    padding: 12px 20px;
    font-size: 14px;
    border: none;
    border-radius: 50px;
    background-color: #e0e0e0;
    width: 180px;
    text-align: center;
    box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.1);
    margin-left: 10px;
    margin-right: 20px;
}

.leapYearText, .timeCalcText {
    display: inline;
}

.container-with-mini-games {
    margin-bottom: 0;
}

.eyesHeader {
    position: absolute;
    top: 3690px;
}

.output {
    margin-top: 10px;
}

.guess-the-number {
    text-align: center;
}

.t-imput {
    padding: 12px 20px;
    font-size: 14px;
    border: none;
    border-radius: 50px;
    background-color: #e0e0e0;
    width: 180px;
    text-align: center;
    box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.1);
}

.subscribeButton {
    margin-left: 20px;
}

.logoImageDark {
    filter: invert(1);
    transition: all 0.3s;
}

.scrollButton {
    display: block;
    position: relative;
    top: 450px;
    left: -70px;
    width: 50px;
    height: 50px;
    font-size: 25px;
    line-height: 1;
    background-color: var(--bg-button-color);
    border: 1px solid var(--section-text-color);
    border-radius: 50%;
    color: var(--section-text-color);
}

.scrollRight {
    left: 250px;
    top: 400px;
}

.modalWindow {
    --opacity-val: 1;
    position: fixed;
    width: 90%;
    height: 90%;
    top: 5%;
    left: 5%;
    background-color: var(--bg-section-color);
    z-index: 10;
    border: 2px solid var(--section-text-color);
    border-radius: 50px;
    text-align: center;
    font-size: 20px;
    opacity: var(--opacity-val);
}

body {
    overflow: hidden;
}

body.noShow {
    overflow: visible;
}

.modalWindow.noShow {
    display: none;
}

.modalText {
    margin-top: 125px;
}

.modalInputText {
    margin-top: 125px;
}

.modalInput {
    display: block;
    padding: 12px 60px 12px 20px;
    border: none;
    border-radius: 50px;
    background-color: #e0e0e0;
    width: 180px;
    text-align: left;
    box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.1);
    font-size: 20px;
    margin: 36px auto;
}

.modalSaveButton {
    font-size: 20px;
}

.modalClose {
    position: fixed;
    width: 40px;
    height: 40px;
    padding: 0;
    top: 13%;
    left: 87%;
    background: none;
    border: none;
}

.modalClose::before {
    content: " ";
    display: block;
    position: relative;
    top: 0px;
    left: -2px;
    width: calc(100%*1.4142);
    height: 2px;
    border-radius: 1px;
    background-color: var(--section-text-color);
    transform: translateX(calc(-0.4142*25px)) rotate(135deg);
}

.modalClose::after {
    content: " ";
    display: block;
    position: relative;
    top: 0px;
    left: -2px;
    width: calc(100%*1.4142);
    height: 2px;
    border-radius: 1px;
    background-color: var(--section-text-color);
    transform: translateX(calc(-0.4142*25px)) rotate(45deg);
}

.modalDoneText {
    position: fixed;
    font-size: 32px;
    top: 35%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.noSaveShow {
    display: none !important;
}