/* Extra large devices (large laptops and desktops, 1200px and up) */
@media only screen and (max-width: 1200px) {
    .indexli{
        display: none;
    }
    .homeTitle{
        font-size: 1.5em;
    }
    .topbar{
        height: 100px;
    }
    .homeBox > p {
        font-size: 1.2em;
    }
    p {
        font-size: 16px;
        font-weight: bold;
    }
    .skills, .contacts{
        width: 100%;
    }
    #burger{
        display:block;
    }
}

/*Colors
000000 Black
#2B303A Gunmetal
#A59132 Satin sheen gold
#B1EDE8 Celeste
*/

:root {
    --base: #c3dfe0;
    --text: #2B303A;
    --hover: black;
}

@media (prefers-color-scheme: dark){
    :root {
        --base: #2B303A;
        --text: #c3dfe0;
        --hover: white;
    }
}

html{
    color-scheme: dark light;
}

#burger{
    display: none;
}

:root:has(#theme [value="thLight"]:checked){
    color-scheme: light;
    --base: #c3dfe0;
    --text: #2B303A;
    --hover: white;
    
}

:root:has(#theme [value="thDark"]:checked){
    color-scheme: dark;
    --base: #2B303A;
    --text: #c3dfe0;
    --hover: black;
}

@keyframes Titles{
    0% {
        opacity: 0;
        visibility: hidden;
        z-index: -1;
    }
    100% {
        opacity: 1;
        visibility: visible;
        z-index:100;
    }
}

#homeBox{
    display: block;
    margin: auto;
    width: auto;
    height: 950px;
}
@keyframes fadeIn {
    0%, 70% {
        transform: translateY(-100%);
        opacity: 0;
    }
    100% {
        transform: translateY(0%);
        opacity: 0.8;
    }
}
@keyframes fadeInFooter {
    0%, 70% {
        opacity: 0;
    }
    100% {
        opacity: 0.8;
    }
}
html{
    background-color: #2B303A;
    background-image: url('/media/watercolor.png');
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-position: center;
    background-color: rgba(255, 255, 255, 0.212);
}

body {
    font-family: 'Roboto';
    color: #c3dfe0;
    margin:0;
    background-color: var(--base);
    color: var(--text);
}

#menuW{
    width: 35vw;
    display: flex;
}

.footer{
    position: fixed;
    display: flex;
    bottom: 0;
    left: 0;
    width:100%;
    background-color: var(--text);
    color:var(--base);
    animation-delay: 4s;
    animation: 2.8s fadeInFooter;
    text-align: center;
    justify-content: space-between;
    border-top: 2px solid #484f5f;
    border-top-style: solid;
    opacity: 0.8;
}

.footer > div > a:link{
    text-decoration: none;
    color: var(--base);
}
.bullets > ul {
    list-style-type: square;
    text-align: left;
    padding-left: 20px;
    font-size: 1.2em;
    color: var(--base);
}

.bullets{
    margin-bottom:0;
    padding:0;
}

.content > h3 {
    color: #c3dfe0;
}
h3 > a {
    color: #7a8083;

}

#topBar{
    justify-content: space-between;
    align-items: center;
}
.pageTitle{
    width:auto;
    text-align:center;
    padding: 4px;
}
.homeTitle{
    color: var(--base);
    font-size: 2em;
    margin:auto;
}
.homeTitle:hover{
    cursor: pointer;
    color: var(--hover);
    transition: 0.1s;
}
.indexul{
    display: flex;
    padding:10px 0;
    margin:0;
    background-color: var(--text);
    color: var(--base);
    width:auto;
    height: 55px;
    justify-content: space-between;
    animation-delay: 3.5s;
    animation: 2.5s fadeIn;
    border-bottom: 2px solid #484f5f;
    border-bottom-style: solid;
    opacity: 0.8;
}
.indexul.li{
    transition:0.1s;
}
.cnct{
    width:30px;
    height:30px;
    border-radius: 3px;
}
.cnctLink{
    text-decoration: none;
}
.cnctLink:hover{
    text-decoration: none;
    color: var(--hover);
}


.indexli{
    margin:auto;
    width:auto;
    height: auto;
    color: var(--base);
    font-size: 1.5em;
    transition: 0.1s;
    text-align:left;
    opacity: 0.8;
}

#homeB:hover, #contactB:hover, #infoB:hover{
    color: var(--hover);
    opacity: 1;
    transition: 0.1s;
}

