html{
    cursor: crosshair;
}
nav {
    background-color: #3D0000; /* dark red */
    padding: 10px 0;
    text-align: center; /* Center align nav items */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000; /* Ensure it stays on top */
}
footer {
    background-color: #3D0000; /* dark red */
    color: #fff; /* white text */   
    padding: 10px;
    text-align: center;
    position: fixed;
    bottom: 0;
    width: 100%;
}
section {
    position: relative;
    top: 40px;
    background-color: #71142f; /* wine red background */
    color: #fff;
    border-radius: 5px; /* Rounded corners */
    margin-top: 60px; /* Adjust top margin */
    padding: 20px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); /* Subtle shadow */
    width: 80%;
    max-width: 730px; 
    margin: 100px auto 50px; /* More top margin, auto horizontal, less bottom margin */
}
.aboutmesection{
    position:absolute;
    left:25%;
}

body {
    background-color: #171717; /* grayish background */
    color: #2c3e50; /* dark blue text */
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 0;
}
nav a {
    color: #fff; /* white text */
    text-decoration: none;
    padding: 10px 20px; /* Larger padding */
    margin: 0 5px; /* Reduce margin between links */
    display: inline-block; /* Organize links in a line */
    border-radius: 5px; /* Rounded corners for buttons */
    transition: background-color 0.3s; /* Smooth background transition */
    max-width: 150px;
}
/*nav img{
    height: 270px;
    width: 810px;
    position: absolute;
    top: -90px;
    opacity: 1;
    color: #fff;

}   
nav img:active{
    opacity: 0;
    display: flex;
    cursor: e-resize;
    
    content:none;
    position: absolute;
    z-index: -1%;
    transition: all 250ms;
    align-self: flex-end;
    
} */



nav a:hover{
    background-color: #702963; /* purple on hover */
}
.overlay {
    display:flex;
    position: absolute;
    top:120px;
    left: 90px;
    height: 250px;
    width: 180px;
    justify-content: flex-start;
    align-items: center;
    opacity: 0;
    transition: .5s ease;
    background-color: #3D0000;
    border-radius: 50%;

}
.aboutme img{
    display:flex;
    position: relative;
    padding: 20px;
    border-radius: 50%;
    top: 100px;
    left: 70px;
    height: 250px;
    width: 180px;
    justify-content: flex-start;
    align-items: center;
}
.container{
    display: flex;
    flex-direction: column;
    position:relative;
    width:20%;
    justify-content: flex-start;
    align-items: flex-start;

}
.container:hover .overlay{
    opacity: 1;
    position: absolute;
    height: 250px;
    width: 180px;
    border-radius: 50%;
}
.text{
    color: white;
    font-size: 20px;
    position: relative;
    
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);   
    transform: translate(-50%, -50%);
    text-align: center;
}
.contacts-container{
    display:grid;
    grid-template-columns: auto auto ;
    grid-gap: 20px 60px;
   
    background-color: #71142f;
    padding: -20px;
    
}
.contact{
    background-color: #171717;
    border-radius: 5px;
    border: 5px solid rgba(0, 0, 0, 0);
    padding: 20px;
    text-align: start;
}
.outcomegrid{
    display:grid;
    grid-template-columns: 20% 20%;
    margin-left:20%;
    text-align: center;
}
.outcomegrid a{
    text-decoration: none;
    background-color: #71142f;
    padding-left:40px;
    padding-right:40px;
    color:white;
    transition: background-color 0.3s;
}
.outcomegrid a:hover{
    background-color: #702963;
    
}
.mystery-container{
    width:40%;
    height:50%;
    position:absolute;
    top:30%;
    left:30%;
}
.triangleside1{
    position: absolute;
    top:90%;
    left:5%;
    border-bottom: 50px solid #71142f;
	border-left: 86px solid transparent;
	border-right: 86px solid transparent;
	height: 0;
	width: 250px; 
    color:white;
    text-align: center;
}
.triangleside2{
    position: absolute;
    top:50%;
    left:-9%;
    border-bottom: 50px solid #71142f;
	border-left: 86px solid transparent;
	border-right: 86px solid transparent;
	height: 0;
	width: 250px; 
    color:white;
    transform: rotate(120deg);
    text-align: center;
    text-decoration: none;
}
.triangleside3{
    position: absolute;
    top:50%;
    left:19%;
    border-bottom: 50px solid #71142f;
	border-left: 86px solid transparent;
	border-right: 86px solid transparent;
	height: 0;
	width: 250px; 
    color:white;
    transform: rotate(240deg);
    text-align: center;
}
#triangleside11{
    text-decoration: none;
    color:white;
}
#triangleside12{
    text-decoration: none;
    color:white;
    transform: rotate(180deg);
}
#triangleside13{
    text-decoration: none;
    color:white;
}
#triangleside11:hover{
    background-color: #2c3e50;
    border-bottom: aquamarine;
    cursor: pointer;
}
.organisation img{
    position: relative;
    height: 100%;
    width:100%;
    padding-top:4%;
    border-radius: none;
}
.organisation h3{
    text-align: center;
}
#projlink{
    text-decoration: none;
    color:white;
}