@import url('https://fonts.googleapis.com/css2?family=Secular+One&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Koulen&family=Potta+One&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Press+Start+2P&display=swap');

* {
    margin: 0;
    padding: 0;
    font-family: 'Secular One', sans-serif;
}

::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background-color: black;
}

::-webkit-scrollbar-thumb {
    background-color: #ff0000;
    border-radius: 100px;
}

html {
    scroll-behavior: smooth;
}

body {
    overflow-x: hidden;
}

/* CSS CODE FOR NAVBAR SECTION */

nav {
    position: fixed;
    height: 80px;
    width: 100%;
    background-color: black;
    color: white;
    z-index: 1000;
    overflow-y: hidden;

}

.navbar ul {
    list-style: none;
    display: flex;
    justify-content: center;
}

#click {
    display: none;
}

.navbar ul li {
    font-size: 30px;
    margin: 20px;
    transition: 0.5s;
}

.navbar ul li:hover {
    font-size: 35px;
    transition: 0.5s;
}

.navbar ul li a {
    text-decoration: none;
    color: white;
}

.navbar ul li a:hover {
    text-decoration: none;
    color: rgb(255, 0, 0);
}

.navbar ul li a:active {
    color: gold;
}

.navbar .menu-btn i {
    color: white;
    font-size: 30px;
    cursor: pointer;
    display: none;
}

#click:checked~.menu-btn i:before {
    content: "\f00d";
}

/* RESPONSIVE CODE FOR NAVBAR SECTION */

@media (max-width: 1200px) {
    nav {
        justify-content: center;
    }

    .navbar ul {
        position: fixed;
        top: 80px;
        left: -100%;
        background-color: black;
        height: 100vh;
        width: 100%;
        display: block;
        transition: 0.5s ease;
    }

    #click:checked~ul {
        left: 0%;
        text-align: center;
    }

    .navbar ul li {
        margin: 40px 0;
        color: white;
    }

    .navbar ul li:hover {
        font-size: 40px;
        transition: 0.5s;
        color: black;
    }

    .navbar .menu-btn i {
        display: block;
        position: fixed;
        top: 30px;
        right: 70px;
    }
}


/* CSS CODE FOR LOGO */

.logo {
    height: 80px;
    width: 150px;
    position: fixed;
    top: 0px;
    left: 0px;
    color: white;
    z-index: 1000;
    text-align: center;

}

.logo i {
    font-size: 30px;
    transition: 0.5s;
    margin-top: 15px;
}

.logo i:hover {
    font-size: 40px;
    transition: 0.5s;
}

.logo .fa-gear {
    color: rgb(255, 255, 255);
    font-size: 40px;
    animation-name: spin;
    animation-duration: 1s;
    animation-iteration-count: infinite;
    animation-timing-function: linear;
    width: 50px;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}


/* CSS FOR HOME SECTION */

#home {
    height: 100vh;
    width: 100%;
    background-image: url('./images/shuttle-fly.gif');
    background-repeat: no-repeat;
    background-size: cover;
    background-position-x: center;
    background-position-y: center;
}

#home #name {
    height: 70%;
    width: 100%;
    text-align: center;
}

#home #name span {
    font-family: 'Koulen', cursive;
    font-family: 'Potta One', cursive;
    position: relative;
    top: 30%;
    text-align: center;
    text-transform: uppercase;
    font-size: 150px;
    font-weight: 700;
    transition: 0.5s;
    color: white;
}

#home #name span:hover {
    font-size: 160px;
    transition: 0.5s;
    color: #ff0000;

}

@media (max-width:1000px) {
    #home #name span {
        font-size: 120px;
        position: relative;
        top: 25%;
    }

    #home #name span:hover {
        font-size: 140px;
    }

}

@media (max-width: 800px) {
    #home #name span {
        font-size: 100px;
        position: relative;
        top: 30%;
    }

    #home #name span:hover {
        font-size: 120px;
    }

}

@media (max-width: 650px) {
    #home #name span {
        font-size: 60px;
        position: relative;
        top: 40%;
    }

    #home #name span:hover {
        font-size: 90px;
    }


}

@media (max-width: 450px) {
    #home #name span {
        font-size: 50px;
        position: relative;
        top: 50%;
    }

    #home #name span:hover {
        font-size: 75px;
    }

}

@media (max-width: 350px) {
    #home #name span {
        font-size: 40px;
        position: relative;
        top: 50%;
    }

    #home #name span:hover {
        font-size: 75px;
    }

}

