/* body initial settings */
* {
    scroll-behavior: smooth;
}

body {
    padding: 0;
    border: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
    color: rgba(48, 48, 48, 1);
    background-color: whitesmoke;
    overflow-x: hidden;
}

/* font initial settings */
h1 {
    font-size: 5em;
    font-weight: 600;
    padding: 0;
    margin: 0;
}

h2 {
    font-size: 2em;
    font-weight: 500;
    max-width: 700px;
    margin-bottom: 150px;
}

h3 {
    font-size: 1.6em;
}

h4 {
    font-size: 1.2em;
}


/* header */
/* header initial settings */
header {
    background: rgb(255, 217, 51);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}


/* nav bar */
header nav {
    display: flex;
    padding-top: 10px;
    width: 100%;
}


/* logo */
nav .logo {
    width: 150px;
    height: 55px;
    margin-left: 20px;
    display: flex;
    align-items: center;
    transition: 0.5s;
    border-radius: 60px;
}

nav .logo .circle1 {
    width: 50px;
    height: 50px;
    border-radius: 50px;
    background-color: rgba(255, 47, 0, 0.702);
    box-shadow: inset 0px 4px 5px 1px rgba(85, 85, 85, 0.3);
    transition-property: all;
    transition-duration: 1s;
}

nav .logo .circle2 {
    width: 30px;
    height: 30px;
    border-radius: 25px;
    background-color: rgba(0, 174, 255, 0.6);
    box-shadow: 0px 4px 5px 1px rgba(85, 85, 85, 0.3);
    margin-left: -40px;
}

nav .logo .circle1:hover {
    opacity: 1;
}

nav .logo a {
    text-decoration: none;
}

nav .logo h3 {
    margin-left: 20px;
    text-decoration: none;
    color: rgba(48, 48, 48, 1);
}


/* links of the nav bar */
nav ul {
    display: flex;     
    justify-content: flex-end;
    list-style: none;  
    width: 100vw;
    height: auto;  

}

nav ul li {
    padding-right: 20px;
}

nav ul li a {
    text-decoration: none;
    color: rgba(48, 48, 48, 1);
    font-size: 1.2em;
    transition-property: all;
    transition-delay: 0.5ms;
    transition-duration: 0.5s;

}

nav ul li a:hover {
    color: rgba(48, 48, 48, 1);
    background-color: rgb(250, 247, 247, 1);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 100px;
    padding-top: 5px;
    padding-bottom: 5px;
    padding-left: 15px;
    padding-right: 15px;
}


/* hamburger basic settings */
.hamburger {
    display: none;
    cursor: pointer;
}

.bar {
    display: block;
    width: 30px;
    height: 3px;
    background: rgba(48, 48, 48, 1);
    margin: 3px;
    border-radius: 10px;
    transition: all .5s ease-in-out; 
}


/* title header */
.maintitle {
    padding-top: 30px;
    padding-bottom: 30px;
    width: 60%;
    height: 40%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}



/* main */
.container {
    width: 80vw;
    height: auto;
    background-color: rgb(255, 255, 255, 0.2);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 10px;
    box-shadow: 6px 6px 15px rgba(85, 85, 85, 0.3);
    margin-left: 10%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin-top: 90px;
    margin-bottom: 90px;
    transition: all 0.5s 0.5ms;
}

.container:hover {
    background-color: rgb(255, 255, 255, 1);
    box-shadow: 12px 12px 29px rgba(85, 85, 85, 0.5);
}

.title {
    display: flex;
}

.title img {
    position: relative;
    top: 20px;
    left: -4px;
    height: 48px;
}

.text {
    display: flex;
    position: relative;
    align-items: center;
    margin-left: 20px;
}

.text h4 {
    width: 70%;
    text-align: left;
    font-weight: 600;
    margin-right: 20px;
}

.download {
    display: flex;
    position: relative;
    align-items: center;
    margin-right: 20px;
}

