*{
    margin: 0;
    padding: 0;
    font-family: 'Poppins', sans-serif;
    scroll-behavior: smooth;
}

body{
    background-color: rgb(238, 238, 238);
    overflow-x: hidden;
}

.hero{
    background-image: linear-gradient(rgba(4,9,30,0.4), rgba(4,9,30,0.4)), url(../Images/HomePage/main/hero.jpg);
    background-position: center;
    background-size: cover;
    height: 100vh;
    width: 100%;
    position: relative;
    display: flex;
    flex-direction: column;
    box-shadow: 0px 5px 30px black;
    margin-bottom: 40px;
}

.navbar{
    position: fixed;
    top: 0;
    width: 100%;
    height: 8%;
    align-items: center;
    z-index: 5;
    transition: background-color 0.4s ease-in-out;
}

.navbar.scrolled{
    background-color: black;
    opacity: 0.98;
}

.logo{
    position: relative;
    padding-top: 1%;
    padding-left: 3%;
    width: 10%;
    z-index: 8;
}

.navbar a:hover{
    cursor: pointer;
}

.logo img{
    width: 80px;
    height: 80px;
    border-radius: 50%;
}

.logo img:hover{
    box-shadow: 0 0 20px white;
    cursor: pointer;
    transition: 0.2s;
}

.navbar ul{
    margin-top: 1%;
    margin-left: 55%;
    list-style: none;
    display: flex;
    padding-right: 5%;
}

.navbar ul li{
    display: block;
    padding: 8px 18px;
}

.navbar ul li a{
    text-decoration: none;
    color: white;
    font-size: 18px;
}

.navbar ul li a:hover::after{
    width: 100%;
}

.navbar ul li a::after{
    content: '';
    width: 0%;
    height: 2px;
    background: aqua;
    display: block;
    margin: auto;
    transition: 0.5s;
}

/*start of hero body*/
.hero-body{
    width: 100%;
    height: 88%;
    display: flex;
    flex-direction: row;
}

.hero-text{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    margin: auto;
    width: 80%;
    height: 40%;
    color: white;
}

.hero-text h1{
    font-size: 48px;
}

.hero-text h2{
    font-size: 30px;
    color: aqua;
}

.button-holder{
    padding-top: 30px;
    display: flex;
}

.button{
    top: 0;
    box-sizing: border-box;
    width: auto;
    position: relative;
}

.btn2{
    margin-left: 10px;
}



.button a{
    border: 2px solid rgba(0, 173, 204, 0.466);
    border-radius: 15px;
    box-shadow: inset 0px -3px 15px 0px rgba(0, 162, 202, 0.616);
    text-decoration: none;
    color: white;
    padding: 10px 24px;
}

.blur{
    width: 100px;
    height: 50px;
    background-color: hsla(199, 100%, 75%, 0.342);
    border-radius: 100%;
    filter: blur(20px);
    position: absolute;
    transition: all 0.2s ease;
    left: 50%;
    transform: translateX(-50%);
}

.button:hover{
    transition: 0.3s;
    transform: translateY(5px);
}

.button:hover .blur{
    opacity: 60%;
}

.external-links{
    margin-top: 48px;
    display: flex;
    width: 20%;
}

.external-links a{
    text-decoration: none;
    color: #fff;
    background-color: #3b5998;
    width: 60px;
    height: 60px;
    text-align: center;
    line-height: 60px;
    border-radius:25%;
    font-size: 2em;
    box-shadow: 2px 2px 5px rgb(0, 83, 109);
    transition: all .3s ease-in-out;
    margin-right: 15px;
}

.external-links a:hover{
    box-shadow: 0 0 20px #fff;
}

.external-links a:nth-child(2){
    background-color: rgb(76, 184, 108);
    color: white;
    box-shadow: 2px 2px 5px rgb(0, 119, 60);
}

.external-links a:nth-child(2):hover{
    box-shadow: 0 0 20px #fff;
}

.external-links div{
    position: relative;
    box-sizing: content-box;
    border-radius: 25%;
    width: 60px;
}

.external-links div a{
    color: rgba(0, 158, 0, 0.795);
    background-color: white;
    box-shadow: 2px 2px 5px rgb(134, 134, 134);    
}

.dot-locate{
    top: 50%;
    left: 50%;
    font-size: 28px;
    transform: translate(-50%, -90%);
    position: absolute;
    color: red;
}

.invisible-scroll-anchor{
    position: relative;
    left: 0;
    top: -70px;
}

@media screen and (max-width: 720px){
    .hero{
        background-position: 55%;
    }

    .navbar{
        display: none;
    }

    .hero-text{
        width: 93%;
        transform: translate(0, 0);
        top: 16%;
        left: 5%;
    }

    .hero-text h1{
        font-size: 40px;
    }

    .button a{
        padding: 8px 8px;
    }

    .external-links{
        width: 60%;
    }

}
