@font-face {
    font-family: HammersmithOne;
    src: url("../fonts/HammersmithOne-Regular.ttf");
  font-display: swap;
}

@font-face {
    font-family: SourceSansPro;
    src: url("../fonts/SourceSansPro-Regular.ttf");
  font-display: swap;
}

::-webkit-scrollbar {
    width: 12px;
    height: 12px;
  }
  
  ::-webkit-scrollbar-button {
    width: 0;
    height: 0;
  }
  
  ::-webkit-scrollbar-thumb {
    background: #595959;
    border: 0 none #fff;
  }
  
  ::-webkit-scrollbar-thumb:hover {
    background: #454545;
  }
  
  ::-webkit-scrollbar-thumb:active {
    background: #454545;
  }
  
  ::-webkit-scrollbar-track {
    background: #333;
    border: 0 none #fff;
  }
  
  ::-webkit-scrollbar-track:hover {
    background: #333;
  }
  
  ::-webkit-scrollbar-track:active {
    background: #333;
  }
  
  ::-webkit-scrollbar-corner {
    background: transparent;
  }

html,body{
    margin: 0;
    padding: 0;
    height: 100%;
    width: 100%;
    background-color: #1B1B1B;
    font-family: HammersmithOne, Verdana, Geneva, Tahoma, sans-serif;
    scroll-behavior: smooth;
}

.svgHolder{
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    align-content: center;
    justify-content: center;
    align-items: center;
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    z-index: 2;
}

.nameImage{
    width: 100%;
    height: auto;
}

.svgMyName{
    -webkit-animation: svgFadeIn 2s linear 0.5s 1 forwards;
            animation: svgFadeIn 2s linear 0.5s 1 forwards;
}

.svgWebDev{
    -webkit-animation: svgFadeIn 2s linear 1.5s 1 forwards;
            animation: svgFadeIn 2s linear 1.5s 1 forwards;
}

.opacityZero{
    opacity: 0;
}

nav{
    z-index: 3;
    position: absolute;
    top: 0;
    right: 0;
    width: auto;
    height: auto;
}

.screwed{
    -webkit-transform: rotate3d(1, -1, 0, 90deg);
            transform: rotate3d(1, -1, 0, 90deg);
}

.screwedMirror{
    -webkit-transform: rotate3d(-1, -1, 0, 90deg);
            transform: rotate3d(-1, -1, 0, 90deg);
}

.navHolder{
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    color: #8C8C8C;
    position: absolute;
    top: 0;
    right: 0;
    padding: 5px;
}

.link{
    font-family: SourceSansPro;
    top: 0px;
    position: relative;
    margin: 5px;
    padding: 5px 20px;
    border-radius: 20px;
    -webkit-transition: top 0.5s ease, background-color 0.3s ease;
    -o-transition: top 0.5s ease, background-color 0.3s ease;
    transition: top 0.5s ease, background-color 0.3s ease;
    width: -webkit-max-content;
    width: -moz-max-content;
    width: max-content;
}

.link:hover{
    background-color: rgba(255, 255, 255, 0.1);
    cursor: pointer;
    color: #c0c0c0;
}

a.contactA, a.contactA:hover, a.contactA:focus, a.contactA:active {
    text-decoration: none;
}

a.link, a.link:hover, a.link:focus, a.link:active {
    text-decoration: none;
    color: inherit;
}

.linkText{
    font-size: 22px;
    padding-bottom: 5px;
    -webkit-user-select: none;
       -moz-user-select: none;
        -ms-user-select: none;
            user-select: none;
}

.vl{
    border-left: 4px solid #8C8C8C;
    margin: 10px;
    position: relative;
    -webkit-transition: top 0.5s ease;
    -o-transition: top 0.5s ease;
    transition: top 0.5s ease;
    top: 0px;
}

.active{
    color: #DCDCDC;
    border-bottom: 3px solid #DCDCDC;
}

.toSlide{
    top: -100px;
}

.contactHolder{
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    position: absolute;
    -ms-flex-wrap: nowrap;
        flex-wrap: nowrap;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    -ms-flex-line-pack: center;
        align-content: center;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    width: 100%;
    height: 100%;
    color: white;
    
}

.contactH1{
    -webkit-user-select: none;
       -moz-user-select: none;
        -ms-user-select: none;
            user-select: none;
    font-size: clamp(30px,10vw,60px);
    margin: 10px;
    color: white;
    font-weight: unset;
}

.contactH2{
    font-weight: unset;
    margin: 10px;
    font-size: clamp(20px,7vw,26px);
    color: #8C8C8C;
    /*-webkit-user-select: none;
       -moz-user-select: none;
        -ms-user-select: none;
            user-select: none;*/
    -webkit-user-select: text;
       -moz-user-select: text;
        -ms-user-select: text;
            user-select: text;
    cursor: default;
}

