@import url('https://fonts.googleapis.com/css2?family=Solway:wght@500&display=swap');

*{
    margin: 0;
    padding: 0;
}

body{
}


.navbar {
  position: fixed;
  background: transparent;
  z-index: 1000;
    width: 100%
}

.navbar-container {
    display: block;
    position: relative;
    height: 64px;
    margin-right: 2em;
    margin-left: auto;
}

.navbar-container input[type="checkbox"] {
cursor: pointer;
position: absolute;
display: block;
height: 2.5rem;
width: 3.9rem;
top: 2rem;
right: 2rem;
z-index: 5;
opacity: 0;
}

.navbar-container .hamburger-lines {
position: absolute;
height: 2.5rem;
width: 3.9rem;
top: 2rem;
right: 2rem;
z-index: 2;
display: flex;
flex-direction: column;
justify-content: space-between;
}

.navbar-container .hamburger-lines .line {
display: block;
height: 0.4em;
width: 100%;
border-radius: 0.2em;
background: #333;
}

.navbar-container .hamburger-lines .line1 {
transform-origin: 0% 0%;
transition: transform 0.4s ease-in-out;
}

.navbar-container .hamburger-lines .line2 {
transition: transform 0.2s ease-in-out;
}

.navbar-container .hamburger-lines .line3 {
transform-origin: 0% 100%;
transition: transform 0.4s ease-in-out;
}

.navbar-container input[type="checkbox"]:checked ~ .hamburger-lines .line1 {
transform: rotate(35deg);
}

.navbar-container input[type="checkbox"]:checked ~ .hamburger-lines .line2 {
transform: scaleY(0);
}

.navbar-container input[type="checkbox"]:checked ~ .hamburger-lines .line3 {
transform: rotate(-35deg);
}


.navbar .menu-background{
    position: absolute;
    top: -33em;
    right: -20em;
    width: 40em;
    height: 60em;
    border-radius: 20em;
    border: black 3px solid;
    background-color: #ff9f7f;
    opacity: 0.9;
    transform:  scale(0.01);
    transition: 0.5s;

}
.navbar .menu-items {
    position: absolute;
    top: 7em;
    right: 1em;
    background: transparent;
    transform: translateY(-25em);
    display: flex;
    flex-direction: column;
    justify-items: flex-end;
    padding-left: 50px;
    z-index: 1000;
    transition: transform 1s ;
    list-style-type: none;
}


.navbar .menu-items a {
  text-decoration: none;
  color: #444;
  font-weight: 600;
    font-family: "Solway", "Lucida Grande", Verdana, Arial, sans-serif;
    letter-spacing: 0.3rem;
  transition: color 0.3s ease-in-out;
    display: flex;
    align-items: center;
}

.navbar .menu-items li {
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
    font-weight: 500;

}
.navbar .menu-items a::before {
    content:"";
    display: block;
    border: 2px solid;
    width: 20px;
    height: 20px;
    border-radius: 9px;
    margin-right: 30px;
    background: #00c9df;
        transition: color 0.7s ease-in-out;


}

.navbar .menu-items a:hover {
    color: #23698b;
    transition: color 0.3s ease-in-out;
}
.navbar .menu-items a:hover::before{
    background: #23698b;
    transition: color 0.7s ease-in-out;
}


.navbar-container input[type="checkbox"]:checked ~ .menu-items {
transform: translateY(0);
}

.navbar-container input[type="checkbox"]:checked ~ .menu-background {
transform:  scale(1) translateY(0);
}






