* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Poppins', sans-serif;
}

:root {
    --main-background: #07060c;
    --main-text: #F3F5F7;
    --second-text: #a1a1a1;
    --third-text: #4e4e4e;
    --main-overlay: #0f0d16;
    --main-btn: #ffffff;
    --main-hover: #7dd1e7;
}

body {
    background-color: var(--main-background);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
}

/*navbar section*/
.navbar {
    position: fixed;
    top: -100px;
    left: 0;
    width: 100%;
    z-index: 4;
}

.navbar_container {
    z-index: 4;
    background-color: transparent;
    backdrop-filter: blur(16px) saturate(180%);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    background-color: #02020477;
    display: flex;
    width: 70vw;
    height: 70px;
    align-items: center;
    margin: 0 auto;
    margin-top: 20px;
    border-radius: 35px;
    border: #ffffff20 1px solid;
    justify-content: space-between;
}

.navbar_container h1 {
    color: var(--main-text);
    font-size: 30px;
    margin-left: 20px;
    font-weight: 600;
}

.navbar_container_right {
    margin-right: 20px;
}

.navbar_container_right a {
    transition: all 0.3s ease-in-out;
    color: var(--main-text);
    font-size: 30px;
    text-decoration: none;
    font-weight: 600;
    margin-left: 20px;
}

.navbar_container_right a:hover {
    transition: all 0.3s ease-in-out;
    color: var(--main-hover);
}

/*first section*/
.first {
    height: 100vh;
    width: 70vw;
    background-color: var(--main-background);
    margin: 0 auto;
}

.first_left_content_1, .first_left_content_2, .first_left_content_3, .first_left_content_4, #first_left_content_a {
    display: none;
}

.scroll {
    margin: 0 auto;
    text-align: center;
    color: var(--third-text);
    font-size: 2vh;
    position: fixed;
    top: 85vh;
    left: 0;
    width: 100%;
    z-index: 4;
}

.scroll img {
    height: 4vh;
    animation: bounce 2s ease infinite;
}

@keyframes bounce {
    70% { transform:translateY(0%); }
    80% { transform:translateY(-15%); }
    90% { transform:translateY(0%); }
    95% { transform:translateY(-7%); }
    97% { transform:translateY(0%); }
    99% { transform:translateY(-3%); }
    100% { transform:translateY(0); }
}

.first_left {
    display: flex;
    align-items: center;
    height: 100vh;
}

.first_left_content h1 {
    color: var(--main-text);
    font-size: 12vh;
}

#first_left_content_casper {
    background-image: linear-gradient(to right, #7dd1e7 0%, #394d9b 100%);
    -webkit-background-clip: text;
    -moz-background-clip: text;
    -webkit-text-fill-color: transparent;
    -moz-text-fill-color: transparent;
}

/*first section*/
.second {
    width: 70vw;
    background-color: var(--main-background);
    margin: 0 auto;
    margin-top: 10vh;
    display: flex;
}

.second_left {
    display: flex;
    align-items: center;
}

.second_left_content h1 {
    color: var(--main-text);
    font-size: 10vh;
}

#second_left_content_me {
    background-image: linear-gradient(to right, #7dd1e7 0%, #394d9b 100%);
    -webkit-background-clip: text;
    -moz-background-clip: text;
    -webkit-text-fill-color: transparent;
    -moz-text-fill-color: transparent;
}

.second_left_content p {
    color: var(--second-text);
    font-size: 6vh;
}

#second_left_content_numbers {
    color: var(--third-text);
    width: 5vh;
    text-align: left;
    display: inline-block;
}

.second_left_content_span {
    opacity: 0;
}

/*first section*/
.third {
    width: 70vw;
    background-color: var(--main-background);
    margin: 0 auto;
    margin-top: 20vh;
    height: 100vh;
}

.third_content {
    display: grid;
    grid-template-rows: auto;
}

.third_content h1 {
    color: var(--main-text);
    font-size: 10vh;
    margin-bottom: 25px;
}

#third_content_my {
    background-image: linear-gradient(to right, #7dd1e7 0%, #394d9b 100%);
    -webkit-background-clip: text;
    -moz-background-clip: text;
    -webkit-text-fill-color: transparent;
    -moz-text-fill-color: transparent;
}