.contactA{
    font-family: SourceSansPro;
    color: white;
    -webkit-user-select: text;
       -moz-user-select: text;
        -ms-user-select: text;
            user-select: text;
    cursor: pointer;
}

.contactP{
    font-family: SourceSansPro;
    color: #c0c0c0;
    font-size: clamp(20px,10vw,25px);
    text-shadow: #1B1B1B 0px 0px 1px;
    white-space: pre-line;
    margin: 10px;
    cursor: default;
}

.textCenter{
    text-align: center;
}

.textRight{
    text-align: right;
}

.textLeft{
    text-align: left;
}

.toast{
    position: fixed;
    background-color: rgba(255, 255, 255, 0.7);
    bottom: 10px;
    border-radius: 20px;
    padding: 15px;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
        -ms-transform: translate(-50%, -50%);
            transform: translate(-50%, -50%);
    font-size: 16px;
    -webkit-transition: opacity 1s;
    -o-transition: opacity 1s;
    transition: opacity 1s;
    opacity: 0;
    -webkit-user-select: none;
       -moz-user-select: none;
        -ms-user-select: none;
            user-select: none;
    -webkit-animation: toastAnimation 3s linear 1 forwards;
            animation: toastAnimation 3s linear 1 forwards;
}

@-webkit-keyframes toastAnimation {
    0%{ opacity: 0;}
    10%{ opacity: 1;}
    80%{ opacity: 1;}
    100%{ opacity: 0;}
}

@keyframes toastAnimation {
    0%{ opacity: 0;}
    10%{ opacity: 1;}
    80%{ opacity: 1;}
    100%{ opacity: 0;}
}

::-moz-selection{
    background-color:#8C8C8C;
    color: #1B1B1B;
}

::selection{
    background-color:#8C8C8C;
    color: #1B1B1B;
}

.menuButton{
    display: none;
}


.loader {
    border-width: 16px;
    border-color: #405d23 #303030;
    border-radius: 50%;
    width: 120px;
    height: 120px;
    -webkit-animation: spinner 1s linear infinite; /* Safari */
    animation: spinner 1s linear infinite;
    border-style: solid dashed;
}
    
    /* Safari */
@-webkit-keyframes spinner {
    0% { -webkit-transform: rotate(0deg); }
    100% { -webkit-transform: rotate(360deg); }
}
    
@keyframes spinner {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}


/*@media screen and ((orientation:portrait) and  (max-width:1000px)), ((orientation:portrait) and (max-height:500px)), ((orientation:landscape) and (max-height:500px)), ((orientation:landscape) and (max-width:500px)){
*/

@media screen and (orientation:portrait), (max-width:1120px), (max-height:500px){
.vl{
        display: none;
    }

    .svgRandom{
        display: none;
    }

    /*.svgHolder{
        display: block;
    }*/
    .navHolder{
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
            -ms-flex-direction: column;
                flex-direction: column;
        -webkit-box-align: center;
            -ms-flex-align: center;
                align-items: center;
        width: calc(100% - 10px);
        height: calc(100% - 10px);
        position: fixed;
        -webkit-box-pack: center;
            -ms-flex-pack: center;
                justify-content: center;
        z-index: 9;
        top: -100%;
        background-color: #1B1B1B;
        -webkit-transition: top 0.5s ease;
        -o-transition: top 0.5s ease;
        transition: top 0.5s ease;
    }

    .link{
        -webkit-transition: right 0.5s ease, background-color 0.3s ease;
        -o-transition: right 0.5s ease, background-color 0.3s ease;
        transition: right 0.5s ease, background-color 0.3s ease;
        right: 0;
    }

    .linkText{
        font-size: 5vw;
    }

    .toSlide{
        top: unset;
    }

    .svgMyName, .svgWebDev{
        /*scale: 1.4;*/
        transform: scale(1.4);
        -webkit-transform-origin: center;
            -ms-transform-origin: center;
                transform-origin: center;
    }

    .menuButton{
        display: block;
        position: fixed;
        top: 0;
        right: 0;
        z-index: 10;
        padding: 10px;
        background-color: #333;
        width: 40px;
        height: 40px;
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
            -ms-flex-direction: column;
                flex-direction: column;
        border-radius: 0 0 0 30px;
        -webkit-box-align: end;
            -ms-flex-align: end;
                align-items: flex-end;
        -webkit-box-pack: start;
            -ms-flex-pack: start;
                justify-content: flex-start;
    }

    .openMenu{
        top: 0;
    }

    .coverPhoto > .loader{
        margin: auto;
    }

    .loader{
        margin-top: auto;
        margin-bottom: auto;
    }
}