* {
    margin: 0;
    padding: 0;
    box-sizing:border-box;
    font-family: 'Karla', sans-serif;
    color: #ffffff;
}

html {
    font-size: 62.5%;
}

body {
    display: flex;
    flex-direction: column;
    height: 3000px;
    background-color: rgba(20, 19, 21, 1);
}

/* Navbar */
li, a {
    text-decoration: none;
}

header {
    display:flex;
    justify-content:flex-end;
    align-items:center;
    padding: 2rem 4rem 0rem;
}

.logo {
    margin-right: auto;
    width: 16rem;
}

.nav_links {
    list-style:none;
}

.nav_links li {
    display: inline-block;
    width: 3.3rem;   
    margin: 1rem;
    transition: all 0.3s ease 0s;
}

.nav_links li:last-of-type{
    margin-right: 0;
}

.nav_links li:hover {
    filter: drop-shadow(0px 1px 3px #000000);
    transform: scale(1.2);
}

/* Top container */
#top_container {
    background:url(../images/laptop.png) no-repeat;
    background-size: 100%;
    background-position: top center;
    width: 100%;
    min-height: 54vw;
}

#top_container p {
    display: inline-block;
    margin-left: 4rem;
    padding-right: 1.5rem;
    border-right: 2px solid #ffffff;
    font-size: 1.4rem;
    line-height: 3rem;
}

#top_container p:last-of-type{
    border:none;
    margin-left:1.5rem;
    padding-right:0;
}

#top_container span {
    display: none;
}

/* Middle container */
#middle_container {
    background: linear-gradient(to right bottom, #25294C, #141415);
    min-height: 1000px;
    flex-grow: 1;
} 

/* Bottom container */
#bottom_container {
    background:url(../images/desktop.png) no-repeat;
    background-size: 100%;
    background-position: top center;
    width: 100%;
    min-height: 54vw;
}

/* Floating container */
#floating_container {
    position: absolute;
    width: 80%;
    top: 11rem;
    left: 10%;
    filter: drop-shadow(0 8px 30px #000000);
}

/* Floating Top Container */
#floating_top {
    height: 500px;
    background: linear-gradient(to bottom, rgba(20, 19, 21, 0.3) 20%, rgb(20, 19, 21, 1));
    display: flex;
    align-items: center;
}

#floating_top > ul {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 60%;
}

#floating_top li {
    list-style-type: none;
    transition: all 0.3s ease 0s;
}

#floating_top a {
    color: rgba(255,255,255,0.5);
    cursor: pointer;
    font-weight: 200;
    font-size: 2rem;
    line-height: 60px;
    transition: all 0.3s ease 0s;
}

#floating_top li:first-child a {
    color: rgba(255,255,255,1);
    font-weight: 400;
    text-decoration: underline;
    text-underline-offset: 15px;
}

#floating_top a:hover {
    color: rgba(255,255,255,1);
}

#floating_top li:hover {
    transform: scale(1.2);
}

#floating_top li:first-child:hover {
    transform: none;
}

#floating_top li:last-child:hover {
    transform:none;
}

#floating_top button {
    cursor:pointer;
    background-color: rgba(84,120,251,1);
    margin-top: 30px;
    font-size: 1.5rem;
    font-weight: 700;
    border-radius: 11px;
    padding: 10px 20px;
    border:0;
    filter: drop-shadow(0 8px 8px black);
    transition: all 0.3s ease 0s;
}

#floating_top button:hover {
    background-color: rgb(43, 61, 124);
}

#floating_top button{
    display: flex;
    justify-content: center;
    align-items: center;
}

#floating_top img {
    width:15px;
    margin-left: 5px;
}

/* Floating upper middle container */ 
#floating_upper_middle {
    background: rgba(20, 19, 21, 1);
    padding: 10rem;
}