.third_grid {
    display: grid;
    grid-gap: 10px;
    grid-template-rows: 1.2fr 1fr;
    height: 85vh;
}

.third_grid_1 {
    display: grid;
    grid-gap: 10px;
    grid-template-columns: 1fr 1.5fr 1.3fr;
    justify-content: flex-start;
    opacity: 0;
}

.third_grid_2 {
    display: grid;
    grid-gap: 10px;
    grid-template-columns: 1.2fr 1fr;
    justify-content: flex-start;
    opacity: 0;
}

#card {
    border-radius: 20px;
    border: #ffffff20 1px solid;
}

#card img {
    filter: invert();
}

#card h1 {
    transition: all 0.3s ease-in-out;
    font-size: 4vh;
    margin-left: 20px;
    margin-bottom: 0;
    color: var(--main-text);
    opacity: 100%;
}

#card p {
    transition: all 0.3s ease-in-out;
    font-size: 2vh;
    margin-left: 20px;
    margin-right: 20px;
    margin-top: 10px;
    font-weight: 600;
    color: var(--main-text);
    opacity: 100%;
}

.mysql {
    background-color: rgb(0, 117, 143, 0.20);
    color: var(--main-text);
    transition: all 0.3s ease-in-out;
}

.mysql:hover {
    background-color: rgb(0, 117, 143);
    transition: all 0.3s ease-in-out;
    box-shadow: 0 0 1vw 0 rgb(0, 117, 143, 0.5);
}

.mysql:hover #mysqlh1{
    transition: all 0.3s ease-in-out;
    color: var(--main-background);
}

.mysql:hover #mysqlp{
    transition: all 0.3s ease-in-out;
    color: var(--main-background);
}

.mysql:hover #mysqlimg{
    transition: all 0.3s ease-in-out;
    filter: none;
}

.mysql img {
    transition: all 0.3s ease-in-out;
    height: 8vh;
    margin-left: 20px;
    margin-top: 20px;
}

.html {
    background-color: rgb(228, 77, 38, 0.20);
    color: var(--main-text);
    transition: all 0.3s ease-in-out;
}

.html:hover {
    background-color: rgb(228, 77, 38);
    transition: all 0.3s ease-in-out;
    box-shadow: 0 0 1vw 0 rgb(228, 77, 38, 0.5);
}

.html:hover #htmlh1{
    transition: all 0.3s ease-in-out;
    color: var(--main-background);
}

.html:hover #htmlp{
    transition: all 0.3s ease-in-out;
    color: var(--main-background);
}

.html:hover #htmlimg{
    transition: all 0.3s ease-in-out;
    filter: none;
}

.html img {
    height: 8vh;
    margin-left: 20px;
    margin-top: 20px;
    transition: all 0.3s ease-in-out;
}

.css {
    background-color: rgb(38, 77, 228, 0.20);
    color: var(--main-text);
    transition: all 0.3s ease-in-out;
}

.css:hover {
    background-color: rgb(38, 77, 228);
    transition: all 0.3s ease-in-out;
    box-shadow: 0 0 1vw 0 rgb(38, 77, 228, 0.5);
}

.css:hover #cssh1{
    transition: all 0.3s ease-in-out;
    color: var(--main-background);
}

.css:hover #cssp{
    transition: all 0.3s ease-in-out;
    color: var(--main-background);
}

.css:hover #cssimg{
    transition: all 0.3s ease-in-out;
    filter: none;
}

.css img {
    height: 8vh;
    margin-left: 20px;
    margin-top: 20px;
    transition: all 0.3s ease-in-out;
}

.php {
    background-color: rgb(119, 123, 179, 0.20);
    color: var(--main-text);
    transition: all 0.3s ease-in-out;
}

.php:hover {
    background-color: rgb(119, 123, 179);
    transition: all 0.3s ease-in-out;
    box-shadow: 0 0 1vw 0 rgb(119, 123, 179, 0.5);
}

.php:hover #phph1{
    transition: all 0.3s ease-in-out;
    color: var(--main-background);
}

.php:hover #phpp{
    transition: all 0.3s ease-in-out;
    color: var(--main-background);
}

.php:hover #phpimg{
    transition: all 0.3s ease-in-out;
    filter: none;
}

.php img {
    height: 8vh;
    margin-left: 20px;
    margin-top: 20px;
    transition: all 0.3s ease-in-out;
}

