* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    list-style-type: none;
    text-decoration: none;
    font-family: Arial, Helvetica, sans-serif;
}   

:root,
    :root.default {
        --bck-color: #47747D;
        --header-color: #068A73;
        --footer-color: #068A73;
        --dataHighlight-color: rgba(2, 46, 39, 0.8);
        --accent-color: #F3BE70;
    }
    :root.darkMode {
        --bck-color: #3A3A3A;
        --header-color: #1E1E1E;
        --footer-color: #1E1E1E;
        --dataHighlight-color: rgba(0, 0, 0, 0.8);
        --accent-color: #F3BE70;
    }

a {
    text-decoration: none;
    color: white;
}
#logoAnchor {
    height: 50px;
}

body {
    background-color: var(--bck-color);
    color: white;
}

header {
    width: 100dvw;
    max-width: 2500px;
    height: 67px;
    position: fixed;
    inset: 0;
    display: flex;
    justify-content: space-around;
    align-items: center;
    font-size: 30px;
    padding: 0.2em 0;
    margin: 0 auto;
    z-index: 10;
}

.roundedEdge {
    border-radius: 0 0 25px 25px;
    background-color: var(--header-color);
}

#searchWrapper > *, #settingsCog, #dropDownMenu, #subNav, #bckSlider {
    display: none;
}

#mobileMenu {
    width: 85dvw;
    height: 100dvh;
    display: flex;
    position: absolute;
    left: -100%;
    font-size: 25px;
    transition: 0.3s ease;
    background-color: var(--header-color);
    padding: 3em 1em 3em 1.5em;
    z-index: 100;
}

#mobileMenu a {
    font-size: 35px;
    line-height: 2;
}

#mobileMenu ul {
    margin: 0 0 2em 0;
}

#closeMobileMenu {
    position: absolute;
    top: 0.7em;
    left: 1em;
    font-size: 30px;
}

#darken {
    display: none;
    width: 100vw;
    height: 100vh;
    position: absolute;
    background-color: rgba(0, 0, 0, .8);
    z-index: 99;
}

#settings {
    display: flex;
    flex-direction: column;
}

#searchWrapper {
    width: 100dvw;
    height: min-content;
    position: absolute;
    bottom: -1.1em;
    left: 0;
    display: flex;
    padding: 0 0.2em;
}
#searchBar {
    width: 100%;
    font-size: 20px;
    border: none;
    border-radius: 25px 0 0 25px;
    padding: 0.1em 0.8em;
}
#searchBtn {
    font-size: 20px;
    border: none;
    border-radius: 0 25px 25px 0;
    background-color: var(--accent-color);
    padding: 0.2em 1em;
}

#searchBar:active, #searchBar:focus, #searchBar:focus + #searchBtn {

    outline: 2px solid var(--accent-color);
}

#mainNav {
    display: flex;
    height: 100%;
    align-items: center;
    gap: 1em;
}

main {
    height: max-content;
    padding: 100px 1em;
}

h1 {
    font-size: 50px;
    text-align: center;
    margin: 0 0 0.2em 0;
}

#focusContent {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1em;
}

#focusContent p {
    font-size: 20px;
}

.CTAbtn {
    width: max-content;
    font-weight: bold;
    border-radius: 25px;
    background-color: var(--accent-color);
    
}
#mainCTA {
    position: relative;
    font-size: 24px;
    transition: 300ms ease-in-out;
    padding: 0.7em 2em 0.7em 1em;
    margin: 2em 0 0 0;
}
#mainCTA::after {
    position: absolute;
    right: 25px;
    transition: 400ms ease-in-out;
    transform: rotate(0deg);
    font-family: "Font Awesome 5 Free";
    content: "\f054";
    font-weight: 900;
}

.switch {
    position: relative;
    height: 1.5rem;
    width: 3rem;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    border-radius: 9999px;
    background-color: darkslategray;
    transition: all .3s ease;
}
  
.switch:checked {
    background-color: var(--accent-color);
}
  
.switch::before {
    position: absolute;
    content: "";
    left: calc(1.5rem - 1.6rem);
    top: calc(1.5rem - 1.6rem);
    display: block;
    height: 1.6rem;
    width: 1.6rem;
    cursor: pointer;
    border: 1px solid rgba(100, 116, 139, 0.527);
    border-radius: 9999px;
    background-color: rgba(255, 255, 255, 1);
    box-shadow: 0 3px 10px rgba(100, 116, 139, 0.327);
    transition: all 300ms ease;
}
  
.switch:hover::before {
    box-shadow: 0 0 0px 8px rgba(0, 0, 0, .15)
}
  
.switch:checked:hover::before {
    box-shadow: 0 0 0px 8px rgba(236, 165, 72, 0.15)
}
  
.switch:checked:before {
    transform: translateX(100%);
    border-color: var(--accent-color);
}

footer {
    width: 100dvw;
    height: min-content;
    display: flex;
    position: fixed;
    bottom: 0;
    justify-content: space-around;
    font-size: 14px;
    background-color: var(--footer-color);
    border-radius: 25px 25px 0 0;
    padding: 0.5em;
}
footer h3 {
    font-size: 25px;
    margin: 0 0 0.2em 0;
}
#socials ul {
    display: flex;
    justify-content: center;
    gap: 0.5em;
    font-size: 25px;
}

/* --------------------- iPad Version -----------------------*/ 
@media screen and (width >= 725px) {

    #searchWrapper {
        bottom: -1.1em;
        left: 0;
    }
    #searchBar {
        font-size: 30px;
    }
    #searchBtn {
        padding: 0.2em 2em;
    }

    h1 {
        font-size: 90px;
    }

    footer {
        justify-content: center;
        gap: 2em;
    }
}