.section_name {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

h1{
    font-size: 30px;
    font-weight: 500;
    letter-spacing: 8px;
    display: inline-block;
}

.section_name hr{
    width: 8rem;
    display: inline-block;
    border:0;
    border-top: 1px solid #ffffff;
}

.intro {
    line-height: 2;
    font-size: 15px;
    font-weight: 400;
    margin-bottom: 30px;
}

.job_description {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.job_description p {
    width: 60%;
    font-weight: 200;
    line-height:2;
    font-size: 12px;
}

#floating_upper_middle img {
    width: 35%;
    border-radius: 30px;
    filter: drop-shadow(0 1px 7px black);
}

.crypto{
    margin-top: 0;
    margin-bottom: 40px;
}

.facts {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.facts div{
    display: flex;
    align-items:center;
    font-style: italic;
}

.fact_details {
    font-size: 22px;
    font-weight: 700;
}

.facts hr {
    transform: rotate(90deg);
    opacity: 0.5;
    width: 5rem;
    border:0;
    border-top: 1px solid #ffffff;
}

.facts span {
    color:rgba(84,120,251,1);
    font-size: 40px;
}

/* Floating_lower_middle container */
#floating_lower_middle {
    background-image: linear-gradient(to bottom right, rgb(183, 182, 179), rgb(77,77,77));
    padding: 10rem;
}

.services h1 {
    color: #000000;
}

.services hr {
    border-color:#000000;
    border-width: 2px;;
}

.card {
    height: 30rem;
    background-color: #C8C8C8;
    margin-bottom: 3rem;
    width: 20rem;
    border-radius: 11px;
    display: flex;
    flex-direction: column;
    align-items: center;
    filter: drop-shadow(0 8px 8px black);
}

.card_services {
    display: flex;
    flex-wrap:wrap;
    column-gap: 1rem;
    justify-content: center;
}

.card_image {
    margin-top: 15%;
    width:45%;
    height: 30%;
    background-color: #4D4D4D;
    border-radius: 11px;
    display: flex;
    justify-content: center;
    align-items: center;
    filter:drop-shadow(0 2px 3px #000000);

}

.card_image img {
    height: 50%;
}

.card h2 {
    font-size: 14px;
    color: #000000;
    margin-top: 30px;
    margin-bottom: 15px;
}

.card p {
    font-size: 12px;
    text-align: center;
    color: #000000;
    margin-left: 1rem;
    margin-right:1rem;
}

.card a {
    color: rgba(0,0,0,0.5);
    cursor:pointer;
    margin-top: 30px;
    font-size: 15px;
    font-weight: 400;
    transition: all 0.3s ease 0s;
    border-bottom: 1.5px solid #5478FB;
}

.card a:hover{
    color: rgba(0,0,0,1);
    transform: scale(1.2);
}

.center {
    background-color: #5478FB;
}

.right {
    background-color: #383DD1;
}

/* Floating bottom */
#floating_bottom {
    background:url(../images/contact_background.png) no-repeat;
    background-size: cover;
    background-position: top center;
    width: 100%;
    min-height: 54vw;
    padding: 10rem;
}

.email, .name {
    display: flex;
    flex-direction: column;
}

label {
    font-size:15px;
    font-weight: 200;
    padding-bottom:2.5rem;
}

input {
    border:0;
    outline:0;
    background: rgba(0,0,0,0);
    border-bottom: 0.5px solid rgba(255,255,255,0.5);
    width: 80%;
    font-size: 14px;
}

form div {
    display: flex;
    justify-content: space-between;
    width:100%;
}

.name_email {
    width:90%;
}

.selectdiv {
    margin-top: 5rem;
    display: flex;
    flex-direction: column;
    width: 90%;
}

.selectdiv hr{
    opacity: 0.5;
    width:40%;
    border:0;
    border-top: 0.5px solid #ffffff;
}

select {
    border:none;
    vertical-align: middle;
    width:40%;
    -moz-appearance: none;
    -webkit-appearance: none;
    appearance: none;
    background: url(../images/arrow.png);
    background-repeat: no-repeat, repeat;
    background-position:right 1em top 5%, 0 0;
    background-size: .65em auto, 100%;
}
  
.message {
    margin-top:5rem;
    display: flex;
    align-items: flex-end;
}

.message div {
    display: flex;
    flex-direction: column;
}

#message{
    width:90%;
}

.message button {
    cursor:pointer;
    background-color: rgba(84,120,251,1);
    font-size: 1.5rem;
    font-weight: 700;
    border-radius: 11px;
    padding: 10px 20px;
    border:0;
    filter: drop-shadow(0 8px 8px black);
    transition: all 0.3s ease 0s;
}

