* {
    padding: 0;
    margin: 0;
    scroll-behavior: smooth;
}

body {
    padding: 0;
    margin: 0;
    background-color: rgb(30, 30, 30);
    overflow-x: hidden;
}

.codeVideo{
    padding: 0;
    margin: 0;
    min-width: 100vw;
    min-height: 400vh;
    background-position: top;
    background-repeat: no-repeat;
    background-size: cover;
    z-index: -1;
    position: absolute;
    opacity: 0.3;
}

.scroll-top {
    visibility: hidden;
    z-index: 1000;
    height: 60px;
    width: 60px;
    background-color: rgb(200, 200, 200);
    position: fixed;
    bottom: 10px;
    right: 10px;
    cursor: pointer;
    border-radius: 6px;
    -webkit-box-shadow: 0px 0px 20px -3px rgb(80, 80, 80);
    -moz-box-shadow: 0px 0px 20px -3px rgb(80, 80, 80);
    box-shadow: 0px 0px 20px -3px rgb(80, 80, 80);
    transform: scale(0.9);
    transition: 0.3s ease-in-out transform;
    display: flex;
    align-items: center;
    justify-content: center;
}

.active {
    visibility: visible;
    opacity: 0;
    -webkit-animation: fadein 2s;
    -moz-animation: fadein 2s;
    -ms-animation: fadein 2s;
    -o-animation: fadein 2s;
    animation: fadein 2s;
    -webkit-animation-fill-mode: forwards;
    animation-fill-mode: forwards;
    -webkit-animation-duration: 1s;
    animation-duration: 2s;
}

.scroll-top:hover {
    transform: scale(1);
}
.scroll-top svg {
    width: 50%;
    color: black;
    pointer-events: none;
}

header{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: 0.6s;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2;

    height: 0;
    -webkit-animation: dropin 1s;
    -moz-animation: dropin 1s;
    -ms-animation: dropin 1s;
    -o-animation: dropin 1s;
    animation: dropin 1s;
    -webkit-animation-fill-mode: forwards;
    animation-fill-mode: forwards;
    -webkit-animation-duration: 1s;
    animation-duration: 1s;
}

@keyframes dropin {
    from { height: 0; }
    to   { height: 15%; }
}

header.sticky {
    background: rgb(40, 40, 40);
    height: 15%;
    
    -webkit-animation: slideup 2s;
    -moz-animation: slideup 2s;
    -ms-animation: slideup 2s;
    -o-animation: slideup 2s;
    animation: slideup 2s;
    -webkit-animation-fill-mode: forwards;
    animation-fill-mode: forwards;
    -webkit-animation-duration: 1s;
    animation-duration: 1s;
}

@keyframes slideup {
    from { height: 15%; }
    to   { height: 5%; }
}