#home #links {
    height: 30%;
    width: 100%;
    display: flex;
    flex-direction: row;
}

#home #links a {
    text-decoration: none;
    color: white;
    margin: auto;
}

#home #links a i {
    font-size: 50px;
    transition: 0.5s;
}

#home #links a i:hover {
    font-size: 100px;
    transition: 0.5s;
}

#home #links a div {
    height: 50px;
    width: 120px;
    border: 5px solid white;
    border-radius: 100px;
    transition: 0.5s;
}

#home #links a div:hover {
    background-color: white;
    color: black;
    transition: 0.5s;
}

#home #links a div P {
    position: relative;
    top: 12px;
    left: 22px;
    font-size: 20px;
}

#home #links a .fa-file {
    display: none;
    position: absolute;
}

#home #links a .fa-bars-progress {
    display: none;
}

@media (max-width:1000px) {
    #home #links {
        display: grid;
        grid-template-columns: auto auto auto;
    }

    #home #links a i {
        font-size: 50px;
    }

    #home #links a .fa-discord {
        display: none;
    }

    #home #links a .fa-link {
        display: none;
    }

    #home #links a div {
        height: 40px;
        width: 100px;
    }

    #home #links a div p {
        position: relative;
        top: 7px;
        left: 12px;
        font-size: 20px;
    }

    #home #links a i:hover {
        font-size: 50px;
        transition: 0.5s;
        color: #ff0000;
    }


}

@media (max-width: 500px) {
    #home #links {
        display: grid;
        grid-template-columns: auto auto auto;
    }

    #home #links a div {
        display: none;
    }

    #home #links a .fa-file {
        display: block;
        position: relative;
        top: 5px;
    }

    #home #links a .fa-bars-progress {
        display: block;
    }

    #home #links a i:hover {
        font-size: 50px;
        transition: 0.5s;
        color: #ff0000;
    }

}

#about {
    height: 100vh;
    width: 100%;
    background-image: url('./images/sky.png');
    background-repeat: no-repeat;
    background-size: cover;
    background-position-x: center;
    background-position-y: center;
    overflow-x: hidden;
    display: flex;
}

#about .container {
    height: 70%;
    width: 80%;
    display: flex;
    flex-direction: row;
    margin: auto;
    border-radius: 100px;
    transition: 1s;

}

#about .container:hover {
    border-radius: 200px;
    transition: 1s;
}

#about .container .about {
    height: 100%;
    width: 50%;
    background-color: rgb(36, 35, 35);
    transition: 1s;
    border-top-left-radius: 100px;
    border-bottom-left-radius: 100px;
    display: flex;
}

#about .container .about:hover {
    border-top-left-radius: 200px;
    border-bottom-left-radius: 200px;
    transition: 1s;
}

#about .container .about p {
    margin: auto;
    width: 80%;
    font-size: 30px;
    color: white;
}

#about .container .about p span{
    margin: auto;
    width: 80%;
    font-size: 30px;
    color: gold;
    transition: 1s;
}

#about .container .about p span:hover{
    margin: auto;
    width: 80%;
    font-size: 35px;
    color: aqua;
    transition: 1s;
}

#about .container .creativity {
    height: 100%;
    width: 50%;
    background-image: url('./images/space.gif');
    background-repeat: no-repeat;
    background-size: cover;
    background-position-x: center;
    background-position-y: center;
    transition: 1s;
    border-top-right-radius: 100px;
    border-bottom-right-radius: 100px;
}

#about .container .creativity:hover {
    border-top-right-radius: 200px;
    border-bottom-right-radius: 200px;
    transition: 1s;
}

@media (max-width: 1500px) {
    #about .container .about p {
        margin: auto;
        width: 80%;
        font-size: 20px;
        color: white;
    }
    
    #about .container .about p span{
        margin: auto;
        width: 80%;
        font-size: 20px;
        color: gold;
        transition: 1s;
    }
    
    #about .container .about p span:hover{
        margin: auto;
        width: 80%;
        font-size: 25px;
        color: aqua;
        transition: 1s;
    }
}