.message button:hover {
    background-color: rgb(43, 61, 124);
}

.warning {
    font-size:10px;
    color: #a02626;
}

.message_feedback {
    display: flex;
    justify-content: flex-end;
    align-items: baseline;
}

.message_feedback h3 {
    color: green;
}

.message_feedback p {
    margin-left: 1rem;
}

.alert-success {
    -webkit-animation: cssAnimation 5s forwards; 
    animation: cssAnimation 5s forwards;
}

@keyframes cssAnimation {
    0%   {opacity: 1;}
    100% {opacity: 0;}
}

@-webkit-keyframes cssAnimation {
    0%   {opacity: 1;}
    100% {opacity: 0;}
}

/* Footer */
footer {
    height: 10rem;
    background-color: rgba(20, 19, 21, 1);
    display: flex;
    align-items: center;
    justify-content: center;
}

footer p, footer span {
    font-size: 1.5rem;
    color: #c8c8c8;
    opacity: 0.8;
    font-weight: 200;
}

/* Hamburger */
.hamburger {
    display:none;
    width:25px;
    height:16px;
}

.line {
    position: absolute;
    width:25px;
    height:2px;
    -webkit-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
    background-color: #101010;
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
    -webkit-transition: .25s ease-in-out;
    -moz-transition: .25s ease-in-out;
    -o-transition: .25s ease-in-out;
    transition: .25s ease-in-out;
}

.line:nth-child(1) {
    top: 0;
  }
.line:nth-child(2) {
    top: 50%;
  }
  
.line:nth-child(3) {
    top: 100%;
  }

/* Card animation */
.card.active {
    justify-content: center;
    padding:0 10px;
    margin-left: 10%;
    margin-right: 10%;
    background-size: cover;
    transition: all .5s ease-in-out;
    flex-grow:1;
}

.card.active .card_image {
    display: none;
}

.card.active a {
    display: none;
}

.card.active h2 {
    font-size: 24px;
    margin-top:0;
    margin-bottom: 30px;
}

.card button {
    display: none;
}

.card.active button {
    display: inline-block;
    cursor:pointer;
    background-color: rgba(20,19,21,1);
    margin-top: 30px;
    font-size: 1.5rem;
    font-weight: 700;
    border-radius: 11px;
    padding: 10px 20px;
    border:0;
    filter: drop-shadow(0 2px 4px black);
    transition: all 0.3s ease 0s;
}

.card.active button:hover {
    background-color: rgb(43, 61, 124);
}

.card.inactive:nth-of-type(1) {
    -webkit-animation: hideMe 2s;
    -moz-animation: hideMe 2s; 
    -ms-animation: hideMe 2s; 
    -o-animation: hideMe 2s;
    animation: hideMe 2s ease-in-out;
}

.card.inactive.right_side:nth-of-type(2) {
    -webkit-animation: hideMeRight 2s;
    -moz-animation: hideMeRight 2s;
    -ms-animation: hideMeRight 2s;
    -o-animation: hideMeRight 2s;
    animation: hideMeRight 2s ease-in-out;
}

.card.inactive.left_side:nth-of-type(2) {
    -webkit-animation: hideMe 2s;
    -moz-animation: hideMe 2s;
    -ms-animation: hideMe 2s; 
    -o-animation: hideMe 2s;
    animation: hideMe 2s ease-in-out;
}

.card.inactive:nth-of-type(3) {
    -webkit-animation: hideMeRight 2s; 
    -moz-animation: hideMeRight 2s;
    -ms-animation: hideMeRight 2s; 
    -o-animation: hideMeRight 2s;
    animation: hideMeRight 2s ease-in-out;
}

@keyframes hideMe {
    0% { transform: translate(0);}
    20% { transform: translate(5px);}
    100% { transform: translate(-120vw);}
}

@keyframes hideMeRight {
    0% { transform: translate(0);}
    20% { transform: translate(-5px);}
    100% { transform: translate(120vw);}
}

