:root {
    color-scheme: light dark;

    --dark-primary-background: #121212;
    --dark-secondary-background: #1E1E1E;
    --dark-primary-text: #E0E0E0;
    --dark-secondary-text: #B0B0B0;
    --dark-interaction: #004799;

    --light-primary-background: #FFFFFF;
    --light-secondary-background: #F0F0F0;
    --light-primary-text: #333333;
    --light-secondary-text: #666666;
    --light-interaction: #1565C0;
}

body {
    margin: 0;
    background: light-dark(var(--light-primary-background), var(--dark-primary-background));
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
}

button {
    cursor: pointer;
}

header {
    width: 100%;
    height: 8%;
    position: fixed;
    top: 0;
    left: 0;
    display: block;
    z-index: 3;
    background: light-dark(var(--light-primary-background), var(--dark-secondary-background));
}

header img {
    height: 80%;
    transform: translate(0%, -50%);
    position: absolute;
    top: 50%;
    left: 5px;
}

header button {
    position: absolute;
    right: 1vh;
    transform: translate(0%, -50%);
    top: 50%;
    height: 60%;
    width: 20vh;
    color: white;
    background-color: light-dark(var(--light-interaction), var(--dark-interaction));
    border: solid;
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
    border-width: 2px;
    font-size: 1em;
    border-color: light-dark(var(--light-interaction), var(--dark-interaction));
    cursor: pointer;
    transition: ease-out 0.2s;
    z-index: 2;
}

header button:hover {
    transform: translate(-2%, -50%);
}

footer {
    margin-top: 4vh;
    width: 100%;
    height: auto;
}

footer .top {
    width: 100%;
    background-color: light-dark(var(--light-secondary-background), var(--dark-secondary-background));

    padding-bottom: 3vh;
    padding-top: 3vh;
}

footer .top h1 {
    width: auto;
    font-size: 10vh;

    color: light-dark(var(--light-primary-text), var(--dark-primary-text));
    
    margin-left: 8vh;
    text-decoration: underline;
    text-decoration-color: light-dark(var(--light-interaction), var(--dark-interaction));
}

footer .bottom {
    font-family: "Hepta Slab", serif;

    width: 100%;
    height: auto;

    padding-bottom: 8vh;

    color: var(--dark-primary-text);
    background: linear-gradient(135deg, var(--dark-interaction), var(--light-interaction));

    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: flex-start;
    align-content: center;
}

footer .bottom .row {
    height: auto;
    width: 28%;

    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    align-content: flex-start;
}

footer .bottom .row h1 {
    font-weight: bold;
    text-decoration: underline;
    text-decoration-color: var(--dark-primary-text);
    font-size: 5vh;

    color: var(--dark-primary-text);
}

footer .bottom .row p {
    font-size: 2vh;
    font-weight: normal;

    margin: 0;
    margin-top: 1vh;

    padding-right: 8vh;
}

footer .bottom .row .list-item {
    display: flex;

    flex-direction: row;
    justify-content: center;
    align-items: center;
    align-content: center;
}

footer .bottom .row .list-item h2 {
    font-size: 2vh;
}

footer .bottom .row .list-item img {
    width: 3vh;
    height: 3vh;
    margin-right: 1vh;
}

.nav-container {
    display: flex;
    transform: translate(0%, -50%);
    position: relative;
    top: 50%;
    left: 8vh;
    width: 70%;
    flex-direction: row;
    justify-content: flex-start;
    height: 40%;
    align-content: center;
    align-items: center;
}

.nav-container a {
    text-decoration: none;
    color: light-dark(var(--light-primary-text), var(--dark-primary-text));
    transition: ease-in-out 0.3s;
}

.nav-container a:hover {
    color: light-dark(var(--light-interaction), var(--dark-interaction));
}

.nav-container p1 {
    padding-right: 40px;
    font-size: 1.5em;
    text-align: left;
}

#warning {
    position: relative;
    top: 8%;
    width: auto;
    height: auto;
    color: white;
    left: 0;
    background: linear-gradient(135deg, #ff2600, #990800);

    margin-top: 3vh;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-content: center;
    align-items: center;

    z-index: 2;
}

#warning h1 {
    font-size: 6vh;
    padding-top: 2vh;
    text-align: center;
    margin: 0;
    margin-top: 5vh;
}