@media (max-width: 1000px) {
    #about .container .about {
        height: 100%;
        width: 100%;
        border-radius: 100px;
        transition: 1s;
    }

    #about .container .about:hover {
        border-radius: 200px;
        transition: 1s;
    }

    #about .container .creativity {
        display: none;
    }

    #about .container .about p {
        margin: auto;
        width: 80%;
        font-size: 30px;
        color: white;
    }
    
    #about .container .about p span{
        margin: auto;
        width: 80%;
        font-size: 30px;
        color: gold;
        transition: 1s;
    }
    
    #about .container .about p span:hover{
        margin: auto;
        width: 80%;
        font-size: 35px;
        color: aqua;
        transition: 1s;
    }
}

@media (max-width: 800px) {
    #about .container .about p {
        margin: auto;
        width: 80%;
        font-size: 20px;
        color: white;
    }
    
    #about .container .about p span{
        margin: auto;
        width: 80%;
        font-size: 20px;
        color: gold;
        transition: 1s;
    }
    
    #about .container .about p span:hover{
        margin: auto;
        width: 80%;
        font-size: 25px;
        color: aqua;
        transition: 1s;
    }
}

@media (max-width: 400px) {
    #about .container .about p {
        margin: auto;
        width: 80%;
        font-size: 18px;
        color: white;
    }
    
    #about .container .about p span{
        margin: auto;
        width: 80%;
        font-size: 18px;
        color: gold;
        transition: 1s;
    }
    
    #about .container .about p span:hover{
        margin: auto;
        width: 80%;
        font-size: 20px;
        color: aqua;
        transition: 1s;
    }
}

/* CSS FOR SKILL SECTION */

#skill {
    height: 100vh;
    width: 100%;
    display: flex;
    flex-direction: row;
    background-image: url('./images/sky.png');
    background-repeat: no-repeat;
    background-size: cover;
    background-position-x: center;
    background-position-y: center;
    overflow-x: hidden;
}

#skill .container {
    height: 50%;
    width: 20%;
    transition: 1s;
    margin: auto;
    border-radius: 50px;
    background-color: rgb(36, 35, 35);
}

#skill .container:hover {
    height: 60%;
    width: 30%;
    transition: 1s;
    border-radius: 100px;
}

#skill .container p {
    display: none;
    color: white;
    font-size: 25px;
    text-align: left;
    position: relative;
    top: 50px;
    left: 100px;
    transition: 0.5s;
}

#skill .container p:hover {
    font-size: 30px;
    transition: 0.5s;
}

#skill .container .container-cover {
    height: 100%;
    width: 100%;
    transition: 0.5s;
    border-radius: 50px;
}

#skill .container #container-cover-programming {
    background-image: url('./images/programming.jpg');
    background-size: cover;
    background-repeat: no-repeat;
}

#skill .container #container-cover-softwares {
    background-image: url('./images/softwares.jpg');
    background-size: cover;
    background-repeat: no-repeat;
    background-position-x: center;

}

#skill .container #container-cover-libraries {
    background-image: url('./images/headphone.jpg');
    background-size: cover;
    background-repeat: no-repeat;
    background-position-x: center;
}

#skill .container .container-cover h1 {
    color: white;
    text-align: center;
    font-size: 40px;
    position: relative;
    top: 45%;
}


#skill .container .container-cover h1 i {
    animation-name: spin;
    animation-duration: 1s;
    animation-iteration-count: infinite;
    animation-timing-function: linear;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }

}

#skill .container:hover .container-cover {
    height: 100%;
    width: 100%;
    display: none;
    transition: 0.5s;
    border-radius: 100px;
}

#skill .container:hover p {
    display: block;
}

@media (max-width:1600px) {
    #skill {
        display: flex;
        flex-direction: column;
        height: 200vh;
    }

    #skill .container {
        height: 500px;
        width: 400px;
        transition: 0.5s;
    }

    #skill .container:hover {
        height: 500px;
        width: 400px;
        transition: 0.5s;
    }

    #skill .container p {
        font-size: 20px;
        position: relative;
        top: 75px;
        left: 75px;
        transition: 0.5s;
    }

    #skill .container p:hover {
        font-size: 25px;
        transition: 0.5s;
    }


}

@media (max-width: 600px) {
    #skill {
        display: flex;
        flex-direction: column;
        height: 140vh;
    }

    #skill .container {
        height: 400px;
        width: 300px;
    }

    #skill .container:hover {
        height: 400px;
        width: 300px;
    }

    #skill .container p {
        font-size: 15px;
        position: relative;
        top: 75px;
        left: 75px;
        transition: 0.5s;
    }

    #skill .container p:hover {
        font-size: 20px;
        transition: 0.5s;
    }

    #skill .container .container-cover h1 {
        color: white;
        text-align: center;
        font-size: 30px;
        position: relative;
        top: 45%;
    }


    #skill .container .container-cover h1 i {
        animation-name: spin;
        animation-duration: 1s;
        animation-iteration-count: infinite;
        animation-timing-function: linear;
    }
}