/* Breakpoints */
@media screen and (max-width: 600px) {
    .hamburger{
        display: block;
        cursor: pointer;
        -webkit-transform: rotate(0deg);
        -moz-transform: rotate(0deg);
        -o-transform: rotate(0deg);
        transform: rotate(0deg);
        -webkit-transition: .5s ease-in-out;
        -moz-transition: .5s ease-in-out;
        -o-transition: .5s ease-in-out;
        transition: .5s ease-in-out;
    }

    .hamburger.active .line:nth-child(1) {
        top: 50%;
        -webkit-transform: rotate(135deg);
        -moz-transform: rotate(135deg);
        -o-transform: rotate(135deg);
        transform: rotate(-135deg);
    }
  
    .hamburger.active .line:nth-child(2) {
        display:none;
    }
  
    .hamburger.active .line:nth-child(3) {
        top: 50%;
        -webkit-transform: rotate(-135deg);
        -moz-transform: rotate(-135deg);
        -o-transform: rotate(-135deg);
        transform: rotate(135deg);
    }
  
    nav {
        position: fixed;
        right: -100%;
        display: flex;
        top: 5rem;
        flex-direction: column;
        background-color: rgba(84,120,251,1);
        width: 50px;
        border-radius: 10px;
        justify-content: center;
        align-items: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
    }

    .nav_links li {
        display: block;
    }

    nav.active {
        position: absolute;
        right:0;
        z-index:1;
    }

    .logo {
        margin-right: auto;
        width: 10rem;
    }

    header {
        padding: 2rem 2rem 0;
    }

    #floating_container {
        top:7rem;
    }

    #top_container p {
        display: none;
    }

    #top_container span {
        display: inline-block;
    }

    #floating_top {
        height: 200px;
        align-items:flex-start;
    }

    #floating_top > ul{
        margin-top: 20px;
    }

    #floating_top a {
        font-size: 1.1rem;
        line-height: 20px;
    }

    #floating_top li:first-child a {
        text-underline-offset: 4px;
    }

    #floating_top button {
        margin-top: 15px;
        font-size: 1rem;
        border-radius: 4px;
        padding: 4px 6px;
    }

    #floating_top img {
        width:7px;
    }

    #floating_upper_middle {
  
        padding: 0 5rem 3rem;
        height: fit-content;
    }

    h1{
        font-size: 16px;
        letter-spacing: 8px;
    }

    .section_name{
        margin-bottom: 20px;
    }

    .section_name hr{
        width: 4rem;
    }

    .intro {
        font-size: 1.1rem;
        font-weight: 400;
        margin-bottom: 10px;
    }

    .job_description {
        display: flex;
        flex-direction: column;
    }

    .job_description p {
        width: 100%;
        font-size:1.1rem;
    }

    .crypto p {
        order:1;
    }
    
    #floating_upper_middle img {
        width: 100%;
        margin: 20px auto;
        display: block;
    }
}

@media screen and (min-width: 601px) and (max-width: 800px) {
    #floating_top {
        height: 300px;
        align-items:flex-start;
    }

    #floating_top > ul{
        margin-top: 30px;
    }

    #floating_top a {
        font-size: 1.2rem;
        line-height: 30px;
    }

    #floating_top li:first-child a {
        text-underline-offset: 5px;
    }

    #floating_top button {
        margin-top: 15px;
        font-size: 1.2rem;
        border-radius: 6px;
        padding: 5px 10px;
    }

    #floating_top img {
        width:10px;
    }

    #floating_upper_middle {
        padding: 0 5rem 3rem;
        height: fit-content;
    }

    #floating_upper_middle img {
        width: 80%;
        margin: 20px auto;
        display: block;
    }

    h1{
        font-size: 20px;
        letter-spacing: 8px;
    }

    .section_name{
        margin-bottom: 20px;
    }

    .section_name hr{
        width: 4rem;
    }

    .intro {
        font-size: 12px;
        font-weight: 400;
        margin-bottom: 20px;
    }

    .job_description {
        display: flex;
        flex-direction: column;
    }

    .job_description p {
        width: 100%;
    }

    .crypto p {
        order:1;
    }

    .services {
        margin-bottom: 5rem;
    }
}