.js {
    background-color: rgba(240, 219, 79, 0.20);
    color: var(--main-text);
    transition: all 0.3s ease-in-out;
}

.js:hover {
    background-color: rgba(240, 219, 79);
    transition: all 0.3s ease-in-out;
    box-shadow: 0 0 1vw 0 rgba(240, 219, 79, 0.5);
}

.js:hover #jsh1{
    transition: all 0.3s ease-in-out;
    color: var(--main-background);
}

.js:hover #jsp{
    transition: all 0.3s ease-in-out;
    color: var(--main-background);
}

.js:hover #jsimg{
    transition: all 0.3s ease-in-out;
    filter: none;
}

.js img {
    height: 8vh;
    margin-left: 20px;
    margin-top: 20px;
    transition: all 0.3s ease-in-out;
}

/*fourth section*/
.fourth {
    width: 70vw;
    background-color: var(--main-background);
    margin: 0 auto;
    margin-top: 20vh;
    height: 100vh;
}

.fourth_content {
    display: grid;
    grid-template-rows: auto;
}

.fourth_content h1 {
    color: var(--main-text);
    font-size: 10vh;
    margin-bottom: 25px;
}

#fourth_content_my {
    background-image: linear-gradient(to right, #7dd1e7 0%, #394d9b 100%);
    -webkit-background-clip: text;
    -moz-background-clip: text;
    -webkit-text-fill-color: transparent;
    -moz-text-fill-color: transparent;
}

.fourth_grid {
    display: grid;
    grid-gap: 10px;
    grid-template-rows: 1fr 1fr;
    height: 60vh;
}

.fourth_grid_1 {
    display: grid;
    grid-gap: 10px;
    grid-template-columns: 1fr;
    justify-content: flex-start;
    opacity: 0;
}

.fourth_grid_2 {
    display: grid;
    grid-gap: 10px;
    grid-template-columns: 1.2fr 1fr;
    justify-content: flex-start;
    opacity: 0;
}

#fourth_card {
    transition: all 0.3s ease-in-out;
    border-radius: 20px;
    border: #ffffff20 1px solid;
    padding: 20px;
    background-color: var(--main-overlay);
    color: var(--main-text);
}

#fourth_card:hover {
    transition: all 0.3s ease-in-out;
    background-color: var(--main-hover);
    color: var(--main-background);
    box-shadow: 0 0 1vw 0 rgb(125, 209, 231, 0.5);
}

#fourth_card:hover #fch1{
    transition: all 0.3s ease-in-out;
    color: var(--main-background);
}

#fourth_card:hover #fcp{
    transition: all 0.3s ease-in-out;
    color: var(--main-background);
}

#fourth_card h1 {
    transition: all 0.3s ease-in-out;
    font-size: 4vh;
    margin-bottom: 0;
    margin-top: -12px;
    color: var(--main-text);
    opacity: 100%;
}

#fourth_card p {
    transition: all 0.3s ease-in-out;
    font-size: 2vh;
    margin-top: 10px;
    font-weight: 600;
    color: var(--main-text);
    opacity: 100%;
}

/*footer section*/
.footer {
    background-color: #030305;
}

.footer_content {
    width: 70vw;
    margin: 0 auto;
    padding: 20vh 0;
    display: flex;
}

.footer_card {
    color: var(--main-text);
    display: flex;
    flex-direction: column;
    align-items: left;
}

#footer_content_my {
    background-image: linear-gradient(to right, #7dd1e7 0%, #394d9b 100%);
    -webkit-background-clip: text;
    -moz-background-clip: text;
    -webkit-text-fill-color: transparent;
    -moz-text-fill-color: transparent;
}

.footer_card h1 {
    font-size: 4vh;
}

.footer_card p {
    font-size: 2vh;
}

.footer_card a {
    transition: all 0.3s ease-in-out;
    color: var(--main-text);
    text-decoration: none;
    font-size: 2vh;
    display: flex;
    flex-direction: row;
    align-items: center;
}

.footer_card a:hover {
    transition: all 0.3s ease-in-out;
    color: var(--main-hover);
}

.footer_card img {
    filter: invert();
    height: 2vh;
    margin-right: 10px;
}

#footer_card_1 {
    margin-right: 20vh;
}