* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

@font-face {
    font-family: SuisseMono;
    src: url("assets/SuisseIntlMono-Thin-WebS.woff2");
}

@font-face {
    font-family: ThomSemi;
    src: url("assets/Thom-Semi-Bold40.woff2");
}


html {
    font-size: 11px;
}

body {
    font-family: SuisseMono;
    font-size: 1.8rem;
    line-height: 1.35;
    letter-spacing: -0.25px;
    color: #ffffff;
    overflow-x: hidden;
}

.home {
    background-color: #fffdfb;
    overflow-y: hidden;
    -moz-transition: all .25s;
    -o-transition: all .25s;
    -webkit-transition: all .25s;
    transition: all .25s;
}

.dark-mode {
    background-color: black;
    -moz-transition: all .5s;
    -o-transition: all .5s;
    -webkit-transition: all .5s;
    transition: all .5s;
  }
/* Overlay */

#overlay {
    position: absolute;
    top: 0;
    left: 0;
    min-height: 100vh;
    min-width: 100vw;
    background-color: #FFFFFF;
    z-index: 999;
}

/* Hide */

.hide {
  opacity: 0;
  visibility: hidden;
  transition: opacity 2s, visibility 2s;
  pointer-events: none;
} 

/* Header Home */

.header-home {
    position: fixed;
    left: 10px;
    top: 10px;
    max-width: 100vw;
    display: block;
    margin: 0px 0px;
    margin-top: -23px;
    z-index: 800;
}

p#thomlogo {
    font-family: ThomSemi;
    font-size: 6rem;
    color: #9c9dff;
    overflow-x: hidden;
}

#thomlogo:hover {
    /* Start the shake animation and make the animation last for 0.5 seconds */
    animation: shake 0.5s;
  
    /* When the animation is finished, start again */
    animation-iteration-count: infinite;
  }
  
  @keyframes shake {
    0% { transform: translate(1px, 1px) rotate(0deg); }
    10% { transform: translate(-1px, -2px) rotate(-1deg); }
    20% { transform: translate(-3px, 0px) rotate(1deg); }
    30% { transform: translate(3px, 2px) rotate(0deg); }
    40% { transform: translate(1px, -1px) rotate(1deg); }
    50% { transform: translate(-1px, 2px) rotate(-1deg); }
    60% { transform: translate(-3px, 1px) rotate(0deg); }
    70% { transform: translate(3px, 1px) rotate(-1deg); }
    80% { transform: translate(-1px, -1px) rotate(1deg); }
    90% { transform: translate(1px, 2px) rotate(0deg); }
    100% { transform: translate(1px, -2px) rotate(-1deg); }
  }

/* Header About */

nav #nav-about {
    z-index: -1;
}

nav {
    left: 0;
    right: 0;
    margin: auto;
    text-align: center;
}

/* About Image */

#about {
    position: relative;
    width: 500px;
    margin-right:auto;
    margin-left:auto;
    margin-top: 180px;
}

.image {
    display: block;
    margin-left: auto;
    margin-right: auto;
    max-width: 500px;
    border-radius: 15px;
}

#icon {
    position: fixed;
    right: 10px;
    top: 10px;
    max-width: 100vw;
    display: block;
    margin: 0px 0px;
    max-width: 4rem;
    transition: transform .25s ease-in-out;
}

#icon:hover {
    transform: rotate(90deg);
}

/* Home Text */

.container {
    display: grid;
    grid-template-columns: repeat(17, 1fr);
    column-gap: 5px;
    margin: 0;
    position: absolute;
}

.item-1 {
    grid-column: 6 / 15;
}

.item-2 {
    grid-column: 15 / 17;
}

.item-3 {
    grid-column: 4 / 6;
}

.item-4 {
    grid-column: 7 / 9;
}

#buttons {
    margin-left: 10px;
    margin-bottom: -4px;
}

h2 {
    font-family: SuisseMono;
    font-weight: 100;
    font-size: 1.8rem;
    line-height: 1.3;
    color: #ffffff;
}

h2 span { 
    margin-left: -5px;
    padding: 5px 15px;
    border-radius: 15px;
    background-color: #009bff; 
    -moz-transition: all .25s;
    -o-transition: all .25s;
    -webkit-transition: all .25s;
    transition: all .25s;
}

h2 span:hover { 
    padding: 5px 15px;
    border-radius: 5px;
    background-color: #009bff; 
    -moz-transition: all .25s;
    -o-transition: all .25s;
    -webkit-transition: all .25s;
    transition: all .25s;
}

