*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    --bg-color: #212121;
    --bg-color-light: #323232;
    --accent-color: #CA3E47;
    --cube-width: 30px;
    --cube-height: 30px;
    --cube-tilt: -30deg;
}

body{
    min-height: 100vh;
    overflow-x: visible;
    color: snow;
    background-color: var(--bg-color);
    font-family: Ubuntu;
    height: 100%;
}

header{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 15px 50px;
    display: flex;
    justify-content: space-between;
    min-height: 92px;
    max-height: 92px;
}

a{
    color: snow;
}

a:visited{
    color: inherit;
}

.logo{
    font-weight: 700;
    font-size: 2.5em;
    text-decoration: none;
    display: flex;
    align-items: center;
    text-align: right;
}

.navigation{
    list-style: none;
    display: flex;
    justify-content: space-around;
    gap: 30px;
    align-items: center;
}

.navigation li{
    text-align: center;
    align-items: center;
}

.navigation li a{
    max-width: initial;
    text-decoration: none;
    min-width: 100%;
    padding: 10px 20px;
    border-radius: 40px;
    font-size: 1.3em;
    text-align: center;
}

.navigation li a:hover, .navigation li a#active{
    background-color: var(--bg-color-light);
    color: var(--accent-color);
}

.cube{
    position: relative;
    min-width: 30px;
    top: 0;
    left: 10px;
    width: var(--cube-width);
    height: var(--cube-height);
    transform-style: preserve-3d;
    animation: cubeSpin 4s linear infinite;
}

@keyframes cubeSpin {
    0% {
        transform: rotateX(var(--cube-tilt)) rotateY(0deg);
    }
    100% {
        transform: rotateX(var(--cube-tilt)) rotateY(360deg);
    }
}

.cube div{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
}

.cube div .side{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, var(--bg-color) 1%, var(--accent-color) 100%);
    transform: rotateY(calc(90deg * var(--i))) translateZ(calc(var(--cube-width)/2 - var(--cube-width)/100));
}

.top{
    position: absolute;
    top: 0;
    left: 0;
    width: 30px;
    height: 30px;
    background: var(--bg-color-light);
    transform: rotateX(90deg) translateZ(13.7px);
}

.top::before{
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: var(--cube-width);
    height: var(--cube-height);
    background: var(--accent-color);
    transform: translateZ(calc(var(--cube-width)*-1.2));
    filter: blur(calc(var(--cube-width)/10));
}

button{
    position: fixed;
    width: 50px;
    height: 50px;
    bottom: 20px;
    right: 30px;
    z-index: 1100;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(147,40,47,1) 0%, rgba(202,62,71,1) 50%, rgba(218,122,128,1) 100%);
    color: var(--bg-color);
    font-weight: 700;
    font-size: 2em;
    border: none;
}



/* All the shit on the main thing below */



.aboutMe{
    position: absolute;
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    display: block;
    justify-items: center;
    align-items: center;
    top: 92px;
    width: 100%;
    height: fit-content;
    background: var(--bg-color-light);
}

.aboutMe h1{
    padding-top: 10px;
    padding-bottom: 10px;
    height: fit-content;
    text-align: center;
    color: snow;
}

.aboutMe .resume{
    width: 100%;
    max-width: 1000px;
    position: relative;
    margin: 50px;
    margin-left: auto;
    margin-right: auto;
    margin-top: 20px;
    box-shadow: 0 50px 75px rgba(255, 255, 255, 0.1);
    border-left: 50px solid var(--bg-color-light);
    font-family: Ubuntu;
}

.aboutMe .resume .topForm{
    position: relative;
    display: grid;
    grid-template-columns: 1fr 2fr;
    padding: 40px;
}

.aboutMe .resume .topForm .imageBox{
    padding-right: 40px;
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
    padding-bottom: 0;
    height: 100%;
}

