* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    background-color: white;
    color: #55372d;
    width: 100%;
    height: 100%;
}

h1,h2,h3,h4,h5,h6 {
    color: #d04662;
}

p {
    color: #55372d;
}

.main-container{
    z-index: 1;
    background-color: rgp(0,0,0, 0.5);
    padding: 20px;
}

header{
    display: flex;
    justify-content: center;
    align-items: center;
}

nav{
    position: relative;
    width: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px 50px 20px 50px;
    border-radius: 50px;
    background-color: #d04662;
}

nav ul{
    display: flex;
    justify-content: center;
    align-items: center;
}
nav ul li{
    list-style: none;
    float: left;
    margin: 2%;
}

nav ul li a{
    text-decoration: none;
    color: white;
    padding: 10px;
    text-transform: uppercase;    
}

nav ul li a:hover{
    color: rgb(255, 87, 87);    
}

.welcome{
    margin: 40px;
    display: block;
    overflow-x: hidden;
    justify-content: center;
    width: 100%;    
    height: 100%;
    padding-top: 10%;
    padding-right: 10%;
}

/* .image-container{
    position: fixed;
    right: 0;
    bottom: 0;
    min-width: 100%;
    min-height: 100%;
    z-index: -1;
    overflow: hidden;
}

.image-container img {
    min-width: 100%;
    min-height: 100%;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
} */


/* Container for the background */
.image-container {
    display: block;
    width: 100%;
    height: auto;
    overflow: hidden;
    position: relative;
    background-color: white; /* Default white background */
    
  }
  
  /* The background image */
  .my-image {
    width: 100%;
    height: auto;
    display: none; /* Hidden by default for small screens */
    object-fit: cover;
    max-width: 100%;
  }
  


.welcome-message{
    display: flex;
    flex-direction: column; 
    justify-content: center;
    max-width: 100%;
    margin: 20px;
    float: right;
    padding: 10px;
}

.welcome-message h1{
    text-align: left;
    font-size: 50px;
    color: #d04662;
}

.welcome-message p{
    text-align: justify;
    font-size: 23px;
    color: #55372d;
    
}

  /* For desktop screens (width >= 1274px) */
  @media screen and (min-width: 1274px) {
    .my-image {
      display: block; /* Show the image on desktop */
      position: fixed; /* Fixed position to cover the entire viewport */
      z-index: -1; /* Ensure the image is behind other content */
    }

    .welcome-message{
        max-width: 40%;
    }
  }

#resume{
    justify-content: center;
    align-items: center;
    padding: 10px 15px 10px 15px;
    font-weight: bold;
    border: none;
    background-color: #d04662;
    color: white;
    border-radius: 25px;
    cursor: pointer;
    font-size: 20px;
}

#connect{
    justify-content: center;
    align-items: center;
    margin: 20px 10px;
    padding: 10px 15px 10px 15px;
    font-weight: bold;
    border: none;
    background-color: #d04662;
    color: white;
    border-radius: 25px;
    cursor: pointer;
    font-size: 20px;
}

#connect:hover, #resume:hover {
    color: #d04662;
    background-color: transparent;
    border: 1px solid #d04662;
}

.certificates{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    flex-direction: column;
    margin-top: 20px;
}

.certificates h1{
    text-align: center;
    font-size: 50px;
    margin: 20px;
}

.certificate-container{
    display: flex;
    flex-direction: row;
    overflow-x: scroll;
    max-width: 100%;
    gap: 10px;
    padding: 20px;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
    border-radius: 20px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    scrollbar-width: none;
}

@keyframes scroll{
    0%{
        transform: translateX(0);
    }
    100%{
        transform: translateX(-100%);
    }
}

.certificate-box{
    float: left;
    margin: 1%;
    animation: scroll 10s linear infinite;
}

.certificate-box img:hover{
    box-shadow: 0 0 10px red;
    transition: 0.5;
}

.certificate-box h4 a{
    text-decoration: none;
    color: #55372d;
}

footer{
    background-color: #d04662;
    position: fixed;
    display: flex;
    justify-content: center;
    align-items: center;
    /* padding: 20px; */
    width: 100%;
    left: 0;
    bottom: 0;
}

.copyright {
    color: white;
}

.introduction{
    display: flex;
    justify-content: center;
    padding: 20px;
    margin-top: 20px;
}

.introduction-message{
    text-align: justify;
    font-size: 20px;
}

.blog-box{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 20px;
    max-height: 100%;
}

.blog-post{
    cursor: pointer;
    display: flex;
    padding: 8px;
    border-radius: 5px;
    width: 100%;
    margin: 1%;
}

.blog-post:hover{
    box-shadow: 0px 0px 2px black;
}

.post-details-bar {
    width: 100%;
}

.extra-info {
    display: flex;
    justify-content: space-between;
    min-width: 100%;
}


.Published-on, .author{
    display: flex; 
    align-items: end;
    color: #534642;
    margin-top: 1%;
}

.author {
    float: right;
}

.connect-main {
    display: flex;
    flex-direction: column;
    min-width: 100%;
    max-width: 100%;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin: 10px;
    padding:  15px;
    overflow: hidden;
}

.connections p {
    font-size: 20px;
    color: #55372d;
}

.connections {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin: 20px;
    padding: 20px;
}

.social-links {
    margin: 1%;
    align-items: center;
    justify-content: center;
    width: 40%;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    padding: 20px;
}

.social-links a {
    text-decoration: none;
}

.social-link-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: transparent;
    border: 1px solid #d04662;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    padding: 20px;
    font-weight: bold;
    font-size: large;
    width: 100%;
    color: #d04662;
}

.social-link-buttons:hover {
    background-color: #d04662;
    color: white;
}

.ProjectMasterContainer {
	margin-top: 1%;
    display: flex;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 20px;
}

.ProjectContainer {
	display: flex;
	flex-direction: column;
	border: 1px solid #d04662;
	width: 400px;
	overflow: hidden;
	margin: 1%;
	padding: 10px;
	border-radius: 20px;
	transition: transform 1s, box-shadow 1s;
}
.ProjectContainer:hover {
	box-shadow: 0px 0px 10px #d04662;
	transform: scale(1.01);
	}


.ProjectThumbnail {
	overflow: hidden;
	width: auto;
	height: 300px;
	margin: 5px;
	border-radius: 15px;
}

.ProjectThumbnailImage {
	width: 400px;
	height: 300px;
	border-radius: 15px;
}

.ProjectInfo {
	align-items: center;
	align-content: center;
	width: auto;
	height: auto;
	overflow: hidden;
}

.ProjectInfoTitle {
	text-align: center;
}

.ProjectInfoDescription {
	text-align: center;
}

.ProjectInfoLink {
	font-weight: 500;
	margin-top:5px;
	border: none;
	background-color: #d04662;
	width: 100%;
	height: auto;
	padding: 10px;
	font-size: 25px;
	color: white;
	border-radius: 15px;
	transition: 1s;
}

.ProjectInfoLink:hover {
	border: 1px solid #d04662;
	background-color: transparent;
	color: #d04662;
}


.ProjectTryLink {
	font-weight: 500;
	margin-top:5px;
	border: none;
	background-color: transparent;
	width: 100%;
	height: auto;
	padding: 10px;
	font-size: 25px;
	color: #d04662;
	border-radius: 15px;
	transition: 1s;
    border: 1px solid #d04662;
}

.ProjectTryLink:hover {
	border: 1px solid white;
	background-color: transparent;
	color: #d04662;
}