header ul {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

header ul li {
    position: relative;
    list-style: none;
}

header ul li a {
    position: relative;
    margin: 0 15px;
    text-decoration: none;
    color: #fff;
    letter-spacing: 2px;
    font-weight: 500px;
    transition: .5s;
    font-family: Arial;
}

.main {
    height: 100vh;
    width: 100vw;
    display: flex;
    justify-content: center;
    align-items: center;
}

.main-container {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
}

.main-text {
    text-align: center;
    color: rgb(250, 250, 250);
    font-family: Arial;

    opacity: 0;
    -webkit-animation: fadein 2s;
    -moz-animation: fadein 2s;
    -ms-animation: fadein 2s;
    -o-animation: fadein 2s;
    animation: fadein 2s;
    -webkit-animation-fill-mode: forwards;
    animation-fill-mode: forwards;
    -webkit-animation-duration: 1s;
    animation-duration: 2s;
}

@keyframes fadein {
    from { opacity: 0; }
    to   { opacity: 1; }
}

@-moz-keyframes fadein {
    from { opacity: 0; }
    to   { opacity: 1; }
}

@-webkit-keyframes fadein {
    from { opacity: 0; }
    to   { opacity: 1; }
}

@-ms-keyframes fadein {
    from { opacity: 0; }
    to   { opacity: 1; }
}

@-o-keyframes fadein {
    from { opacity: 0; }
    to   { opacity: 1; }
}

.name {
    font-size: 100px;
}

.title {
    font-size: 45px;
}

.text-1 {
    -webkit-animation-delay: .5s;
    animation-delay: .5s;
    margin-top: 200px;
    font-size: 35px;
}

.text-2 {
    z-index: -1;
    -webkit-animation-delay: 1.2s;
    animation-delay: 1.2s;
    font-size: 20px;
}

.logo-container{
    background-color: rgb(0, 0, 0);
    height: 120px;
    border-radius: 25px;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    -webkit-box-shadow: 0px 0px 10px -3px rgb(80, 80, 80);
    -moz-box-shadow: 0px 0px 10px -3px rgb(80, 80, 80);
    box-shadow: 0px 0px 10px -3px rgb(80, 80, 80);
    opacity: 0;
    -webkit-animation: fadein 2s;
    -moz-animation: fadein 2s;
    -ms-animation: fadein 2s;
    -o-animation: fadein 2s;
    animation: fadein 2s;
    -webkit-animation-fill-mode: forwards;
    animation-fill-mode: forwards;
    -webkit-animation-duration: 1s;
    animation-duration: 2s;
}


.logo {
    margin: 5px;
    margin-left: 10px;
    margin-right: 10px;
    transition: transform .4s;
    position: relative;
}

.logo:hover {
    -ms-transform: scale(1.2);
    -webkit-transform: scale(1.2);
    transform: scale(1.2); 
    cursor: pointer;
}

#java {
    background: url('./content/java.png');
    background-size: 75px 85px;
    width: 75px;
    height: 85px;
}

#hibernate {
    background: url('./content/hibernate.png');
    background-size: 75px 80px;
    width: 75px;
    height: 80px;
}

#spring {
    background: url('./content/spring.png');
    background-size: 80px 80px;
    width: 80px;
    height: 80px; 
}

#sql {
    background: url('./content/sql.png');
    background-size: 75px 80px;
    width: 75px;
    height: 80px; 
}

#html {
    background: url('./content/html.png');
    background-size: 80px 80px;
    width: 80px;
    height: 80px; 
}

#css {
    background: url('./content/css.png');
    background-size: 80px 80px;
    width: 80px;
    height: 80px; 
}

#js {
    background: url('./content/js.png');
    background-size: 75px 75px;
    width: 75px;
    height: 75px; 
}

#react {
    background: url('./content/react.png');
    background-size: 90px 80px;
    width: 90px;
    height: 80px; 
}

#Csharp {
    background: url('./content/Csharp.png');
    background-size: 75px 80px;
    width: 75px;
    height: 80px; 
}
  
.logo .tooltiptext {
    visibility: hidden;
    cursor: default;
    width: 120px;
    background-color: rgb(20, 20, 20);
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 5px 0;
    position: absolute;
    z-index: 1000;
    top: 110%;
    left: 50%;
    margin-left: -60px;
    font-family: Arial;
}
  
.logo .tooltiptext::after {
    content: "";
    position: absolute;
    bottom: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: transparent transparent rgb(20, 20, 20) transparent;
}
  
.logo:hover .tooltiptext {
    visibility: visible;
}

.about {
    height: 100vh;
    width: 100vw;
    /* background-color: rgb(30, 30, 30); */
}

.info-1 {
    display: grid; 
    grid-template-columns: 0.6fr 1.4fr; 
    grid-template-rows: 1fr; 
    grid-template-areas: "me-1 p-1"; 
    height: 40%;
    width: 80%;
    gap: 0px 40px;
    margin: 5%;
    position: absolute;
    top: 100%;
    margin-left: 10%;
    margin-right: 10%;
}

.me-1 {
    background: url('./content/me_1.jpg');
    background-size: 400px 400px;
    background-position: right;
    background-repeat: no-repeat;
    width: 350px;
    height: 350px;
    justify-self: center; 
    align-self: center; 
    grid-area: me-1; 
    transform: translateX(-50%);
    border-radius: 10px;
}

.p-1 {
    font-size: 30px;
    color: white;
    justify-self: center; 
    align-self: center; 
    grid-area: p-1; 
    font-family: Arial;
    transform: translateX(50%);
}