.download a {
    text-decoration: none;
    color: rgb(241, 193, 51);
    margin-right: 10px;
    transition: all .5s 5ms ease-in-out;
}

.download a:hover {
    text-decoration: underline;
}

/* footer initial settings */
footer {
    width: 100vw;
    height: auto;
    background: rgba(48, 48, 48, 1);
    color: whitesmoke;
    display: flex;
}

/* footer text */
footer .containerInfo {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

footer .info {
    padding-left: 40px;
    padding-right: 40px;
}

footer .copyright {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100vw;
    margin-top: 1vh;
}

footer .copyright .lineO {
    width: 350px;
    background-color: whitesmoke;
    height: 2px;
    border-radius: 10px;
    margin-left: 5vw;
    margin-right: 5vw;
}

footer a {
    cursor: pointer;
    text-decoration: none;
    color: whitesmoke;
    transition: all 0.5s 0.5ms;
}

footer a:hover {
    text-decoration: underline;
    color: rgb(255, 217, 51);
    font-weight: 700;
}

/* back to the top button */
#scroll {
    position: fixed;
    right: 10px;
    bottom: 10px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgb(255, 217, 51);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.25);
    color: rgba(48, 48, 48, 1);
    border: none;
    outline: none;
    cursor: pointer;
    transition-property: all;
    transition-duration: 0.5s;
    transition-delay: 0.5ms;
}

#scroll:hover {
    width: 55px;
    height: 55px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.40);   
}

#scroll:active {
    background: rgb(232, 197, 42);
}



/* responsive section */
@media only screen and (max-width: 1250px) {
    h1 {
        font-size: 4em;
    }
}


@media only screen and (max-width: 990px) {
    h1 {
        font-size: 3.5em;
    }

    .container .imgContainer img {
        width: 250px;
        height: 250px;
    }   
}

@media screen and (max-width: 900px) {
    /* hamburger settings */
    .hamburger {
        width: 100vw;
        height: 50px;
        display: flex; 
        flex-direction: column;
        align-items: flex-end;
        justify-content: center;
    }

    .bar {
        z-index: 10;
        margin-right: 20px;
        opacity: 1;
    }

    .hamburger.active {
        z-index: 10;
        position: fixed;
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(10px) rotate(45deg);
    }

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .nav-menu {
        position: fixed;
        background: none;
        height: 100vh;
        width: 100vw;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;  
        clip-path: circle(100px at 90% 0%);
        -webkit-clip-path: circle(100px at 90% 0%);
        transition: all 0.7s ease-out;
        pointer-events: none;
        z-index: 9;
        position: fixed;
    }   
    
    .nav-menu.active {
        clip-path: circle(1000px at 90% 0%);
        -webkit-clip-path: circle(1000px at 90% 0%);
        pointer-events: all;
        z-index: 9;
        margin-top: -20px;
        background: rgb(255, 217, 51);
    }

    .nav-item {
        width: 100vw;
        height: 10vh;
        margin-left: -60px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    footer .copyright h4 a {
        font-size: 0.7em;
    }
}

@media screen and (max-width: 550px) {
    .container .imgContainer img {
        width: 40vw;
        height: 40vw;
        margin-left: 8vw;
    }

    .container {
        width: 90vw;
        margin-left: 5vw;
    }
}


@media screen and (max-width: 500px) {
    h1 {
        font-size: 2.5em;
    }
    
    h2 {
        font-size: 1.2em;
        font-weight: 500;
        max-width: 700px;
        margin-bottom: 150px;
    }

    h4 {
        font-size: 1em;
    }

    .download p {
        font-size: 0.8em;
    }

    footer .info {
        padding-left: 10px;
        padding-right: 10px;
    }

    footer .copyright h4 a {
        font-size: 0.5em;
    }
}


@media screen and (max-width: 400px) {
    h1 {
        font-size: 2.3em;
    }

    footer .copyright h4 {
        font-size: 1em;
    }
}