.aboutMe .resume .topForm .imageBox .box{
    position: relative;
    width: 70%;
    min-width: 200px;
    border-radius: 50%;
    overflow: hidden;
    aspect-ratio: 1;
}

.aboutMe .resume .topForm .imageBox .box img{
    position: absolute;
    width: 75%;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.aboutMe .resume .desc{
    position: relative;
    display: flex;
    align-items: center;
}

.aboutMe .resume .desc h3{
    font-size: 3em;
    letter-spacing: 0.1em;
}

.aboutMe .resume .desc h3 span{
    font-weight: 300;
    font-size: 0.5em;
}

.aboutMe .contentBox{
    position: relative;
    min-height: 500px;
    display: grid;
    grid-template-columns: 1fr 2fr;
    padding: 0 40px 40px;
}

.aboutMe .contentBox h3{
    border-left: 5px solid var(--accent-color);
    padding-left: 10px;
    line-height: 1em;
    letter-spacing: 0.2em;
    margin-top: 40px;
    margin-bottom: 20px;
}

.aboutMe .contentBox ul{
    position: relative;
    margin: 10px 0;
}

.aboutMe .contentBox ul li{
    list-style: none;
    line-height: 1em;
    margin-bottom: 10px;
}

.aboutMe .contentBox h5{
    color: var(--accent-color);

}

.aboutMe .contentBox ul li h4{
    color: snow;
    font-weight: 500;
    margin: 5px 0;
}

.aboutMe .contentBox ul li h6{
    color: snow;
    font-weight: 300;
    font-size: 1em;
}

.lang li{
    flex-direction: column;
}

.lang li span{
    color: snow;
    font-size: 16px;
    font-weight: 500;
}

.lang .percentage{
    display: block;
    position: relative;
    background: var(--bg-color);
    width: 100%;
    height: 6px;
    margin-top: 15px;
    overflow: hidden;
    margin-bottom: 15px;
}

.lang .percentage div{
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    background: var(--accent-color);
}

.resume .contentBox ul.interests{
    display: grid;
    position: relative;
    grid-template-columns: 1fr 1fr;
}

.resume .contentBox .rightSide{
    margin-left: 40px;
}

.resume .contentBox .rightSide .about ul li p{
    line-height: 1.5em;
    font-weight: 300;
}
.resume .contentBox .rightSide .box{
    display: flex;
    flex-direction: row;
    margin: 20px 0;
}

.resume .contentBox .rightSide .box .loc{
    min-width: 150px;
}

.resume .contentBox .rightSide .box .loc .name{
    color: snow;
}

.aboutSkills .box{
    position: relative;
    width: 100%;
    display: grid;
    grid-template-columns: 150px 150px;
    justify-content: space-around;
    align-items: center;
}

.aboutSkills .box h4{
    color: snow;
    font-weight: 500;
    margin-bottom: 5px;
    padding-right: 40px;
    width: 200px;
}

.aboutSkills .box .percentage{
    position: relative;
    width: 100%;
    height: 100%;
    background: var(--bg-color);
    display: block;
    height: 6px;
    margin-top: 15px;
    overflow: hidden;
    margin-bottom: 15px;
}

.aboutSkills .box .percentage div{
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    background: var(--accent-color);
}



/*  */



.projects{
    position: absolute;
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    display: block;
    justify-items: center;
    align-items: center;
    top: 1667px;
    width: 100%;
    height: 112%;
    background: var(--bg-color);
}

.projects h1{
    padding-top: 10px;
    padding-bottom: 10px;
    height: fit-content;
    text-align: center;
    color: snow;
}

.projects div{
    width: 100%;
    height: 33vh;
    margin: 25px 0;
    display: grid;
    grid-template-columns: 33% 66%;
    justify-items: left;
}

.projects div img{
    height: 100%;
    width: 100%;
    padding-bottom: 40px;
}

.projects div .textBox{
    display: inline-block;
    align-content: center;
    margin: 0;
    padding-left: 75px;
    padding-right: 20%;
}

.projects div .textBox h1{
    font-size: 2.5em;
    font-weight: 700;
    width: fit-content;
    position: relative;
    margin: 0 0 10px 0;
    padding: 0;
    top: 0;
    left: 0;
}

.projects div .textBox span{
    font-size: 1.5em;
    font-weight: 300;
}

.projects div .textBox .right{
    position: relative;
    top: calc(33%+109px);
}





























/* Local font import
    --Ubuntu
*/


/*Ubuntu font import*/
/* ubuntu-300 - latin */
@font-face {
    font-family: 'Ubuntu';
    font-style: normal;
    font-weight: 300;
    src: url('../fonts/ubuntu/ubuntu-v20-latin-300.eot'); /* IE9 Compat Modes */
    src: local(''),
         url('../fonts/ubuntu/ubuntu-v20-latin-300.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
         url('../fonts/ubuntu/ubuntu-v20-latin-300.woff2') format('woff2'), /* Super Modern Browsers */
         url('../fonts/ubuntu/ubuntu-v20-latin-300.woff') format('woff'), /* Modern Browsers */
         url('../fonts/ubuntu/ubuntu-v20-latin-300.ttf') format('truetype'), /* Safari, Android, iOS */
         url('../fonts/ubuntu/ubuntu-v20-latin-300.svg#Ubuntu') format('svg'); /* Legacy iOS */
  }
  /* ubuntu-300italic - latin */
  @font-face {
    font-family: 'Ubuntu';
    font-style: italic;
    font-weight: 300;
    src: url('../fonts/ubuntu/ubuntu-v20-latin-300italic.eot'); /* IE9 Compat Modes */
    src: local(''),
         url('../fonts/ubuntu/ubuntu-v20-latin-300italic.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
         url('../fonts/ubuntu/ubuntu-v20-latin-300italic.woff2') format('woff2'), /* Super Modern Browsers */
         url('../fonts/ubuntu/ubuntu-v20-latin-300italic.woff') format('woff'), /* Modern Browsers */
         url('../fonts/ubuntu/ubuntu-v20-latin-300italic.ttf') format('truetype'), /* Safari, Android, iOS */
         url('../fonts/ubuntu/ubuntu-v20-latin-300italic.svg#Ubuntu') format('svg'); /* Legacy iOS */
  }
  /* ubuntu-italic - latin */
  @font-face {
    font-family: 'Ubuntu';
    font-style: italic;
    font-weight: 400;
    src: url('../fonts/ubuntu/ubuntu-v20-latin-italic.eot'); /* IE9 Compat Modes */
    src: local(''),
         url('../fonts/ubuntu/ubuntu-v20-latin-italic.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
         url('../fonts/ubuntu/ubuntu-v20-latin-italic.woff2') format('woff2'), /* Super Modern Browsers */
         url('../fonts/ubuntu/ubuntu-v20-latin-italic.woff') format('woff'), /* Modern Browsers */
         url('../fonts/ubuntu/ubuntu-v20-latin-italic.ttf') format('truetype'), /* Safari, Android, iOS */
         url('../fonts/ubuntu/ubuntu-v20-latin-italic.svg#Ubuntu') format('svg'); /* Legacy iOS */
  }
  /* ubuntu-regular - latin */
  @font-face {
    font-family: 'Ubuntu';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/ubuntu/ubuntu-v20-latin-regular.eot'); /* IE9 Compat Modes */
    src: local(''),
         url('../fonts/ubuntu/ubuntu-v20-latin-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
         url('../fonts/ubuntu/ubuntu-v20-latin-regular.woff2') format('woff2'), /* Super Modern Browsers */
         url('../fonts/ubuntu/ubuntu-v20-latin-regular.woff') format('woff'), /* Modern Browsers */
         url('../fonts/ubuntu/ubuntu-v20-latin-regular.ttf') format('truetype'), /* Safari, Android, iOS */
         url('../fonts/ubuntu/ubuntu-v20-latin-regular.svg#Ubuntu') format('svg'); /* Legacy iOS */
  }
  /* ubuntu-500italic - latin */
  @font-face {
    font-family: 'Ubuntu';
    font-style: italic;
    font-weight: 500;
    src: url('../fonts/ubuntu/ubuntu-v20-latin-500italic.eot'); /* IE9 Compat Modes */
    src: local(''),
         url('../fonts/ubuntu/ubuntu-v20-latin-500italic.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
         url('../fonts/ubuntu/ubuntu-v20-latin-500italic.woff2') format('woff2'), /* Super Modern Browsers */
         url('../fonts/ubuntu/ubuntu-v20-latin-500italic.woff') format('woff'), /* Modern Browsers */
         url('../fonts/ubuntu/ubuntu-v20-latin-500italic.ttf') format('truetype'), /* Safari, Android, iOS */
         url('../fonts/ubuntu/ubuntu-v20-latin-500italic.svg#Ubuntu') format('svg'); /* Legacy iOS */
  }
  /* ubuntu-500 - latin */
  @font-face {
    font-family: 'Ubuntu';
    font-style: normal;
    font-weight: 500;
    src: url('../fonts/ubuntu/ubuntu-v20-latin-500.eot'); /* IE9 Compat Modes */
    src: local(''),
         url('../fonts/ubuntu/ubuntu-v20-latin-500.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
         url('../fonts/ubuntu/ubuntu-v20-latin-500.woff2') format('woff2'), /* Super Modern Browsers */
         url('../fonts/ubuntu/ubuntu-v20-latin-500.woff') format('woff'), /* Modern Browsers */
         url('../fonts/ubuntu/ubuntu-v20-latin-500.ttf') format('truetype'), /* Safari, Android, iOS */
         url('../fonts/ubuntu/ubuntu-v20-latin-500.svg#Ubuntu') format('svg'); /* Legacy iOS */
  }
  /* ubuntu-700 - latin */
  @font-face {
    font-family: 'Ubuntu';
    font-style: normal;
    font-weight: 700;
    src: url('../fonts/ubuntu/ubuntu-v20-latin-700.eot'); /* IE9 Compat Modes */
    src: local(''),
         url('../fonts/ubuntu/ubuntu-v20-latin-700.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
         url('../fonts/ubuntu/ubuntu-v20-latin-700.woff2') format('woff2'), /* Super Modern Browsers */
         url('../fonts/ubuntu/ubuntu-v20-latin-700.woff') format('woff'), /* Modern Browsers */
         url('../fonts/ubuntu/ubuntu-v20-latin-700.ttf') format('truetype'), /* Safari, Android, iOS */
         url('../fonts/ubuntu/ubuntu-v20-latin-700.svg#Ubuntu') format('svg'); /* Legacy iOS */
  }
  /* ubuntu-700italic - latin */
  @font-face {
    font-family: 'Ubuntu';
    font-style: italic;
    font-weight: 700;
    src: url('../fonts/ubuntu/ubuntu-v20-latin-700italic.eot'); /* IE9 Compat Modes */
    src: local(''),
         url('../fonts/ubuntu/ubuntu-v20-latin-700italic.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
         url('../fonts/ubuntu/ubuntu-v20-latin-700italic.woff2') format('woff2'), /* Super Modern Browsers */
         url('../fonts/ubuntu/ubuntu-v20-latin-700italic.woff') format('woff'), /* Modern Browsers */
         url('../fonts/ubuntu/ubuntu-v20-latin-700italic.ttf') format('truetype'), /* Safari, Android, iOS */
         url('../fonts/ubuntu/ubuntu-v20-latin-700italic.svg#Ubuntu') format('svg'); /* Legacy iOS */
  }