.me-1, .p-1 {
    transition: opacity 600ms ease-in, transform 600ms ease-in;
    opacity: 0;
}

.me-1.appear, .p-1.appear {
    transform: translateX(0);
    opacity: 1;
}

.info-2 {
    display: grid; 
    grid-template-columns: 1.4fr 0.6fr; 
    grid-template-rows: 1fr; 
    grid-template-areas: "p-2 me-2"; 
    height: 40%;
    width: 80%;
    gap: 0px 40px;
    margin: 5%;
    top: 145%;

    position: absolute;
    margin-left: 10%;
    margin-right: 10%;
}

.me-2 {
    background: url('./content/me_2.jpg');
    background-size: 350px 350px;
    width: 350px;
    height: 350px;
    justify-self: center; 
    align-self: center; 
    grid-area: me-2;
    transform: translateX(50%);
    border-radius: 10px;

}

.p-2 {
    font-size: 30px;
    color: white;
    justify-self: center; 
    align-self: center; 
    grid-area: p-2; 
    text-align: right;
    font-family: Arial;
    transform: translateX(-50%);
}

.me-2, .p-2 {
    transition: opacity 400ms ease-in, transform 600ms ease-in;
    opacity: 0;
}

.me-2.appear, .p-2.appear {
    transform: translateX(0);
    opacity: 1;
}

.work {
    height: 100vh;
    width: 100vw;
    display: flex;
    justify-content: center;
    align-items: center;
    /* background-color: rgb(30, 30, 30); */
}

.work-container {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    text-align: center;
    font-family: Arial;
}

.company-logo {
    background: url('./content/bieszczad-ski.jpg');
    background-size: 50vw 350px;
    width: 50vw;
    height: 350px;
    left: 25vw;
    position: relative;
    -webkit-box-shadow: 0px 0px 60px -3px rgb(80, 80, 80);
    -moz-box-shadow: 0px 0px 60px -3px rgb(80, 80, 80);
    box-shadow: 0px 0px 60px -3px rgb(80, 80, 80);
}

.work-container a {
    font-size: 5vw;
    width: 45vw;
    position: relative;
    left: 27.5vw;
    color: rgb(250, 250, 250);
    margin-top: 20px;
    text-decoration: none;
    -webkit-animation: glow 1s ease-in-out infinite alternate;
    -moz-animation: glow 1s ease-in-out infinite alternate;
    animation: glow 1s ease-in-out infinite alternate;
}

@keyframes glow {
    from {
      text-shadow: 0 0 0px #ffffff, 0 0 1px #eff6ff, 0 0 2px #bad5ff, 0 0 3px #80bbff, 0 0 4px #4696ff, 0 0 5px #0036ca, 0 0 6px #0036ca;
    }
    
    to {
      text-shadow: 0 0 0 0 #ffffff, 0 0 1px #eff6ff, 0 0 2px #bad5ff, 0 0 3px #80bbff, 0 0 4px #4696ff, 0 0 5px #0036ca, 0 0 6px #0036ca;
    }
}

  @-moz-keyframes  glow {
    from {
      text-shadow: 0 0 0px #ffffff, 0 0 1px #eff6ff, 0 0 2px #bad5ff, 0 0 3px #80bbff, 0 0 4px #4696ff, 0 0 5px #0036ca, 0 0 6px #0036ca;
    }
    
    to {
      text-shadow: 0 0 0 0 #ffffff, 0 0 1px #eff6ff, 0 0 2px #bad5ff, 0 0 3px #80bbff, 0 0 4px #4696ff, 0 0 5px #0036ca, 0 0 6px #0036ca;
    }
}

@-webkit-keyframes glow {
    from {
      text-shadow: 0 0 0px #ffffff, 0 0 1px #eff6ff, 0 0 2px #bad5ff, 0 0 3px #80bbff, 0 0 4px #4696ff, 0 0 5px #0036ca, 0 0 6px #0036ca;
    }
    
    to {
      text-shadow: 0 0 0 0 #ffffff, 0 0 1px #eff6ff, 0 0 2px #bad5ff, 0 0 3px #80bbff, 0 0 4px #4696ff, 0 0 5px #0036ca, 0 0 6px #0036ca;
    }
}
  
