* {
    scroll-behavior: smooth;
    max-width: 100vw;
}
.MainNavBar {
    position: absolute;
    background-color: rgb(58, 58, 58);
    padding-top:  0; 
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    z-index: 3;
}
.MainNavBar ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    overflow: hidden;
}
.MainNavBar li {
    float:right;
    padding-right: 5px;
}
.MainNavBar a {
    background-color: rgb(58, 58, 58);
    color: rgb(247, 243, 221);
    font-family: sans-serif;
    font-size: 25px;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
    max-height: 15vh;
}
.MainNavBar a:hover {
    color: rgb(218, 165, 32);
    background-color: rgb(77, 77, 77);
    
}
.MainNavBar li#projects {
    overflow: hidden;
}
/* Dropdown content (hidden by default) */
.MainNavBar .dropdown-content {
    display: none;
    position: absolute;
    background-color: rgb(247, 243, 221);
    color: rgb(77, 77, 77);
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
}
 
/* Links inside the dropdown */
.dropdown-content a{
    float: none;
    background-color: rgb(247, 243, 221);
    color: rgb(77, 77, 77);
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    text-align: left;
}
/* Add a grey background color to dropdown links on hover */
.dropdown-content a:hover {
    background-color: #ddd;
}
/* Show the dropdown menu on hover */
#projects:hover .dropdown-content {
    display: block;
}
.selectedNavText {
    color: rgb(218, 165, 32);
}
body {
    background-image: url('/mainPage/backgroundIMG.png');
    background-repeat: no-repeat;
    background-size: 100vw 7000px;
    background-attachment: scroll;
    color: rgb(247, 243, 221);
    font-family: sans-serif;
    font-size: 30px;
    width: 100%;
    max-width: 100vw;
    height: 7000px;
    position: absolute;
    top: 0;
    left: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-content: center;
}

.main {
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    align-items: center;
    height: auto;
    z-index: 2;
    position: relative;
}
#mainSec {
    display: flex;
    flex-direction: column;
    align-items: center;
}
#tittleText {
    text-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
    font-family: Impact;
    font-style: bold;
    font-size: 150px;
}
#subTittleText {
    text-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
    color: goldenrod;
    font-family: Times;
    font-style: italic;
    font-size: 51px;
}
#tittleList {
    list-style-type: none;
    margin-top: 10vw;
}

a.smooth-scroll {
    text-decoration: none;
    color: inherit;
    cursor: pointer;
    text-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);   
    position: relative;
}
a#section2 {
    display: flex;
    justify-content: center;
    margin-top: 60vh;
    border: 5px goldenrod;
    border-style: outset;
    width: 15vw;
    height: 5vh;
    border-radius: 15px;
    align-items: center;
}

#sunrise-animation-container {
    position: absolute;
    width:100%;
    height: 100%;
    display: flex;
    justify-content: center;
    top: 0;
    left: 0;
}
#sunrise-cover {
    width: 100%;
    height: 7000px;
    z-index: 0;
    position: absolute;
    top: 0;
    left: 0;
    background-image: url('/mainPage/backgroundIMGNoTop.png');
    background-size: 100vw 7000px;
    background-repeat: no-repeat;
    background-attachment: scroll;
}
.sun {
    background-image: radial-gradient(rgb(216, 196, 147), rgb(214, 176, 81), rgba(218, 165, 32, 0.8));
    text-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
    display: flex;
    flex-direction: row;
    margin-top: 1200px;
    text-align: center;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    width: 40vw;
    height: 40vw;
    animation: sunAnimation 5s linear 0s 1 forwards, 10s spinning 3s linear infinite;
    animation-play-state: paused, paused;
    z-index: -1;
}
@keyframes sunAnimation {
    0% {
        margin-top: 1200px;
    }
    100% {
        margin-top: 575px;
    }
}
@keyframes spinning {
    from {
      transform: rotate(0deg);
    }
    to {
      transform: rotate(360deg);
    }
}
@keyframes moveBall-1 {
    5%{
        transform: translate(0,25px);
    }
    30%{
        transform: translate(30px, 0px);
        transform: rotate(90deg);
    }
    100%{
        transform: translate(0px, 300px);
        transform: rotate(360deg);
    }
}
#intro-section-B {
    background: rgba(255, 255, 255, 0.25);
    width: calc(100%-10vw);
    padding-left: 5vw;
    padding-right: 5vw; 
}
#intro-section-B a{
    color: rgb(247, 243, 221);
}