@import url('https://fonts.googleapis.com/css?family=Poppins:300,400,500,600,700,800,900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sant-serif;
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    overflow-x: hidden;
    background: linear-gradient(#000000, #333333);
}

header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    padding: 30px 100px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 10000;
}

header .logo {
    color: #fff;
    font-weight: 700;
    text-decoration: none;
    font-size: 2em;
    text-transform: uppercase;
    letter-spacing: 2px;
}

header ul {
    display: flex;
    justify-content: center;
    align-items: center;
}

header ul li {
    list-style: none;
    margin-left: 20px;
}

header ul li a {
    text-decoration: none;
    padding: 6px 15px;
    color: #fff;
    border-radius: 20px;
}

header ul li a:hover ,
header ul li a.active {
    background: #fff;
    color: #2b1055;
}

section {
    position: relative;
    width: 100%;
    height: 100vh;
    padding: 100px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

section::before {
    content: '';
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 50px;
    background: linear-gradient(to top, #fff, transparent);
    z-index: 1000;
}

section img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
}

section img#stars {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.1);
    z-index: -1;
}

section img#moon {
    mix-blend-mode: screen;
}

section img#man {
    top: 10px;
}

section img#cloud_1 {
    top: 0;
    left: auto;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.1);
    z-index: 10;
}

#text {
    /* position: absolute; */
    display: inline-block;
    color: #d4d0d6;
    white-space: nowrap;
    font-size: 7.5vw;
    font-size: 3.5em;
    z-index: 9;
}

.about,
.work,
.contact {
    position: relative;
    padding: 100px;
    background: #fff;
}

.about h1,
.work h1,
.contact h1 {
    font-size: 4em;
    margin-bottom: 10px;
}

.about h2,
.work h2 {
    margin-left: 20px;
    font-size: 2.5em;
    margin-bottom: 10px;
}

.about li,
.work li {
    margin-left: 55px;
    font-size: 1.5em;
}

.about p,
.work p {
    font-size: 1.5em;
}

iframe {
    flex: 1;
    width: auto;
}

footer {
    background-color: #333;
    color: #fff;
    padding: 5px;
    text-align: center;
}

.back-to-top button {
    display: none;
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background-color: #fff;
    color: #000;
    text-align: center;
    line-height: 50px;
    cursor: pointer;
    z-index: 5000;
}

.container {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    /* max-width: 1600px; */
    flex-wrap: wrap;
    z-index: 1;
}

.container .card {
    position: relative;
    width: 280px;
    height: 400px;
    margin: 30px;
    box-shadow: 20px 20px 50px rgba(0, 0, 0, 0.5);
    border-radius: 15px;
    background: rgba(208, 208, 208, 0.2);
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    border-top: 1px solid rgba(255, 255, 255, 0.5);
    border-left: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(5px);
}

.container .card .content {
    position: absolute;
    padding: 20px;
    text-align: center;
    transform: translateY(90px);
    opacity: 0;
    transition: 0.5s;
}

.container .card:hover .content {
    transform: translateY(0px);
    opacity: 1;
}

.container .card svg {
    position: relative;
    top: -80px;
    padding: 20px;
    text-align: center;
    transform: translateY(90px);
    opacity: 1;
    transition: 0.5s;
}

.container .card:hover svg {
    transform: translateY(0px);
    opacity: 0;
}

.container .card .content h2 {
    position: absolute;
    top: -180px;
    /* right: 30px; */
    font-size: 8em;
    color: #000;
    /* color: rgba(255, 255, 255, 0.5); */
    pointer-events: none;
}

.container .card .content h3 {
    font-size: 1.8em;
    color: #000;
    z-index: 1;
}

.container .card .content p {
    font-size: 1em;
    color: #000;
    font-weight: 300;
}

.container .card .content a {
    position: relative;
    display: inline-block;
    padding: 8px 20px;
    background: #fff;
    color: #000;
    border-radius: 20px;
    text-decoration: none;
    font-weight: 500;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}