/* --------------------- Laptop Version -----------------------*/ 
@media screen and (width >= 1200px) {
    #mobileMenuIcon, #searchIcon {
        display: none;
    }

    #searchWrapper > *, #settingsCog, #dropDownMenu, #bckSlider {
        display: block;
    }

    #mobileMenu {
        width: auto;
        height: auto;
        top: -10em;
        left: unset;
        right: 3.2em;
        background-color: transparent;
        padding: 0;
        z-index: 0;
    }

    #settings {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 0.8em;
        position: static;
        font-size: 12px;
        padding: 1em 1em 1.5em 1em;
        z-index: 2;
    }
    #languageWrapper {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 0.4em;
    }
    #closeMobileMenu {
        display: none;
    }
    #settings ul {
        display: none;
    }
    #settings img:hover {
        cursor: pointer;
        transform: scale(1.05);
    }

    header {
        justify-content: space-between;
        padding: 0 1.5em;
    }

    #searchWrapper {
        width: auto;
        position: static;
    }

    #searchBar {
        font-size: 20px;
        padding: 0 0.5em;
        margin: 0 0 0 2em;
    }

    #searchBtn {
        padding: 0.2em 1em;;
    }

    #subNavWrapper {
        height: 100%;
        position: relative;
        display: flex;
        align-items: center;
    } 

    #dropDownMenu {
        display: flex;
        position: relative;
    }
    #dropDownMenu::after {
        position: absolute;
        right: -26px;
        bottom: 0;
        transition: 400ms ease-in-out;
        transform: rotate(0deg);
        font-family: "Font Awesome 5 Free";
        content: "\f0d7";
        font-weight: 900;
    }
    #subNav {
        display: none;
        position: absolute;
        top: 2.2em;
        line-height: 1.7;
        font-size: 25px;
        padding: 1em 1em 0.6em 1em;
    }

    main {
        height: 100dvh;
        display: flex;
        justify-content: center;
        padding: 0 0 0 1em;
    }
    #focusContent {
        width: auto;
        max-width: 51dvw;
        padding: 100px 2em;
    }

    #bckSlider {
        width: 100%;
        max-width: 1558px;
    }

    #indexBody #data-container {
        width: 100%;
        height: 100%;
        border-radius: 50% 0 0 50%;
        overflow-x: hidden;
    }
    /* #data-container > .data-item:nth-child(1) {
        display: block;
    } */
    #indexBody .data-item.active {
        display: block;
    }
    #indexBody .data-item {
        display: none;
        height: 100%;
        background-repeat: no-repeat;
        background-size: cover;
        background-position: center;
        padding: 100px 0 0 0;
    }
    #indexBody .data-item > *:not(:nth-child(1)):not(:nth-child(3)) {
        width: fit-content;
        margin: 0 2em 0 0;
        z-index: 1;
    }
    .data-wrapper {
        width: 100%;
        display: flex;
        justify-content: center;
        background-color: var(--dataHighlight-color);
        padding: 1em 2em 1em 8em;
    }
    .dataTitle {
        font-size: 30px;
    }
    .dataType {
        width: fit-content;
        background-color: lightslategray;
        text-transform: capitalize;
        padding: 0.1em 0.3em;
        border-radius: 25px;
    }
    .dataDate {
        width: fit-content;
        position: relative;
        margin: 0 0 0 2em;
    }
    .dataDate::before {
        position: absolute;
        left: -35px;
        bottom: 0;
        font-family: "Font Awesome 5 Free";
        content: "\f073";
        display: inline-block;
        padding: 0 0 0 10px;
        vertical-align: middle;
        font-weight: 900;
    }
    .dataPrice {
        background-color:limegreen;
        color: black;
        font-weight: bold;
        padding: 0.2em 0.6em;
        border-radius: 25px;
    }


    h1 {
        font-size: 85px;
        text-align: left;
    }

    #mainCTA:hover::after {
        right: 20px;
    }
    #mainCTA:hover {
        padding: 0.7em 3em 0.7em 1em;
    }

    #dropDownMenu:hover, #searchBtn:hover, #mainNav i:hover {
        cursor: pointer;
    }
    #settingsCog:hover, #userIcon:hover {
        transition: 200ms;
        transform: scale(1.05);
    }
    #subNavWrapper:hover #dropDownMenu::after {
        transform: rotate(180deg);
    }
    #subNavWrapper:hover > #subNav {
        display: block;
    }
    #subNav a:hover {
        color: var(--accent-color);
    }

}

/* --------------------- Desktop Version -----------------------*/ 
@media screen and (width >= 1700px) {
    header {
        font-size: 40px;
    }

    #searchBar {
        font-size: 30px;
    }

    #subNav {
        display: none;
        position: absolute;
        top: 2.22em;
        line-height: 1.7;
        font-size: 30px;
        padding: 0.2em 1em 0.6em 1em;
    }

    #dropDownMenu::after {
        right: -35px;
    }

    #mobileMenu {
        right: 4.7em;
    }

    h1 {
        font-size: 125px;
    }

    #focusContent {
        max-width: 925px;
    }
    #focusContent p {
        font-size: 30px;
    }
    #mainCTA {
        font-size: 30px;
    }
    .data-wrapper {
        padding: 1em 2em 1em 10em;
    }
    .dataTitle {
        font-size: 35px;
    }
}

/* --------------------- Widescreen Version -----------------------*/ 
@media screen and (width >= 2000px) {
    #focusContent p {
        font-size: 40px;
    }
    #mainCTA {
        font-size: 40px;
    }
    .dataTitle {
        font-size: 40px;
    }
}