body{
    margin: 0;
    padding: 0;
    background-repeat: no-repeat;
    background-color: rgb(190, 190, 190);
    overflow-x: hidden;
}


.main-nav ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    animation: nav-load 500ms ease-out;
}


.main-nav li{
    margin: 2em;
    display: inline-block;
    
}


.main-nav a{
    color:white;
    text-decoration: none;
    padding: 20px;

}

.main-nav a:hover{
    cursor: pointer;
    text-decoration: none;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 10px;
}

.main-nav a:active {
    animation: project-page-load 500ms;
}



.top-container > .content-wrapper {
    position: relative;
    overflow: hidden;
    
}




.content-wrapper > img {
    display: block;
    width: 100%;
    min-height: 100vh;
    object-fit: cover;
    object-position: center;
    
}



.top-container .text-wrapper {
    position: absolute;
    inset: 0;
    color: rgb(255, 255, 255);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    
}

.top-container > .content-wrapper >.text-wrapper > *{
    margin-bottom: 1em;
    animation: topLoad 1300ms ease-out;
    
}

.top-container .text-wrapper .text{
    font-size: 30px;
}

.top-container > .content-wrapper >.text-wrapper > .big-text{
    margin: 0rem 2rem 2rem 2rem;
    font-weight: bold;
    font-size: clamp(5rem, 30vw, 10rem);
}



.to-top-button {
    display: none;
    position: fixed;
    right: 1rem;
    bottom: 1rem;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: rgb(39, 39, 39);
    color: white;
    border: 0;
    font-size: 1rem;
    transition: 150ms background-color ease-in;
    
}

.to-top-button:hover, .to-top-button:focus {
    background-color: white;
    color: rgb(39, 39, 39);
}

.to-top-button:active {
    background-color: rgb(228, 228, 228);
    
}

.load-animate-page {
    animation: project-page-load 700ms ease-out;
}

@keyframes topLoad {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

@keyframes nav-load {
    0% {
        transform: translateY(-100%);
    }
    100% {
        transform: translateY(0)
    }
}

@keyframes project-page-load {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(0)
    }
}


/* width */
::-webkit-scrollbar {
    width: 0.7rem;
  }
  


/* Handle */
::-webkit-scrollbar-thumb {
    border-radius: 100vw;
    background: rgb(22, 29, 51);
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
    background: rgb(6, 22, 73);
}

.footer {
    margin-top: 5rem;
    text-align: center;
    color: white;
    font-size: 1.2em;
    padding: 1.2rem;
    background-color: black;
}

.footer .title {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 1.2em;
}

.footer p {
    margin: 0 2vw;
}

@media (min-width: 900px) {
    .footer p {
        margin: 0 8vw;
    }
}

.contact-icons {
    margin-top: 1.2em;
    font-size: 3rem;
    display: flex;
    justify-content: center;
    align-items: center;
}



.contact-icons > div {
    margin: 0 auto;
}

.icon {
    position: relative;
}

.contact-icons .tooltip{
    opacity: 0;
    padding: 0.5rem;
    font-size: 1rem;
    background-color: white;
    color: black;
    border-radius: 5px;
    margin-bottom: 10px;
    transition: 250ms opacity ease;
    position: relative;
}

.contact-icons .icon:hover .tooltip{
    opacity: 1;
    cursor: pointer;
}

a {
    text-decoration: none;
    color: white;
}

.contact-icons .tooltip::before{
    position: absolute;
    content: '';
    background-color: white;
    width: 15px;
    height: 15px;
    left: 50%;
    top: -0.4rem;
    transform: translateX(-50%) rotate(45deg);
}



.fade-in {
    opacity: 0;
    transition: opacity 250ms ease-in;
}

.fade-in.appear {
    opacity: 1;
}

.from-bottom {
    transform: translateY(150%);
    transition: transform 400ms ease-in;
}

.from-bottom.appear {
    transform: translateY(0);
}

.from-right {
    transform: translateX(50%);
    transition: transform 400ms ease-in;
}

.from-right.appear {
    transform: translateX(0);
}

.wave {
    z-index: 100;
}