#warning p {
    font-size: 2vh;
    font-weight: 300;
    text-align: center;
    padding-bottom: 2vh;
    max-width: 100vh;
}

#about {
    position: relative;
    top: 8%;
    width: auto;
    height: auto;
    color: white;
    left: 0;
    background: linear-gradient(135deg, #007bff, #004a99);

    margin-top: 3vh;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-content: center;
    align-items: center;

    z-index: 2;
}

#about h1 {
    font-size: 6vh;
    padding-top: 2vh;
    text-align: center;
}

#about p {
    font-size: 2.4vh;
    font-weight: 300;
    text-align: center;
    padding-bottom: 2vh;
    max-width: 100vh;
}


#resorces {
    background: light-dark(var(--light-primary-background), var(--dark-primary-background));
    color: light-dark(var(--light-primary-text), var(--dark-primary-text));

    position: relative;
    display: block;
    height: auto;
    width: auto;

    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: flex-start;
    align-content: flex-start;

    z-index: 1;
}

#resorces .section {
    width: 16.6666666667%;
    height: 35vh;
    
    margin: 0 0.5vh 0 0.5vh;

    max-width: 35vh;

    text-align: center;
    box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px;
    border-radius: 0 0 10px 10px;
    background: light-dark(var(--light-secondary-background), var(--dark-secondary-background));

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-content: center;
    align-items: center;
    opacity: 0;

    font-size: large;

    animation: fadeIn 0.5s ease-out forwards;
}

#resorces .section:nth-child(n) {
    animation-delay: calc(0.1s * var(--i));
}

#resorces .section p {
    font-size: medium;
    padding: 2vh 2vh;
    margin: 0;  
}

#resorces .section img {
    height: 10vh;
    width: 10vh;
    margin-top: 1vh;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.only-on-dark {
    display: none;
}

@media (max-width: 800px) {
    .nav-container {
        opacity: 0 ;
    }

    #about h1 {
        padding-top: 3vh;
    }
}

#soluction {
    background: linear-gradient(135deg, #007bff, #004a99);

    margin-top: 1vh;
    color: white;

    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    align-content: center;
    flex-wrap: wrap;

    padding-bottom: 2.5vh;
    padding-top: 2.5vh;

    height: auto;
    width: auto;
}

#soluction .item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start ;
    align-content: center;

    color: light-dark(var(--light-primary-text), var(--dark-primary-text));
    background: light-dark(var(--light-secondary-background), var(--dark-secondary-background));

    height: auto;
    width: 55vh;

    padding-bottom: 2.5vh;
    margin-top: 1vh;

    border-radius: 10px;
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;

    text-align: center;

    margin-left: 1vh;
    margin-right: 1vh;
    opacity: 0;
}

#soluction .item p {
    margin-bottom: 5vh;
    width: 90%;
}

#soluction .item h1 {
    font-size: 4vh;
    margin-bottom: 0px;
}

#soluction .item .list {
    height: auto;
    width: 90%;
}
.fade-in {
    animation: fromLeft forwards ease-in-out 0.2s;
}

@keyframes fromLeft {
    from {
        opacity: 0;
        transform: translateX(-10px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

#soluction .item .list h1 {
    font-size: 2vh;
    font-weight: 200;
    text-align: center;
    opacity: 0;
    align-content: center;

    height: 5vh;

    padding: 0.5vh;

    border: solid;
    border-color: light-dark(var(--light-interaction), var(--dark-interaction));
    border-radius: 1vh;
    border-width: 0.21vh;

    color: light-dark(var(--light-primary-text), var(--dark-primary-text));

    background-color: light-dark(var(--light-secondary-background), var(--dark-secondary-background));
}

#soluction .item p {
    color: light-dark(var(--light-secondary-text), var(--dark-secondary-text));
    height: 5vh;
}

#soluction .item li {
    color: light-dark(var(--light-primary-text), var(--dark-primary-text));
    text-align: left;
    margin-top: 0.5vh;
}

#soluction .item button {
    background-color: light-dark(var(--light-interaction), var(--dark-interaction));
    width: 90%;
    height: 5vh;

    margin-top: 2.5vh;

    border: none;
    border-radius: 1vh;
    color: var(--dark-primary-text);
    font-size: medium;

    cursor: pointer;

    transition: 0.1s ease-in-out;
}