@-ms-keyframes glow {
    from {
      text-shadow: 0 0 0px #ffffff, 0 0 1px #eff6ff, 0 0 2px #bad5ff, 0 0 3px #80bbff, 0 0 4px #4696ff, 0 0 5px #0036ca, 0 0 6px #0036ca;
    }
    
    to {
      text-shadow: 0 0 0 0 #ffffff, 0 0 1px #eff6ff, 0 0 2px #bad5ff, 0 0 3px #80bbff, 0 0 4px #4696ff, 0 0 5px #0036ca, 0 0 6px #0036ca;
    }
}

@-o-keyframes glow {
    from {
      text-shadow: 0 0 0px #ffffff, 0 0 1px #eff6ff, 0 0 2px #bad5ff, 0 0 3px #80bbff, 0 0 4px #4696ff, 0 0 5px #0036ca, 0 0 6px #0036ca;
    }
    
    to {
      text-shadow: 0 0 0 0 #ffffff, 0 0 1px #eff6ff, 0 0 2px #bad5ff, 0 0 3px #80bbff, 0 0 4px #4696ff, 0 0 5px #0036ca, 0 0 6px #0036ca;
    }
}

.description {
    font-size: 20px;
    color: rgb(250, 250, 250);
    margin-top: 20px;
    margin-left: 4%;
    margin-right: 4%;
}

.company-logo, .link, .description {
    transition: opacity 400ms ease-in;
    opacity: 0;
}

.company-logo.faded, .link.faded, .description.faded {
    transition: opacity 400ms ease-in;
    opacity: 1;
}

.contact {
    height: 100vh;
    width: 100vw;
    display: flex;
    justify-content: center;
    align-items: center;
    /* background-color: rgb(30, 30, 30); */
}

.github {
    margin-right: 200px;
    cursor: pointer;
    color: gray;
    transition: transform .5s ease-in-out;
}

#github-hover {
    text-decoration: none;
    color: gray;
}

#github-hover:hover {
    color: black;
}

.mail {
    display: grid;
    text-align: center;
    cursor: pointer;
    color: gray;
    font-size: 50px;
    cursor: text;
    font-family: Arial;
    transition: transform .5s ease-in-out;
}

.mail:hover {
    color: white;
}

#mail-hover {
    text-decoration: none;
    color: white;
    font-size: 80px;
    cursor: default;
}

.linkedin {
    margin-left: 200px;
    cursor: pointer;
    color: gray;
    transition: transform .5s ease-in-out;
}

#linkedin-hover {
    text-decoration: none;
    color: gray;
}

#linkedin-hover:hover {
    color: #0177B5;
}

.github:hover, .linkedin:hover {
    -ms-transform: scale(1.5);
    -webkit-transform: scale(1.5);
    transform: scale(1.5); 
}

@media only screen and (max-width: 1200px) {
.p-1 {
    font-size: 25px;
}

.p-2 {
    font-size: 25px;
}
}

@media only screen and (max-width: 1000px) {
.logo-container{
    height: 110px;
}

#java {
    background-size: 60px 75px;
    width: 60px;
    height: 75px;
}
#hibernate {
    background-size: 65px 70px;
    width: 65px;
    height: 70px;
}
#spring {
    background-size: 70px 70px;
    width: 70px;
    height: 70px;
}
#sql {
    background-size: 65px 70px;
    width: 65px;
    height: 70px;
}
#html {
    background-size: 70px 70px;
    width: 70px;
    height: 70px;
}
#css {
    background-size: 70px 70px;
    width: 70px;
    height: 70px;
}
#js {
    background-size: 65px 65px;
    width: 65px;
    height: 65px;
}
#react {
    background-size: 80px 70px;
    width: 80px;
    height: 70px;
}
#Csharp {
    background-size: 65px 70px;
    width: 65px;
    height: 70px;
}

.p-1 {
    font-size: 20px;
}
    
.p-2 {
    font-size: 20px;
}

.company-logo {
    background-size: 65vw 350px;
    width: 65vw;
    height: 350px;
    left: 17.5vw;
}

.github {
    margin-right: 130px;
}

.linkedin {
    margin-left: 130px;
}
}

