/*-----------------------------------------------------------------Home Page---------------------------------------------------------------------*/

/*----------------------------------------------------------------Style for Body-----------------------------------------------------------------*/
body {
    margin: 0;
    padding: 0;
    background-color: white;
    overflow-x: hidden;
}

/*----------------------------------------------------------------Style for Header---------------------------------------------------------------*/
header {
    background-image: url('Header-photo.jpg');
    background-color: grey;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    color: rgb(255, 255, 255);
    padding-top: 100px;
    padding-bottom: 100px;
    text-align: center;
    width: 100vw;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    font-size: 80px;
    font-weight: bold;
    z-index: 900;
    margin-bottom: 0px;
}
.photo-container {
    margin-top: 0;
    margin-bottom: 0;
    margin-left: 0;
    margin-right: 0;
}
/*-------------------------------Style for Navigation bar-------------------------------------*/
nav {
    position: fixed;
    display: inline-flex;
    width: 100%;
    height: fit-content;
    text-align: right;
    z-index: 999;
    margin: 0px;
    background-color: rgb(1, 0, 51);
}
nav ul {
    list-style-type: none;
    width: 100%;
    background-color: rgb(1, 0, 51);
    margin: 0px;
    padding: 2px; /* Changed from 02px to 2px */
    z-index: 999;
    text-align: right;
}
nav ul li {
    display: inline;
}
nav ul li a {
    display: inline-block;
    padding: 15px;
    background-color: rgb(1, 0, 51);
    color: white;
    text-decoration: none;
    font-size: 20px;
    font-family: sans-serif;
}
nav ul li a:hover {
    background-color: #555;
    color: white;
}
.login-nav {
    background-color: rgb(102, 201, 240); 
    color: rgb(1, 0, 71);
    font-weight: bold;
}
.login-nav:hover {
    background-color: rgb(0, 116, 8); 
    color: rgb(255, 255, 255);
    font-weight: bold;
}
/*-------------------------------Style for Heading of the Page-------------------------------------*/
.Speaker-box {
    margin-left: 50px;
    margin-right: 50px;
    margin-top: 20px;
    margin-bottom: 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(700px, 1fr));
    gap: 10px;
}
.speaker-heading {
    background-image: url('title-speaker.png');
    height: fit-content;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    text-align: center;
    color: white;
    font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
    font-size: 50px;
}
.speakers {
    display: inline-flex;
    height: 200px;
    border-radius: 5px;
    border: 2px solid black;
    background-color: white;
}
.speaker-details-box {
	width: 100%;
	padding-top: 10px;
	padding-bottom: 10px;
	padding-left: 30px;
	padding-right: 30px;
}
.speaker-name {
	width: 100%;
	padding-top: 2px;
	padding-bottom: 2px;
	height: fit-content;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 30px;
    font-weight: bold;
	border-bottom: 2px solid rgb(0, 0, 83);
    color: rgb(0, 0, 83);
}
.speaker-institute {
    font-family: Arial, Helvetica, sans-serif;
    font-weight: bold;
    font-size: 25px;
    color: black;
}
.speaker-research {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 20px;
	font-weight: bold;
    color: rgb(189, 0, 0);
}
.speaker-profiles {
	width: 100%;
	display: inline-flex;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 20px;
    gap: 20px;
	perspective: 5px;
}
.image-crop {
  width: 200px; /* Adjust this value to control the width of the cropped image */
  height: 200px; /* Adjust this value to control the height of the cropped image */
  overflow: hidden;
}

.image-crop img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

/*-------------------------------------------------------Style for the Footer Section-----------------------------------------------*/
footer {
    background-size: 100%;
    padding-left: 200px;
    padding-right: 200px;
    padding-top: 50px;
    padding-bottom: 50px;
    background-color: rgb(1, 0, 51);
    color: white;
}
.contacts {
    font-size: 60px;
    font-family: Arial, Helvetica, sans-serif;
    color: white;
    text-align: left;
}