#soluction .item button:hover {
    scale: 1.01;
    background-color: light-dark(var(--dark-interaction), var(--light-interaction));
}

#plans {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    align-content: center;

    flex-wrap: wrap;

    width: 100%;
    height: auto;

    padding-top: 1vh;
    padding-bottom: 1vh;

    text-align: center;
}

#plans .item {
    width: 16.6666666667%;
    height: auto;
    opacity: 0;

    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;

    background: light-dark(var(--light-secondary-background), var(--dark-secondary-background));
    color: light-dark(var(--light-primary-text), var(--dark-primary-text));

    margin-left: 1vh;
    margin-right: 1vh;

    border-radius: 1vh;

    padding-bottom: 1vh;
}

#plans .item .args {
    background: light-dark(var(--light-interaction), var(--dark-interaction));
    color: white;

    border-top-left-radius: 1vh;
    border-top-right-radius: 1vh;
}

#plans .item .args h1 {
    margin: 0;

    padding-top: 1vh;
    font-size: x-larger;

    height: 2.5vh;
}

#plans .item .args p {
    margin: 0;

    padding-top: 0.5vh;
    font-size: large;
    font-weight: 200;
    height: 1.5vh;
    margin-bottom: 4vh;
}

#plans .item .args .arg {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    align-content: center;

    width: 100%;
    height: 4vh;
    margin: 0;
    padding: 0;

    padding-top: 0.5vh;
    padding-bottom: 0.5vh;

    border: solid;
    border-width: 0;
    border-top-width: 0.1vh;
    opacity: 0;
}

#plans .item .args .arg:nth-child(odd) {
    background-color: rgba(0, 0, 0, 0.1);
}

#plans .item .args .arg:nth-child(odd):hover {
    background-color: rgba(0, 0, 0, 0.15);
}
#plans .item .args .arg:hover {
    background-color: rgba(0, 0, 0, 0.05);
}


#plans .item .args .arg h2 {
    font-weight: 200;
    font-size: larger;
    margin: 0;
}

#plans .item h3 {
    font-weight: 500;
    font-size: large;
    margin: 0;
    margin-top: 2vh;
}

#plans .item .args .arg img {
    width: 3vh;
    height: 3vh;

    margin-right: 1vh;
}

#plans .item button {
    width: 94%;
    margin-top: 4vh;
    height: 4vh;

    color: var(--dark-primary-text);
    background-color: light-dark(var(--light-interaction), var(--dark-interaction));
    
    border: none;
    border-radius: 0.2vh;

    border-bottom-right-radius: 1vh;
    border-bottom-left-radius: 1vh;

    transition: 0.1s ease-in-out;
} 

#plans .item button:hover {
    background-color: light-dark(var(--dark-interaction), var(--light-interaction));
    transform: translateY(2px);
}


@media (max-width: 1100px) {

    footer .bottom {
        flex-direction: column;
        align-items: center;
    }

    footer .bottom .row {
        width: 90%;
        margin-top: 3vh;
    }

    #soluction {
        flex-direction: column;
    }

    #soluction .item {
        width: 98%;
        margin-top: 1vh;
    }

    #resorces {
        background: light-dark(var(--light-primary-background), var(--dark-primary-background));
        color: light-dark(var(--light-primary-text), var(--dark-primary-text));
    
        position: relative;
        height: auto;
        width: auto;
    
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        align-content: center;
    
        z-index: 1;
    }

    #resorces .section {
        position: relative;
        width: 98%;
        height: auto;
        max-width: 98%;
        
        padding-top: 1vh;
        padding-bottom: 1vh;
        margin-top: 1vh;

        text-align: center;
        box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px;
        background: light-dark(var(--light-secondary-background), var(--dark-secondary-background));
    
        border: none;
        border-radius: 10px;

        display: flex;
        flex-direction: column;
        justify-content: center;
        align-content: center;
        align-items: center;
        opacity: 0;
    
        animation: fadeIn 0.5s ease-out forwards;
    }

    #plans {
        flex-direction: column;
    }

    #plans .item {
        width: 98%;
        margin-top: 1vh;
        margin-bottom: 1vh;
    }
}

@media (prefers-color-scheme: dark) {
  .only-on-dark {
    display: block;
  }
  
  .only-on-light {
    display: none;
  }
}