@media (max-width: 600px) {
    #skill {
        height: 180vh;
    }
}


/* CSS FOR PROJECT SECTION */

@keyframes tonext {
    75% {
        left: 0;
    }

    95% {
        left: 100%;
    }

    98% {
        left: 100%;
    }

    99% {
        left: 0;
    }
}

@keyframes tostart {
    75% {
        left: 0;
    }

    95% {
        left: -300%;
    }

    98% {
        left: -300%;
    }

    99% {
        left: 0;
    }
}

@keyframes snap {
    96% {
        scroll-snap-align: center;
    }

    97% {
        scroll-snap-align: none;
    }

    99% {
        scroll-snap-align: none;
    }

    100% {
        scroll-snap-align: center;
    }
}

*::-webkit-scrollbar {
    width: 0;
}

*::-webkit-scrollbar-track {
    background: transparent;
}

*::-webkit-scrollbar-thumb {
    background: transparent;
    border: none;
}

* {
    -ms-overflow-style: none;
}

ol,
li {
    list-style: none;
    margin: 0;
    padding: 0;
}

#projects {
    position: relative;
    perspective: 100px;
    height: 100vh;
    width: 100%;
}

.projects-pages {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    display: flex;
    overflow-x: scroll;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    background-image: url('./images/sky.png');
    background-size: cover;
    background-repeat: no-repeat;
}

.projects-slide {
    position: relative;
    flex: 0 0 100%;
    width: 100%;
    background-color: transparent;
}

.projects-slide:before {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate3d(-50%, -40%, 70px);
}


#projects::before,
#projects::after,
.projects-prev,
.projects-next {
    position: absolute;
    top: 50%;
    width: 4rem;
    height: 4rem;
    transform: translateY(-50%);
    border-radius: 50%;
    font-size: 0;
    outline: 0;
}

#projects::before,
.projects-prev {
    left: 0px;
}

#projects::after,
.projects-next {
    right: 0px;
}

#projects::before,
#projects::after {
    content: '';
    z-index: 1;
    background-color: rgb(36, 35, 35);
    background-size: 1.5rem 1.5rem;
    background-repeat: no-repeat;
    background-position: center center;
    color: white;
    font-size: 2.5rem;
    line-height: 4rem;
    text-align: center;
    pointer-events: none;
}

#projects::before {
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpolygon points='0,50 80,100 80,0' fill='%23fff'/%3E%3C/svg%3E");
}

#projects::after {
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpolygon points='100,50 20,100 20,0' fill='%23fff'/%3E%3C/svg%3E");
}

.projects-container {
    height: 70%;
    width: 70%;
    position: relative;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 100px;
    transition: 0.5s;
}

.projects-container:hover {
    border-radius: 150px;
    transition: 0.5s;
}

.projects-container-image {
    height: 100%;
    width: 100%;
    border-radius: 100px;
    transition: 0.5s;
}

.projects-container-image:hover {
    border-radius: 150px;
    transition: 0.5s;
}

.projects-container-info {
    height: 100%;
    width: 100%;
    border-radius: 100px;
    transition: 0.5s;
    display: none;
}

.projects-container-info:hover {
    border-radius: 150px;
    transition: 0.5s;
}

.projects-container .info {
    position: relative;
    top: -650px;
    padding: 10%;
    display: none;
    height: 80%;
    width: 80%;
    background: transparent;
}

.projects-container .info P {
    font-size: 30px;
}

.project-details {
    font-size: 30px;
}

.projects-container .info a {
    text-decoration: none;
    padding: 20px;
    border: 5px solid white;
    color: white;
    text-align: center;
    border-radius: 100px;
    transition: 0.5s;
    position: relative;
    top: 200px;
    left: 120px;
}

.info a:hover {
    background-color: white;
    color: black;
    transition: 0.5s;
}

.projects-container:hover .info {
    display: block;
}

.projects-container:hover .projects-container-image {
    display: none;
    transition: 0.5s;
}

.projects-container:hover .projects-container-info {
    display: block;
    transition: 0.5s;
}

