/* Settup */

@import "fish.css";
@import url("fish.css");

@import ".css";
@import url("fish.css");

:root {
    --RectButton-Width: 150px;
    --RectButton-Height: 100px;
    --Button-FontSize: 1.25rem;
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: #a7ceff;
    margin: 0;
    overflow-x: hidden;
}

@keyframes MoveUpAndDown {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-1.1rem);
    }
}

.Non-Static-Bubble {
    animation-name: MoveUpAndDown;
    animation-iteration-count: infinite;
    animation-timing-function: ease-in-out;
}

.Non-Static-Bubble:nth-child(3n) {
    animation-duration: 3s;
}

.Non-Static-Bubble:nth-child(3n + 2) {
    animation-duration: 5s;
}

.Non-Static-Bubble:nth-child(3n + 1) {
    animation-duration: 4s;
}

@keyframes MoveUpAndDownX {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-3.3rem);
    }
}

.BigMoving-Bubble {
    animation-name: MoveUpAndDownX;
    animation-timing-function: ease-in-out;
    animation-iteration-count: infinite;
    height: 0;
    width: 0;
    margin-top: 100px;
}

.BigMoving-Bubble:nth-child(3n + 0) {
    animation-duration: 5s;
}

.BigMoving-Bubble:nth-child(3n + 2) {
    animation-duration: 7s;
}

.BigMoving-Bubble:nth-child(3n + 1) {
    animation-duration: 6s;
}

.Button, .BubbleBG {
    display: flex;
    justify-content: center;
    align-items: center;

    height: var(--RectButton-Height);
    width: var(--RectButton-Width);

    background-image: url('ImagesAndVectors/RectBubble.png');
    background-size: 100% 100%;
    background-repeat: no-repeat;
    background-position: center;

    border: none;
    color: #ffffff;
    font-size: var(--Button-FontSize);
    text-decoration: none;

    cursor: pointer;
    transition: all 0.15s ease-in-out;
}


.Button:hover {
    transform: scale(1.06);
}

.Button:active {
    transform: scale(0.95);
}

@keyframes FishMoveL {
    0% {
        left: 1500px;
    }

    100% {
        left: -500px;
    }
}

.Fish {
    position: relative;

    width: 150px;
    
    left: 1500px;
    top: 65px;

    animation-name: FishMoveL;
    animation-duration: 20s;
    animation-iteration-count: infinite;
    animation-timing-function: linear;
}

/* Body */

/* Above Water Section */

.Head-Text {
    font-size: 2.5rem;
    color: #ffffff;

    text-align: center;
    text-shadow: 0px 2px 5px rgba(0, 0, 0, 0.25);
}

.Head-Text > h1 {
    font-size: 5rem;
    font-weight: 800;
}

.Head-Text > h2 {
    font-size: 3.5rem;
    font-weight: 500;

    margin-top: -35px;
}

.Head-Text > h3 {
    font-size: 1.75rem;
    font-weight: 300;

    margin-top: -35px;
}

/* Below Water Section */

.Waves {
    background-image: linear-gradient(rgb(129, 173, 242) 0%, rgb(36, 84, 186) 5%, rgb(2, 23, 70) 10%, rgb(0, 15, 30) 100%);
    border-top: solid white 7px;
    
    position: absolute;
    width: 100%;
    height: 12000px;

    background-position: center;
    background-repeat: no-repeat;
}

.Waves1 {
    margin-top: 15rem;
}

.Waves2:nth-of-type(2) {
    opacity: 0.5;

    margin-top: -66.65rem;

    pointer-events: none;
}

/* Top Water Section */

/* Projects */

.SubmarineBG {
    width: 2500px;

    position: relative;
    left: -1250px;
    top: 225px;
}

.Submarine-Window {
    content: url("ImagesAndVectors/SubmarineWindow.png");
}

.CrackedSubmarine-Window {
    content: url("ImagesAndVectors/CrackedWindow.png");
    cursor: not-allowed;
}

.AllSub-Windows img {
    display: block;
    width: 100px;
}

.AllSub-Windows {
    display: flex;
    flex-direction: row;

    gap: 75px;

    position: relative;
    top: 45px;
    left: 50px;
}

.Submarine-Window:hover {
    content: url("ImagesAndVectors/HoveredSubWindow.png");
    cursor: pointer;
}

.Fish2 {
    top: -50px;

    animation-delay: 2s;
}

.Fish3 {
    top: 50px;
    animation-delay: 1s;
}

.Projects {
    display: flex;
    flex-direction: row;
    justify-content: center;

    gap: 2rem;
    margin-top: 35rem;
}

.DepthMeterInner {
    position: fixed;
    top: 5rem;
    right: 20px;
    height: 200px;
    width: 200px;
}

.DepthMeter {
    position: absolute;
    top: 35rem;
    right: -168px;
    height: 11998.5px;    
}

.DepthMeterOuter {
    position: fixed;
    top: 5rem;
    right: 20px;
    height: 200px;
    width: 200px;
}