@media only screen and (max-width: 800px) {
.codeVideo{
    display: none;
}

.name {
    font-size: 80px;
}

.title {
    font-size: 35px;
}

.logo-container{
    height: 100px;
}

#java {
    background-size: 50px 65px;
    width: 50px;
    height: 65px;
}
#hibernate {
    background-size: 55px 60px;
    width: 55px;
    height: 60px;
}
#spring {
    background-size: 60px 60px;
    width: 60px;
    height: 60px;
}
#sql {
    background-size: 55px 60px;
    width: 55px;
    height: 60px;
}
#html {
    background-size: 60px 60px;
    width: 60px;
    height: 60px;
}
#css {
    background-size: 60px 60px;
    width: 60px;
    height: 60px;
}
#js {
    background-size: 55px 55px;
    width: 55px;
    height: 55px;
}
#react {
    background-size: 70px 60px;
    width: 70px;
    height: 60px;
}
#Csharp {
    background-size: 55px 60px;
    width: 55px;
    height: 60px;
}

.me-1 {
    background-size: 300px 300px;
    width: 300px;
    height: 300px;
}

.p-1 {
    font-size: 18px;
}

.info-2 {
    top: 150%;
}

.me-2 {
    background-size: 300px 300px;
    width: 300px;
    height: 300px;
}
        
.p-2 {
    font-size: 18px;
}

.company-logo {
    background-size: 70vw 300px;
    width: 70vw;
    height: 300px;
    left: 15vw;
}

.github {
    margin-right: 110px;
}

#github-hover {
    font-size: 65px;
}

.mail {
    font-size: 45px;
}

#mail-hover {
    font-size: 65px;
}

.linkedin {
    margin-left: 110px;
}

#linkedin-hover {
    font-size: 65px;
}
}

@media only screen and (max-width: 700px) {
.name {
    font-size: 80px;
}

.title {
    font-size: 35px;
}

.logo-container{
    height: 85px;
}

#java {
    background-size: 35px 50px;
    width: 35px;
    height: 50px;
    position: relative;
    z-index: 1000;
}
#hibernate {
    background-size: 40px 45px;
    width: 40px;
    height: 45px;
    position: relative;
    z-index: 1000;
}
#spring {
    background-size: 45px 45px;
    width: 45px;
    height: 45px;
    z-index: 1000;
}
#sql {
    background-size: 40px 45px;
    width: 40px;
    height: 45px;
    position: relative;
    z-index: 999;
}
#html {
    background-size: 45px 45px;
    width: 45px;
    height: 45px;
    position: relative;
    z-index: 999;
}
#css {
    background-size: 45px 45px;
    width: 45px;
    height: 45px;
    z-index: 999;
}
#js {
    background-size: 40px 40px;
    width: 40px;
    height: 40px;
    position: relative;
}
#react {
    background-size: 50px 45px;
    width: 50px;
    height: 45px;
    position: relative;
}
#Csharp {
    background-size: 40px 45px;
    width: 40px;
    height: 45px;
}

.info-1 {
    top: 105%;
}
.me-1 {
    background-size: 250px 250px;
    width: 250px;
    height: 250px;
}
    
.p-1 {
    font-size: 15px;
}
    
.me-2 {
    background-size: 250px 250px;
    width: 250px;
    height: 250px;
}
            
.p-2 {
    font-size: 15px;
}

.company-logo {
    background-size: 70vw 280px;
    height: 280px;
}

.github {
    margin-right: 80px;
}

#github-hover {
    font-size: 60px;
}

.mail {
    font-size: 35px;
}

#mail-hover {
    font-size: 60px;
}

.linkedin {
    margin-left: 80px;
}

#linkedin-hover {
    font-size: 60px;
}
}