@media screen and (max-width: 800px) {
    .fact_details {
        font-size: 14px;
    }
    
    .facts span {
        font-size: 30px;
        display: contents;
    }
    
    .facts div {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        text-align: center;
    }
    
    #floating_lower_middle {
        padding:5rem;
        padding-bottom:3rem;
        height: fit-content;
    }
    
    #floating_bottom{
        padding:5rem;
        padding-bottom:3rem;
    }

    form{
        margin-top: 5rem;
    }

    .selectdiv, .email, .message label {
        margin-top: 2rem;
        width:100%;
    }

    label {
        padding-bottom: 0.5rem;
        font-size: 12px;
    }

    .selectdiv hr {
        width:100%;
    }

    .message {
        margin-top: 0;
        margin-bottom: 5rem;
    }

    .message {
        display: flex;
        flex-direction: column;
    }

    .name_email {
        display: inline-block;
        width:100%;
    }

    .message button {
        margin-top: 5rem;
    }

    #message {
        width:100%;
    }

    input{
        width:100%;
    }
    
    select {
        width:100%;
        -moz-appearance: none;
        -webkit-appearance: none;
        appearance: none;
        background: url(../images/arrow.png);
        background-repeat: no-repeat, repeat;
        background-position:right 1em top 5%, 0 0;
        background-size: .65em auto, 100%;
      }
}

@media screen and (max-width: 450px) {
    .contact hr {
        display: none;
    }
}

@media screen and (max-width:570px) {
    .facts {
        display: inline-block;
        width: 100%;
    }

    .facts hr {
        display: none;
    }

    .fact_details {
        font-size: 14px;
    }

    .facts span {
        font-size: 30px;
        display: contents;
    }

    .facts div {
        display: flex;
        flex-direction: row;
        align-items: center;
    }
}

@media screen and (min-width: 801px) and (max-width: 900px) {
    #floating_top {
        height: 300px;
    }

    #floating_top a {
        font-size: 1.2rem;
        line-height: 30px;
    }

    #floating_top li:first-child a {
        text-underline-offset: 5px;
    }

    #floating_top button {
        margin-top: 15px;
        font-size: 1.2rem;
        border-radius: 6px;
        padding: 5px 10px;
    }

    #floating_top img {
        width:10px;
    }

    #floating_upper_middle {
        padding: 0 5rem 3rem;
        height: fit-content;
    }

    #floating_lower_middle {
        padding:5rem;
        padding-top: 3rem;
        padding-bottom:3rem;
    }
    
    h1{
        font-size: 20px;
        letter-spacing: 8px;
    }

    .section_name{
        margin-bottom: 20px;
    }

    .section_name hr{
        width: 4rem;
    }

    .intro {
        font-size: 12px;
        font-weight: 400;
        margin-bottom: 20px;
    }

    .job_description {
        display: flex;
        flex-direction: column;
    }

    .job_description p {
        width: 100%;
    }

    .crypto p {
        order:1;
    }

    .facts div {
        flex-direction: column;
        align-items: center;
    }
    
    #floating_upper_middle img {
        width: 80%;
        margin: 20px auto;
        display: block;
    }

    #floating_bottom{
        padding:3rem 5rem;
    }
}

@media screen and (min-width: 900px) and (max-width: 1130px) {
    #floating_top {
        height: 400px;
    }

    .facts div {
        flex-direction: column;
        align-items: center;
    }
}

@media screen and (min-width: 1130px) {
    .card_services{
        display: flex;
        justify-content: space-around;
    }
}

@media screen and (min-width: 600px) and (max-width:650px){
    body {
        min-height: 3100px;
    }
}

@media screen and (min-width: 1400px) {
    body {
        min-height: 3200px;
    }
}
   
@media screen and (min-width: 1650px) {
    body {
        min-height: 3500px;
    }
}

@media screen and (max-width: 399px) {
    .facts span {
        font-size: 20px;
    }
}

@media screen and (max-width: 380px) {
    .section_name hr {
        display: none;
    }

    #floating_upper_middle, #floating_lower_middle, #floating_bottom {
        padding:1.3rem;
    }

    .section_name {
        flex-direction: center;
    }

    h1 {
        margin: 0 auto;
    }

    .contact h1{
        text-align: center;
    }

    .card_image {
        width:60%;
    }

    footer p, footer span {
        font-size: 1rem;
    }
}