.main_logo_section{
    font-family: 'Solway', serif;
    background: #4e54c8;
    background: linear-gradient(to right, #14c4b4, #3090e2);
    width: 100%;
    height:100vh;
    overflow: hidden;
    position: relative;
}
.main_logo_section .main_logo {
    display: flex;
    width: 100%;
    position: absolute;
    top:35vh;
    justify-content: center;
    align-items: center;
    z-index: 500;
}

.main_logo_section .main_logo h1{
    vertical-align: middle;
    color: #ff9f7f;
    font-size: 7em;
    letter-spacing: 0.3em;
    text-shadow: black 2px 2px 0, black -2px -2px 0,
                 black -2px 2px 0, black 2px -2px 0;

}
.main_logo_section .main_logo img{
    margin: 2em;
    width: 200px;
    height: 200px;
}


.main_logo_section .animated_squares{
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.main_logo_section .animated_squares li{
    border-radius: 20%;
    position: absolute;
    list-style: none;
    width: 20px;
    height: 20px;
    background: rgba(255, 255, 255, 0.2);
    animation: main_logo_background 15s linear infinite;
    bottom: -150px;
    transition: all 3s ease;

}

.animated_squares li:nth-child(1){
    left: 25%;
    width: 80px;
    height: 80px;
    animation-delay: 0s;
}


.animated_squares li:nth-child(2){
    left: 10%;
    width: 20px;
    height: 20px;
    animation-delay: 2s;
    animation-duration: 12s;
}

.animated_squares li:nth-child(3){
    left: 70%;
    width: 20px;
    height: 20px;
    animation-delay: 4s;
}

.animated_squares li:nth-child(4){
    left: 40%;
    width: 60px;
    height: 60px;
    animation-delay: 0s;
    animation-duration: 18s;
}

.animated_squares li:nth-child(5){
    left: 65%;
    width: 20px;
    height: 20px;
    animation-delay: 0s;
}

.animated_squares li:nth-child(6){
    left: 75%;
    width: 110px;
    height: 110px;
    animation-delay: 3s;
}

.animated_squares li:nth-child(7){
    left: 35%;
    width: 150px;
    height: 150px;
    animation-delay: 7s;
}

.animated_squares li:nth-child(8){
    left: 50%;
    width: 25px;
    height: 25px;
    animation-delay: 15s;
    animation-duration: 45s;
}

.animated_squares li:nth-child(9){
    left: 20%;
    width: 15px;
    height: 15px;
    animation-delay: 2s;
    animation-duration: 35s;
}

.animated_squares li:nth-child(10){
    left: 85%;
    width: 150px;
    height: 150px;
    animation-delay: 0s;
    animation-duration: 10s;
}

@keyframes main_logo_background {

    100%{
        transform: translateY(-100vh) rotate(-720deg);
        opacity: 0;
    }

}

@media (max-device-width: 768px){

    .navbar-container {
        height: 64px;
        margin-right: 2rem;
        margin-left: auto;
    }

    .navbar-container input[type="checkbox"] {
        height: 5rem;
        width: 7.6rem;
        top: 2rem;
        right: 2rem;
    }
    .navbar-container input[type="checkbox"]:checked{
        right: 3.3rem;
        width: 6.8rem;
    }

    .navbar-container .hamburger-lines {
        height: 5rem;
        width: 7.6rem;
        top: 2rem;
        right: 2rem;
    }

    .navbar-container .hamburger-lines .line {
        display: block;
        height: 0.8em;
        border-radius: 0.4em;
        background: #333;
    }

    .navbar .menu-background{
        top: -66em;
        right: -40em;
        width: 80em;
        height: 120em;
        border-radius: 40em;
    }
    .navbar .menu-items {
        top: 14em;
        right: 2em;
        transform: translateY(-50em);
        padding-left: 50px;
    }

    .navbar .menu-items a {
      font-weight: 600;
        letter-spacing: 0.3rem;
    }

    .navbar .menu-items li {
        margin-bottom: 1.5rem;
        font-size: 3rem;
        font-weight: 500;

    }
    .navbar .menu-items a::before {
        content:"";
        display: block;
        border: 2px solid;
        width: 40px;
        height: 40px;
        border-radius: 18px;
        margin-right: 50px;
        background: #00c9df;
            transition: color 0.7s ease-in-out;


    }

}