@media only screen and (max-width: 550px) {
.logo-container {
    height: 180px;
    display: inline-grid;
    grid-template-columns: 1fr 1fr 1fr;
}

.logo-field {
    display: flex;
    justify-content: center;
    align-items: center;
}

.tooltiptext {
    writing-mode: initial;
}

.me-1 {
    background-size: 220px 220px;
    width: 220px;
    height: 220px;
}
    
.p-1 {
    font-size: 12px;
}
    
.me-2 {
    background-size: 220px 220px;
    width: 220px;
    height: 220px;
}
            
.p-2 {
    font-size: 12px;
}

.company-logo {
    background-size: 75vw 250px;
    width: 75vw;
    height: 250px;
    left: 12.5vw;
}

.work-container a {
    font-size: 7vw;
    width: 60vw;
    left: 20vw;
}

.description {
    font-size: 19px;
}

.github {
    margin-right: 70px;
}

#github-hover {
    font-size: 50px;
}

.mail {
    font-size: 30px;
}

#mail-hover {
    font-size: 50px;
}

.linkedin {
    margin-left: 70px;
}

#linkedin-hover {
    font-size: 50px;
}
}

@media only screen and (max-width: 500px) {
.name {
    font-size: 70px;
}

.title {
    font-size: 25px;
}

.text-1 {
    font-size: 25px;
}

.text-2 {
    font-size: 18px;
}

.me-1 {
    background-size: 200px 200px;
    width: 200px;
    height: 200px;
}
    
.me-2 {
    background-size: 200px 200px;
    width: 200px;
    height: 200px;
}

.company-logo {
    background-size: 75vw 220px;
    height: 220px;
}

.contact {
    display: grid;
    grid-template-columns: 1fr;
    text-align: center;
}

.github {
    margin-right: 0px;
}

#github-hover {
    font-size: 65px;
}

#mail-hover {
    font-size: 65px;
}

#linkedin-hover {
    font-size: 65px;
}

.linkedin {
    margin-left: 0px;
}
}

@media only screen and (max-width: 450px) {
.me-1 {
    background-size: 180px 180px;
    width: 180px;
    height: 180px;
}
    
.me-2 {
    background-size: 180px 180px;
    width: 180px;
    height: 180px;
}

.company-logo {
    background-size: 75vw 200px;
    height: 200px;
}

.work-container a {
    font-size: 9vw;
    width: 75vw;
    left: 12.5vw;
}
}

@media only screen and (max-width: 400px) {
header ul li a {
    font-size: 14px;
}

.name {
    font-size: 60px;
}
.me-1 {
    background-size: 150px 150px;
    width: 150px;
    height: 150px;
}

.p-1 {
    font-size: 11px;
}
        
.me-2 {
    background-size: 150px 150px;
    width: 150px;
    height: 150px;
}

.p-2 {
    font-size: 11px;
}

.company-logo {
    background-size: 75vw 180px;
    height: 180px;
}
}

@media only screen and (max-width: 350px) {
.name {
    font-size: 50px;
}

.me-1 {
    background-size: 120px 120px;
    width: 120px;
    height: 120px;
}

.p-1 {
    font-size: 10px;
}

.me-2 {
    background-size: 120px 120px;
    width: 120px;
    height: 120px;
}
.p-2 {
    font-size: 10px;
}

.company-logo {
    background-size: 75vw 150px;
    height: 150px;
}
}

@media only screen and (max-height: 700px) {
.text-1 {
    margin-top: 150px;
}

.me-1 {
    background-size: 160px 160px;
    width: 160px;
    height: 160px;
}

.p-1 {
    font-size: 11px;
}

.me-2 {
    background-size: 160px 160px;
    width: 160px;
    height: 160px;
}

.p-2 {
    font-size: 11px;
}
}

@media only screen and (max-height: 710px) {
.description {
    font-size: 17px;
}
}

@media only screen and (max-height: 600px) {
.text-1 {
    margin-top: 100px;
}

.description {
    font-size: 15px;
}

.info-1 {
    margin-top: 7%;
}

.info-2 {
    margin-top: 7%;
}
}

@media only screen and (max-height: 500px) {
.text-1 {
    margin-top: 0px;
}

.me-1 {
    background-size: 140px 140px;
    width: 140px;
    height: 140px;
}

.p-1 {
    font-size: 10px;
}

.me-2 {
    background-size: 140px 140px;
    width: 140px;
    height: 140px;
}

.p-2 {
    font-size: 10px;
}

.company-logo {
    background-size: 65vw 170px;
    width: 65vw;
    height: 170px;
}

.description {
    font-size: 13px;
}
}