/* Animations */
@keyframes load{
    0%, 69%{
        visibility: hidden;
        opacity: 0;
    }
    70%{
        visibility: visible;
        opacity: 0;
        
    }
    100%{
        opacity: 1;
        transform: translateY(-10vh);
    }
}


#indexBox{
    margin-left: auto;
    margin-right: auto;
    width: 80vw;
    animation-delay: 2.5s;
    animation: load 2s ease-out;
    animation-fill-mode: forwards;
}
#indexTitle{
    text-align: center;
}
p {
    text-align:left;
    font-style: Roboto; 
    color: var(--text);
}
/* Font styling and sizing */
#homeBox > h1 {
    font-size: 4em;
    margin-bottom: 100px;
}
#homeBox > p {
    margin-top: 150px;    
}
p {
    font-size: 1.3em;
    font-weight: bold;
}
.Tcontent > p {
    margin-top: 100px;
    /*font-size: 1.3em;*/
    width: auto;
}
h2{
    font-size: 2.5em;
}
h3{
    font-size: 1.6em;
}
.Tcontent{
    width: auto;
}
.skills, .contacts{
    margin: 20px;
    width:min(300px, 100%);
    padding: 10px;
    background-color: var(--text);
    border-style: solid;
    opacity: 0.9;
}

.skills > span, .contacts > span {
    color: var(--base);
    font-size: 1.2em;
}


.content > ul {
    margin-bottom: 0;
    padding-bottom: 0;
}
.contacts > h3 {
    color: white;
}

.contacts > .socials > a {
    color: var(--base);
}
.content > a:hover {
    color: var(--hover);
}

a:link{
    text-decoration: none;
    color: var(--text);
    padding-top: 5px;
}
h1, h2, h3, h4 {
    color: var(--text);
}
#infoBox, #contactBox{
    display:flex;
    flex-wrap: wrap;
    justify-content: center;
}
#contactBox{
    padding: 10px 30px;
}
#contactCon{
    height:400px;
}
.socials{
    font-size: 1.2em;
    text-decoration: none;
}

/* Button for Top of Page */
#topBtn {
    display: none;
    position: fixed;
    bottom: 50px;
    right: 50px;
    z-index: 100;
    border: 2px solid #484f5f;
    outline: none;
    background-color: #2B303A;
    /*color: #B1EDE8;*/
    cursor: pointer;
    padding: 10px;
    font-size: 1.2em;
    opacity: 0.8;
  }
  
#topBtn:hover {
    background-color: black;
}

@keyframes homePos {
    0%, 99%{
        margin-top:30vh;
    }
    100%{
        margin-top:0;
    }
}

/* Loading animation */
.loadingBar{
    width: 60vw;
    animation: homePos 1.2s;
    z-index: -1;
    margin-left: auto;
    margin-right: auto;
}

@keyframes home{
    0% {
        width:0%;
    }
    87%{
        width: 100%;
        opacity: 1;
    }
    92%{
        width: 100%;
        opacity: 0;
    }
    96%{
        width: 100%;
        opacity: 1;
    }
    100%{
        width: 100%;
        visibility: hidden;
        z-index: -1;
        opacity: 0;
    }
}

#c1{
    background-color: #2B303A;
    animation: home 1.2s;
    height: 60px;
    animation-fill-mode: forwards;
    border-radius: 10px;
    border: 2px solid #484f5f;
}

#loadingText{
    color: var(--text);
    font-size: 3em;
    animation: home 1.2s ease-in-out;
    animation-fill-mode: forwards;
}
@media (prefers-reduced-motion: no-preference){
    .skills{
        scale: 0.8;
        opacity: 0;
        animation: fade-In linear forwards;
        animation-timeline: view();
        animation-range: entry;
    }

    @keyframes fade-In{
        to {scale: 1; opacity: 1;}
    }
}




#themeCont{
    border: 3px var(--base);
    border-radius: 8px;
    height: auto;
}

#theme{
    font-size: 2rem;
    background-color: var(--text);
    color: var(--base);
}

/*Scrollbar section*/
::-webkit-scrollbar {
    width: 8px;
  }
  
  ::-webkit-scrollbar-track {
    background: var(--base); 
  }

  ::-webkit-scrollbar-thumb {
    background: var(--text);
  }

  ::-webkit-scrollbar-thumb:hover {
    background: var(--hover); 
  }

/* Greetings! :) */