.projects-container:hover .info p {
    display: block;
    color: white;
}

.projects-container:hover .info button {
    display: block;
}

#projects-container-image-1 {
    background-image: url('./images/ailoading.gif');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
}

#projects-container-image-2 {
    background-image: url('./images/assistant.gif');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
}

#projects-container-image-3 {
    background-image: url('./images/portfolio.gif');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
}

#projects-container-image-4 {
    background-image: url('./images/hand-tracking.gif');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
}

#projects-container-image-5 {
    background-image: url('./images/study.gif');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
}

#projects-container-info-1 {
    background-image: url('./images/ailoading.gif');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
    filter: blur(10px);
    -webkit-filter: blur(10px);
}

#projects-container-info-2 {
    background-image: url('./images/assistant.gif');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
    filter: blur(10px);
    -webkit-filter: blur(10px);
}

#projects-container-info-3 {
    background-image: url('./images/portfolio.gif');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
    filter: blur(10px);
    -webkit-filter: blur(10px);
}

#projects-container-info-4 {
    background-image: url('./images/hand-tracking.gif');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
    filter: blur(10px);
    -webkit-filter: blur(10px);
}

#projects-container-info-5 {
    background-image: url('./images/study.gif');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
    filter: blur(10px);
    -webkit-filter: blur(10px);
}



@media (max-width:1600px) {
    .projects-container {
        width: 400px;
    }

    .projects-container .info {
        position: relative;
        top: -600px;
        padding: 20%;
        height: 400px;
        width: 240px;
    }

    .projects-container .info a {
        padding: 20px;
        position: relative;
        top: 100px;
        left: 50px;
    }

    .projects-container .info P {
        font-size: 20px;
    }
    
    .projects-container #project-details {
        font-size: 15px;
    }
}

@media (max-width:600px) {

    .projects-container {
        height: 50%;
        width: 300px;
    }

    .projects-container .info {
        position: relative;
        top: -425px;
        padding: 20%;
        width: 180px;
        height: 300px;

    }

    .projects-container .info P {
        font-size: 15px;
    }
    
    .projects-container #project-details {
        font-size: 10px;
    }
}


/* CSS FOR BLOG SECTION */

@keyframes tonext {
    75% {
        left: 0;
    }

    95% {
        left: 100%;
    }

    98% {
        left: 100%;
    }

    99% {
        left: 0;
    }
}

@keyframes tostart {
    75% {
        left: 0;
    }

    95% {
        left: -300%;
    }

    98% {
        left: -300%;
    }

    99% {
        left: 0;
    }
}

@keyframes snap {
    96% {
        scroll-snap-align: center;
    }

    97% {
        scroll-snap-align: none;
    }

    99% {
        scroll-snap-align: none;
    }

    100% {
        scroll-snap-align: center;
    }
}

*::-webkit-scrollbar {
    width: 0;
}

*::-webkit-scrollbar-track {
    background: transparent;
}

*::-webkit-scrollbar-thumb {
    background: transparent;
    border: none;
}

* {
    -ms-overflow-style: none;
}

ol,
li {
    list-style: none;
    margin: 0;
    padding: 0;
}

#blog {
    position: relative;
    perspective: 100px;
    height: 100vh;
    width: 100%;
}

.blog-pages {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    display: flex;
    overflow-x: scroll;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    background-image: url('./images/sky.png');
    background-size: cover;
    background-repeat: no-repeat;
}

.carousel-slide {
    position: relative;
    flex: 0 0 100%;
    width: 100%;
    background-color: transparent;
}

.carousel-slide:before {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate3d(-50%, -40%, 70px);
}


#blog::before,
#blog::after,
.blog-prev,
.blog-next {
    position: absolute;
    top: 50%;
    width: 4rem;
    height: 4rem;
    transform: translateY(-50%);
    border-radius: 50%;
    font-size: 0;
    outline: 0;
}

#blog::before,
.blog-prev {
    left: 0px;
}

#blog::after,
.blog-next {
    right: 0px;
}

#blog::before,
#blog::after {
    content: '';
    z-index: 1;
    background-color: rgb(36, 35, 35);
    background-size: 1.5rem 1.5rem;
    background-repeat: no-repeat;
    background-position: center center;
    color: white;
    font-size: 2.5rem;
    line-height: 4rem;
    text-align: center;
    pointer-events: none;
}

