/* global */

html {scroll-behavior: smooth;}

body{
    margin: 0;
    padding: 0;
    font-family: 'Manrope', sans-serif;
    font-size:1.2rem;
    background-color: #000000; /* #101214 */
    color: #bbbbbb;
}

.divider {display:block; width:100%; padding:20px 0;}

.breakline {display:block; width: 75%; position: relative; border-bottom: 1px solid #333333;}

.loader {
  --color: white;
  --size-bar: 0.2vmin;
  position: relative;
  width: 50%;
  display: block;
}

.loader::before,
.loader::after {
  content: '';
  box-sizing: border-box;
  position: absolute;
}

/** loader --4 **/
.loader.--4::before {
  height: var(--size-bar);
  width: 6vmin;
  background-color: var(--color);
  animation: loader-4 2s cubic-bezier(0, 0, 0.03, 0.9) infinite;
}

@keyframes loader-4 {
  0%, 44%, 88.1%, 100% {
    transform-origin: left;
  }
  
  0%, 100%, 88% {
    transform: scaleX(0);
  }
  
  44.1%, 88% {
    transform-origin: right;
  }
  
  33%, 44% {
    transform: scaleX(1);
  }
}

/** animations **/

:root {
  --animate-duration: 2400ms;
  --animate-delay: 0.9s;
}

/** watcher **/

.scroll-watcher {
  height: 5px;
  position: fixed;
  top: 0;
  left:0;
  z-index: 1000;
  background-color: #ffffff;
  width: 100%;
  scale: 0 1;
  transform-origin: left;
  animation: scroll-watcher linear;
  animation-timeline: scroll(y);
}

@keyframes scroll-watcher {
  to {
    scale: 1 1;
  }
}

/** generic **/

#top{
    position:fixed;
    bottom: 20px;
    right: 20px;
    z-index: 99;
    padding: 1px;
    color: #101214; /* #101214 */
    background-color: #ffffff;
    width: 40px;
    height: 40px;
    text-align: center;
    border-radius: 0.3rem;
}

#top a{color:#101214;
    transition: 0.8s;
    font-weight: 800;
    font-size: 2rem;
}

#top a:hover{
    color:#444444;
    transition: 0.8s;
}

html, body {
  width: 100%;
  height:100%;
}

h1,h2,h3,h4,.white{
    color: #fff;
    font-weight: 800;
}

h1 {font-size: 4rem;}

h2 {
    font-weight: 800;
}

#projects h4 {
    text-align: left;
    color: #888888;
    padding: 0;
    margin: 0 0 80px 0;
    font-weight: 300;
    font-size: 1.3rem;
}

h3 {
    color: #fff;
    font-weight: 800;
    font-size: 1.5rem;
    padding: 0;
    margin: 0 0 10px 0;
}

h4 {font-size: 1.2rem;}

a{
    color: #ffffff;
    text-decoration: none;
}

a:hover{
    color: #7A7C80;
    cursor: pointer;
    transition: 0.8s;
}

p {text-align: justify;}

.bold{font-weight:bold; color: #aaaaaa;}
.italic{font-style:italic;}
.paragraph .big-italic{font-family:serif; font-style:italic; padding: 10px 50px; display: block; line-height:1.8rem; font-size: 1.5rem; color: #cccccc;}
.paragraph {padding-bottom:20px;}

#projects img {
    border-raddius:0px;
    padding: 10px;
    box-sizing: border-box;
    border-radius:0px;
    transition: 0.5s;
}

#projects img:hover {
    border-radius:40px;
    transition: 0.5s;
}

#about img {border-radius: 100px;}

.container{
padding:0 100px;
}

/* grid */

.grid-2{
    display: grid;
    grid-template-columns: 50% 50%;
    grid-gap: 0px;
    margin-bottom: 20px;
}

.grid-2575{
    display: grid;
    grid-template-columns: 75% 25%;
    grid-gap: 0px;
    margin-bottom: 20px;
}

.grid-3{
    display: grid;
    grid-template-columns: auto auto auto;
    grid-gap: 0px;
}

.pad20{padding:20px;}

.btn
{      
    overflow: hidden;
    border: 1px solid #ffffff;
    font-size: 1rem;
    color: #ffffff;
    background: none;
    cursor: pointer;
    padding: 10px 10px;
    display: inline-block;
    margin: 0px;
    text-transform: uppercase;
    outline: none;
    position: relative;
    transition: all 0.3s;
    border-radius: 0.5rem;
    font-weight:300;
}
.btn:after{
    content: '';
    position: absolute;
    z-index: -1;
    transition: all 0.3s;
   box-sizing: border-box;
}

.btn:hover{
  color:#101214;
  background-color:#ffffff;
  border-radius: 0rem;
}

.section-2 .btn a {
    display: inline-block;
    padding: 0px;
    font-size: 1rem;
}

.section-2 .btn a:hover {
    display: inline-block;
    padding: 0px;
    font-size: 1rem;
}


/* section 1 */

.section-1{
    padding-top: 5vh;
    text-align: center;
}

.section-1 p{
    font-size: 1.1rem;
    padding-bottom: 10px;
    margin:0;
}

.sub-header{text-align:center; display:block; padding-bottom:40px;}

.section-1 h2{
    font-size: 3rem;
    margin-bottom: 10px;
}

.section-1 a{
    font-size: 1.5rem;
    padding: 10px;
}
/* section 2 */
.section-2{
    padding-top: 1vh;
    width: 100%;
}

.section-2 h2{
    font-size: 3rem;
    margin-bottom: 10px;
}

.section-2 p{
    margin:0;
}

.section-2 a{
    display: block;
    padding: 5px;
    font-size: 1.2rem;
    padding-left: 0;
    width: 100px;
}

.section-2 a:hover{
    font-size: 1.2rem;
    cursor: pointer;
    transition: 0.8s;
}

.section-1 a:hover{
    cursor: pointer;
    transition: 0.8s;
}

.white:hover{
    position: relative;
    padding-left: 10px;
}

.section-3 .right {text-align: left;}

.section-3 a{
    font-size: 1.2rem;
    display:block;
    width:auto;
}

.section-4 {padding: 20px 0; }
.section-4 p {font-size:0.9rem;}

.left{padding-right:40px;}

.block img {
    max-width: 100%;
}

/* media queries */
@media(max-width:780px){
    .grid-2{
        grid-template-columns: 1fr;
    }
    .grid-3{
        grid-template-columns: 1fr;
    }
    .grid-2575{
        grid-template-columns: 1fr;}
    .container{padding:10px;}
    .section-1{
        padding:0;
        padding-top: 5rem;
    }
    .section-2{
        padding: 0;
        padding-left: 1.5rem;
        padding-top: 2rem;
    }
    .left{padding-right:0px;}
}
