@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');

:root {
    --nav-bg-color: white;
    --card-transition-duration: 1000ms;
    --card-transition-delay: 225ms;
    background-color: #181920;
    font-family: "Roboto", sans-serif;
    font-weight: 500px;
    font-size: 20px;
}

* {
    margin: 0;
    padding: 0;
}

body {
    height: 5000px;
    /* background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200' fill='none' viewBox='0 0 200 200' version='1.1' xmlns:xlink='http://www.w3.org/1999/xlink' xmlns:svgjs='http://svgjs.dev/svgjs'%3E%3Cpath fill='url(&quot;%23SvgjsLinearGradient1001&quot;)' d='M165.963 134.037c-5.467 5.467-14.332 5.467-19.799 0l-24.137-24.138c-5.468-5.467-5.468-14.331 0-19.799l24.137-24.137c5.467-5.467 14.332-5.467 19.799 0L190.101 90.1c5.467 5.468 5.467 14.332 0 19.799l-24.138 24.138Zm-112.127 0c-5.467 5.467-14.332 5.467-19.8 0L9.9 109.899c-5.468-5.467-5.468-14.331 0-19.799l24.137-24.137c5.467-5.467 14.332-5.467 19.799 0L77.973 90.1c5.468 5.468 5.468 14.332 0 19.799l-24.137 24.138ZM109.9 190.1c-5.468 5.468-14.332 5.468-19.8 0l-24.137-24.137c-5.467-5.467-5.467-14.332 0-19.799l24.138-24.137c5.467-5.468 14.331-5.468 19.799 0l24.137 24.137c5.467 5.467 5.467 14.332 0 19.799L109.9 190.1Zm0-112.127c-5.468 5.468-14.332 5.468-19.8 0L65.963 53.836c-5.467-5.468-5.467-14.332 0-19.8L90.101 9.9c5.467-5.467 14.331-5.467 19.799 0l24.137 24.138c5.467 5.467 5.467 14.331 0 19.799L109.9 77.973Z'%3E%3C/path%3E%3Cdefs%3E%3ClinearGradient gradientTransform='rotate(0 0.5 0.5)' id='SvgjsLinearGradient1001'%3E%3Cstop stop-opacity=' 1' stop-color='rgba(105, 234, 203)' offset='0'%3E%3C/stop%3E%3Cstop stop-opacity=' 1' stop-color='rgba(234, 204, 248)' offset='0.48'%3E%3C/stop%3E%3Cstop stop-opacity=' 1' stop-color='rgba(102, 84, 241)' offset='1'%3E%3C/stop%3E%3C/linearGradient%3E%3C/defs%3E%3C/svg%3E"); */
    background-repeat: repeat;
}

li,a,button {
    font-family: "Roboto", sans-serif;
    font-weight: 500;
    font-size: 16px;
    color: inherit;
    text-decoration: none;
}

p, h1, h2 {
    color: white;
}

.top-section {
    height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card1 {
    min-width: 450px;
    position: relative;
}

.test {
    position: absolute;
    width: .01px;
    height: .01px;
    top: 50%;
    right: 50%;
    /* color: transparent; */
    box-shadow: 0px 0px 450px 88px whitesmoke;
}

.card1-svg { 
    position: absolute; /* Have them stacked, so one has to be absolute */
}

.section1-text {
    display: flex;
    flex-direction: column;
    margin-bottom: 150px;
    margin-left: 150px;
}

.section1-heading {
    font-size: 2.5rem;
}

.section1-paragraph {
    max-width: 50ch;
}

.body-top-spacer {
    padding-top: 34px; /* To make sure the body is not hid by nav bar */
}

/* #region transform-anim */

.parent-transform-anim .child-transform-reveal-svg { /* Before hover on text svg */
    opacity: 0;
    transition: transform var(--card-transition-duration),opacity 0ms var(--card-transition-delay);
}

.parent-transform-anim:hover .child-transform-reveal-svg { /* After hover on text svg */
    transform: rotateX(-180deg) rotateY(-180deg) rotateZ(180deg);
    opacity: 1;
}

.parent-transform-anim .child-transform-default-svg { /* Before hover on normal svg */
    transition: transform var(--card-transition-duration),opacity 0ms var(--card-transition-delay);
}

.parent-transform-anim:hover .child-transform-default-svg { /* After hover on normal svg */
    transform: rotateX(-180deg) rotateY(-180deg) rotateZ(180deg);
    opacity: 0;
}

/* #endregion transform-anim */

/* #region nav */

.primary-nav {
    z-index: 999999999;
    position: sticky;
    top: 15px;
    
    background-color: var(--nav-bg-color);
    transition: 500ms;

    display: flex;
    justify-content: flex-end;
    align-items: center;

    border-radius: 25px;
    margin: auto;
    padding: 19px 2%;
    min-width: 70%;
    max-width: fit-content;

    border-style: solid;
    border-color: transparent;
    border-width: 2px;

}

.primary-nav.sticking {
    background-color: rgba(0, 0, 0, 0.37);
    backdrop-filter: blur(10px);
    color: white;
    border-style: solid;
    border-color: rgba(255, 255, 255, 0.2);
    border-width: 2px;
    box-shadow: rgba(0, 0, 0, 0.24) 0px 8px 50px;
}

.logo {
    height: 40px;
    width: 50px;
    cursor: pointer;
    margin-right: auto;
}

.nav__links {
    list-style: none;
}

.nav__links li {
    display: inline-block;
    padding: 0px 20px;
}

.nav__links li a {
    transition: all 0.3s ease 0s;
}

.nav__links li a:hover {
    color: #0088a9;
}

button {
    margin-left: 20px;
    padding: 9px 25px;
    background-color: rgba(0,136,169,1);
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease 0s;
}

button:hover {
    background-color: rgba(0,136,169,0.8);
    
}

/* #endregion nav */