*{
    scroll-behavior: smooth;
}

body{
    margin: 0;
    font-family: sans-serif;
}
#start{
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}
#links{
    position: absolute;
    display: flex;
    margin: 1%;
    gap: 1vw;
    top: 0;
    right: 0;
}

#links svg:hover{
    cursor: pointer;
    margin-top: 5px;
}
#title{
    width: 70%;
    height: 100%;
    font-size: 2vw;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
@keyframes textFade {
    from{
        margin-left: 20%;
        opacity: 0;
    }to {
        opacity: 1;
        margin: 0;
    }
}
@keyframes buttonFade {
    from{
        opacity: 0;
        margin-left: 20%;
    }to {
        opacity: 1;
        margin: 0;
        margin-top: 2rem;
    }
}
#title h1{
    animation-name: textFade;
    animation-duration: 1.8s;
    animation-fill-mode: both;
}

#buttons{
    display: flex;
    width: fit-content;
    animation-name: buttonFade;
    animation-delay: 1s;
    animation-duration: 1s;
    animation-fill-mode: backwards;
    margin-top: 2rem;
}
#buttons a{
    text-decoration: none;
    font-size: 2vw;
    color: #036ca8;
    border: 2px solid #036ca8;
    padding: 0.6rem 1.6rem;
    transition: all .3s;
    position: relative;
    overflow: hidden;
    z-index: 1;
}
#buttons a:hover{
    cursor: pointer;
    color: white;
    border: 2px solid white;
}
#buttons a:hover::before {
    transform: translateX(0);
}
#buttons a::before{
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #036ca8;
    transition: all .3s;
    z-index: -1;
    transform: translateX(-100%);
}
.transitionWB{
    width: 100%;
    height: 4vh;
    background: linear-gradient(white, #036ca8);
}


#projects{
    width: 100%;
    height: fit-content;
    background-color: #036ca8;
    text-align: center;
    overflow: hidden;
    color: white;
    padding-bottom: 10%;
}
#projects h1{
    margin: 2%;
    font-size: 3rem;
}

@keyframes projectFade {
    from{
        margin-right: 10%;
        opacity: 0;
    }to{
        margin: 0;
        opacity: 1;
    }
}

#projectsDiv{
    position: relative;
    height: 100%;
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    grid-template-rows: repeat(4, 1fr);
    gap: 5%;
}

.singleProjectDiv{
    position: relative;
    display: grid;
    grid-template-columns: 2fr 1fr 2fr;
    grid-column: 2/7;
    margin-top: 2%;
    animation-name: projectFade;
    animation-duration: 1.8s;
    animation-fill-mode: both;
}

.left{
    grid-column: 1/2;
}
.description{
    margin: auto;
    width: 20vw;
    text-align: center;
    font-size: 1rem;
}
.note{
    text-align: center;
    font-size: 0.9rem;
    width: 15vw;
    margin: auto;
    margin-top: 2%;
    color: #cccccc;
}
.right{
    grid-column: 3/5;
    display: flex;
    width: 575px;
    height: 323px ;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 3%;
}
.imgLeft{
    display: flex;
    flex-direction: column;
    width: 50%;
    height: 100%;
    gap: 5%;
}
.right img{
    width: 100%;
    height: 100%;
    border: 2px solid #036ca8;
}
.right img:hover{
    border: 2px solid white;
}
.imgRight{
    display: flex;
    flex-direction: column;
    gap: 5%;
    width: 50%;
    height: 100%;
}
.softwareDiv{
    line-height: 1.7rem;
}
.software{
    border: 1px solid black;
    background-color: #036ca8;
    font-size: 0.8rem;
    color: white;
    margin: 0.2rem;
    padding: 0.2rem;
}
.left a{
    text-decoration: none;
    font-size: 1.5rem;
    color: white;
    border: 2px solid white;
    background-color: #036ca8;
    padding: 0.2rem 0.5rem;
    margin: 2%;
    transition: all .3s;
    position: relative;
    overflow: hidden;
    z-index: 1;
    display: inline-block;
    margin-top: 4%;
}
.left a:hover{
    cursor: pointer;
    color: #036ca8;
    background-color: white;

}

.left a:hover::before {
    transform: translateX(0);
}
.left a::before{
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: white;
    transition: all .3s;
    z-index: -1;
    transform: translateX(-100%);
}

/*
#skills{
    width: 100%;
    height: 100vh;
    background-color: white;
    text-align: center;
    overflow: hidden;
    color: white;
    
}

#skills h1{
    margin: 2%;
    font-size: 3rem;
    color: #036ca8;
}
*/


.transitionBW{
    width: 100%;
    height: 4vh;
    background: linear-gradient(#036ca8, white);
}

#aboutContactBottom{
    background-color: white;
}
#aboutContact{
    display: flex;
    width: 100%;
    height: fit-content;
    color: black;
    text-align: left;
    overflow: hidden;
}
#aboutContact h1{
    text-align: center;
}
#aboutInfoDiv{
    width: 50%;
}
.infoDiv{
    font-size: 2rem;
    padding: 3%;
}

#contact{
    width: 50%;
}
#contact input{
    display: block;
    width: 100%;
    font-size: 1.4rem;
    background: none;
    border: none;
    color: black;
    border-bottom: 1px solid #036ca8;
    
}
#contact input:focus{
    outline: none;
}
#contact input::placeholder{
    color: black;
    opacity: 1;
}
#contact textarea{
    width: 100%;
    font-size: 1.4rem;
    background: none;
    border: 1px solid #036ca8;
    color: black;
    border-radius: 15px;
    padding: 15px;
    resize: none;
    cursor: auto;
}
#contact textarea:focus{
    outline: none;
}
#contact p{
    font-size: 1.3rem;
    margin: 2% 0;
}
#contact button{
    font-size: 1.4rem;
    padding: 1% 3%;
    background: none;
    border: 1px solid #036ca8;
    border-radius: 10px;
    margin-top: 3%;
    overflow: hidden;
    z-index: 1;
    transition: all .3s;
    position: relative;
}
#contact button:hover{
    cursor: pointer;
    color: white;
    background-color: #036ca8;
}
#contact button:hover::before{
    transform: translateX(0);
}
#contact button::before{
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #036ca8;
    transition: all .3s;
    z-index: -1;
    transform: translateX(-100%);
}

#inputs{
    width: 100%;
    height: 100%;
}
#inputsDiv{
    width: 90%;
    margin: auto;
}

#aboutContactBottom hr{
    margin: 2%
}

#bottom{
    width: 100%;
    height: 15vh;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2%;
}
#bottom a{
    margin-bottom: 2%;
}
#bottom a:hover{
    margin-top: 5px;
}




::-webkit-scrollbar {
    width: 10px;
  }
  
::-webkit-scrollbar-track {
    background: white; 
}
   
::-webkit-scrollbar-thumb {
    background: #036ca8; 
    border: 1px solid white;
}
  
::-webkit-scrollbar-thumb:hover {
    background: #036ca8; 
}