#blog::before {
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpolygon points='0,50 80,100 80,0' fill='%23fff'/%3E%3C/svg%3E");
}

#blog::after {
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpolygon points='100,50 20,100 20,0' fill='%23fff'/%3E%3C/svg%3E");
}

.blog-container {
    height: 70%;
    width: 25%;
    position: relative;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 100px;
    transition: 0.5s;
}

.blog-container:hover {
    border-radius: 150px;
    transition: 0.5s;
}

.blog-container-image {
    height: 100%;
    width: 100%;
    border-radius: 100px;
    transition: 0.5s;
}

.blog-container-image:hover {
    border-radius: 150px;
    transition: 0.5s;
}

.blog-container-info {
    height: 100%;
    width: 100%;
    border-radius: 100px;
    transition: 0.5s;
    display: none;
}

.blog-container-info:hover {
    border-radius: 150px;
    transition: 0.5s;
}

.info {
    position: relative;
    top: -650px;
    padding: 10%;
    display: none;
    height: 80%;
    width: 80%;
    background: transparent;
}

.info P {
    font-size: 30px;
}

.info a {
    text-decoration: none;
    padding: 20px;
    border: 5px solid white;
    color: white;
    text-align: center;
    border-radius: 100px;
    transition: 0.5s;
    position: relative;
    top: 300px;
    left: 120px;
}

.info a:hover {
    background-color: white;
    color: black;
    transition: 0.5s;
}

.blog-container:hover .info {
    display: block;
}

.blog-container:hover .blog-container-image {
    display: none;
    transition: 0.5s;
}

.blog-container:hover .blog-container-info {
    display: block;
    transition: 0.5s;
}

.blog-container:hover .info p {
    display: block;
    color: white;
}

.blog-container:hover .info button {
    display: block;
}

#blog-container-image-1 {
    background-image: url('./images/blackhole.jpg');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
}

#blog-container-image-2 {
    background-image: url('./images/astro.webp');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
}

#blog-container-image-3 {
    background-image: url('./images/ai.gif');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
}

#blog-container-image-4 {
    background-image: url('./images/hole.jpg');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
}

#blog-container-info-1 {
    background-image: url('./images/blackhole.jpg');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
    filter: blur(10px);
    -webkit-filter: blur(10px);
}

#blog-container-info-2 {
    background-image: url('./images/astro.webp');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
    filter: blur(10px);
    -webkit-filter: blur(10px);
}

#blog-container-info-3 {
    background-image: url('./images/ai.gif');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
    filter: blur(10px);
    -webkit-filter: blur(10px);
}

#blog-container-info-4 {
    background-image: url('./images/hole.jpg');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
    filter: blur(10px);
    -webkit-filter: blur(10px);
}


@media (max-width:1600px) {
    .blog-container {
        width: 400px;
    }

    .info {
        position: relative;
        top: -600px;
        padding: 20%;
        height: 400px;
        width: 240px;
    }

    .info a {
        padding: 20px;
        position: relative;
        top: 100px;
        left: 50px;
    }
}

@media (max-width:600px) {
    .blog-container {
        height: 50%;
        width: 300px;
    }

    .info {
        position: relative;
        top: -425px;
        padding: 20%;
        width: 180px;
        height: 300px;

    }

    .info P {
        font-size: 20px;
    }

    .info a {
        padding: 20px;
        position: relative;
        top: 100px;
        left: 15px;
    }
}

/* CSS FOR CONTACT SECTION */

#contact {
    overflow-x: hidden;
    height: 40vh;
    width: 100%;
    background-color: black;
}

#contact div {
    height: 40vh;
    width: 100%;
}

#contact #socials {
    display: flex;
    flex-direction: row;

}

#contact #socials a {
    margin: auto;
    font-size: 75px;
    color: white;
    transition: 0.5s;
}

#contact #socials a:hover {
    margin: auto;
    font-size: 100px;
    color: white;
    transition: 0.5s;
}

@media (max-width:1000px) {
    #contact #socials {
        display: grid;
        grid-template-columns: auto auto auto;
    }

    #contact #socials a:hover {
        margin: auto;
        font-size: 75px;
        color: white;
        transition: 0.5s;
        color: #ff0000;
    }
}

@media (max-width:500px) {
    #contact #socials a {
        font-size: 50px;
    }

    #contact #socials a:hover {
        margin: auto;
        font-size: 50px;
        color: white;
        transition: 0.5s;
        color: #ff0000;
    }
}