h2 span#folio { 
    margin-left: -5px;
    padding: 5px 15px;
    border-radius: 15px;
    background-color: #ff4646; 
    -moz-transition: all .25s;
    -o-transition: all .25s;
    -webkit-transition: all .25s;
    transition: all .25s;
}

h2 span#folio:hover { 
    padding: 5px 15px;
    border-radius: 5px;
    background-color: #ff4646; 
    -moz-transition: all .25s;
    -o-transition: all .25s;
    -webkit-transition: all .25s;
    transition: all .25s;
}

h2 span.alt-span {
    background-color: #ff6e00; 
}

h2 span.alt-span2 {
    background-color: #7fd80a; 
}

.text-home {
    margin-top: 10px;
    color: #71685c;
}

span.right {
    display: inline-block;
    margin-top: 5px;
}

/* About Text */

.info {
    display: block;
    margin-left: auto;
    margin-right: auto;
    max-width: 500px;
    padding: 25px 15px 15px 15px;
}

a {
    text-decoration: none;
    color: inherit;
    opacity: 100%;
    -moz-transition: all .15s ease-in;
    -o-transition: all .15s ease-in;
    -webkit-transition: all .15s ease-in;
    transition: all .15s ease-in;
}

a:link { 
    text-decoration: none; 
  } 
  a:visited { 
    text-decoration: none; 
  } 
  a:hover { 
    text-decoration: none; 
  } 
  a:active { 
    text-decoration: none; 
  }

h1 {
    font-family: SuisseMono;
    font-weight: 100;
    margin-left: -15px;
    font-size: 1rem;
    line-height: 1.65;
    color: white;
}

h1 span { 
    padding: 5px 15px;
    border-radius: 15px;
    background-color: #3e5baf; 
}

.footer {
    position: fixed;
    bottom: 10px;
    left: 5px;
}

.mob-footer {
    position: fixed;
    bottom: 10px;
    left: 10px;
}

.main-footer {
    position: fixed;
    bottom: 10px;
    left: 10px;
}

.footer-right {
    position: fixed;
    bottom: 10px;
    right: 5px;
}

/* Clock */



/* Highlight */

::selection {
  background: #6b74ff; /* WebKit/Blink Browsers */
  color: white;
}
::-moz-selection {
  background: #6b74ff; /* Gecko Browsers */
  color: white;    
}

span::selection {
  background: white; /* WebKit/Blink Browsers */
  color: #6b74ff;
}

span::-moz-selection {
  background: white; /* Gecko Browsers */
  color: #6b74ff;
}

img::selection {
  background: none; /* WebKit/Blink Browsers */
  color: none;
}

img::-moz-selection {
  background: none; /* Gecko Browsers */
  color: none;
}

p.text-home::selection {
    background: #73d2ff;
    color: white;
}

p.text-home::-moz-selection {
    background: #73d2ff;
    color: white;
}


/* Responsive Mobile Settings */

@media screen and (min-width: 1101px) {
    
    .mob-footer {
        display: none;
    }
    #span-mob {
        display: none;
    }
}


@media screen and (max-width: 1250px) {
 
    html {
        font-size: 9px;
    }

}


@media screen and (max-width: 1100px) {
 
    html {
        font-size: 9px;
    }

    /* About Image */

    #about {
        position: relative;
        width: 95vw;
        margin-right:auto;
        margin-left:auto;
        margin-top: 80px;
    }
    
    .info {
    display: block;
    margin-left: auto;
    margin-right: auto;
    max-width: 500px;
    padding: 25px 15px 15px 15px;
    }

    .image {
        display: block;
        margin-right: auto;
        width: 95vw;
        max-width: 500px;
        border-radius: 15px;
    }
    
    .main-footer {
        display: none;
    }

    .footer {
        position: fixed;
        bottom: 48px;
        left: 5px;
    }

    .footer-right {
        position: fixed;
        left: 0px;
        bottom: 46px;
    }
    .header-home {
    max-width: 95vw;
    display: block;
    margin: auto;
    margin-top: -17px;
    padding: 0px 0px;
    z-index: 9999;
    }

    .logo-home {
        max-width: 95vw;
    }

    .container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: auto auto;
    column-gap: 5px;
    grid-row-gap: 25px;  
    margin: 10px;
    padding-right: 0px;
    }

    .item-1 {
        grid-column: 1 / 5;
        grid-row: 1 / 2;
        margin-top: 35px;
    }

    .item-2 {
        grid-column: 4 / 5;
    }

    .item-3 {
        grid-column: 1 / 3;
        grid-row: 2 / 3;
    }

    .item-4 {
        grid-column: 3 / 5;
        grid-row: 2 / 3;        
    }

}



