@import url('https://fonts.googleapis.com/css?family=Poppins:500,600,700,800,900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Rancho&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
    color: white;
}

html,
body {
    overflow-x: hidden;
    /* To prevent Horizontal scroll */
}

html {
    scroll-behavior: smooth;
    /* To scrolling animation */
}

#header {
    position: absolute;
    /* To Overlap with background */
    top: 0;
    left: 0;
    width: 100%;
    padding: 1.5em 5em;
    display: flex;
    /* To get elements in row */
    justify-content: space-between;
    align-items: center;
    z-index: 99999;
    /* Header shld be above everything */
}

#header .logo {
    color: #b5e2e5;
    font-family:'Indie Flower';
    font-weight: 800;
    font-size: 2.5em;
    text-decoration: none;

    /* To prevent Underline */
}

#header ul {
    display: flex;
    /* To get elements in row */
    justify-content: space-around;
    align-items: center;
}

#header ul li {
    list-style: none;
    /* To Remove dot */
    margin: 0px 10px;
}

#header ul li a {
    text-decoration: none;
    /* To prevent Underline */
    padding: 6px 15px;
    /* color: #003549; */
    color: rgba(255, 255, 255, 0.656);
    /* color: #73dee0; */
    border-radius: 20px;
}

#header ul li a:hover,
#header ul li a.active {
    background: #003549;
    color: white;
}

/* The Section Body... Set it to max size of screen */
section {
    position: relative;
    width: 100%;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* To blend section color with water color */
section::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background: linear-gradient(to top, #085a7a, transparent);
    z-index: 10;
}

/* Make all images absolute and cover whole screen */
section img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
}

.moon{
    height: 200px;
    width: auto;
}


/* Properites for th text on top section  */
section #text span {
    font-size: 0.3em;
    letter-spacing: 2px;
    font-weight: 400;
    color: white;
}

section #text {
    position: absolute;
    color: #08505d;
    font-size: 7vw;
    text-align: center;
    line-height: 0.55em;
    font-family: 'Rancho', cursive;
    transform: translateY(-50%);
    top: 50%;
}


/* The explore Button */
#explore {
    text-decoration: none;
    /* To prevent Underline */
    padding: 8px 25px;
    background: white;
    color: #003549;
    font-size: 1.3em;
    font-weight: bold;
    letter-spacing: 2px;
    border-radius: 40px;
    transform: translateY(100px);
    /* To move it 100px below from center */
}

#explore:hover {
    background: #003549;
    color: white;
}

/* Propeties of Top button */
#top {
    position: fixed;
    width: 50px;
    height: 50px;
    background: #0474f4;
    bottom: 10%;
    right: 5%;
    text-decoration: none;
    text-align: center;
    line-height: 50px;
    color: white;
    font-size: 25px;
    border-radius: 50%;
    box-shadow: 0 10px 10px rgba(0, 0, 0, 0.2);
    z-index: 100;
}

.linktogallery{
    color: rgb(235, 235, 165);
}


/* Glass Effect */
.glass {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0));
    border-top: 1px solid rgba(255, 255, 255, 0.5);
    border-Left: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 15px;
    box-shadow: 20px 20px 40px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(4px);
    padding: 1em;
    margin-bottom: 2%;
}

/* Properties for middle section (below water) */
.sec {
    position: relative;
    padding: 10%;
    /* background: #085a7a; */
    background: linear-gradient(180deg, #01171f, #5d8fa9);
    padding-bottom: 15%;
    z-index: 50;
    overflow: hidden;
}

/* Properties for text content */
.sec h2 {
    font-size: 2.5em;
}

.sec #name {
    font-size: 2.5em;
    font-family: 'Rancho', cursive;
    letter-spacing: 2px;
    font-weight: 500;
    margin-bottom: 20px;
}

.sec h3 {
    font-size: 1.8em;
    margin: 2%;
}

.sec h4 {
    font-size: 1.2em;
    text-decoration: underline;
    font-weight: 600;
}

.sec p {
    margin: 10px 20px 40px;
}

.sec ul {
    margin: 0 5%;
}

.sec ul li {
    margin: 2%;
}


/* Make all fishes image as absolute.. To overlap with background */
.bottom-section {
    width: 100%;
    height: auto;
    position: absolute;
    background: #5d8fa9;
    padding-bottom: 0%;
    z-index: 50;
    overflow: hidden;
}

#iceberg {
    width: 100%;
    left: 0;
    bottom: 0;
    opacity: 1;
    background: #5d8fa9;
}

.underglass {
    position: absolute;
    opacity: 1;
}


#bear {
    top: 33%;
    left: 0;
    width: 18%;
}


/*Links*/
a:link {
    background-color: transparent;
    text-decoration: none;
  }
  a:visited {
    color: white;
    background-color: transparent;
    text-decoration: none;
  }
  a:hover {
    color: #37d9d9;
    background-color: transparent;
    text-decoration: underline;
  }
  a:active {
    color: white;
    background-color: transparent;
    text-decoration: underline;
  }

/* Properties for mobile */
@media screen and (max-width: 650px) {

    #header {
        padding: 1em 2em;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    #header ul {
        padding: 0.5em;
    }

    section #text {
        font-size: 15vw;
        /* Adjust text size acc to screen size */
    }

    /* Adjust text content acc to screen size */
    .sec ul li {
        margin: 20px;
    }

    .sec ul {
        margin: 0px 0px;
    }

    .sec h3 {
        font-size: 1.5em;
        margin: 20px 0px;
    }

    .sec p {
        margin: 1% 4%;
    }
    
    .sec h2 {
        font-size: 1.5em;
    }
    
    .sec #name {
        font-size: 2.0em;
    }

    #iceberg {
        object-fit: contain;
        left: 0;
        width: 100%;
        height: auto;
    }

    .glass {
        backdrop-filter: blur(1px);
    }

    #bear {
        top: 12%;
        /* width: 30%; */
        height: 27%;
        width: auto;
    }

    .moon{
        height: 150px;
        width: auto;
    }
}