* {
    margin: 0;
    padding: 0;
}

body, html {
    font-family: segoe ui;
    font-size: 100%;
    height: 100%;
}
body{
    display: flex;
    flex-direction: column;
}

.container {
    flex: 1;
    position: relative;
}


.menu>li>a, .submenu>li>a {
    color: #fff;
    cursor: pointer;
    display: block;
    padding: 1rem 1.5rem;
    text-decoration: none;
    transition: background-color .16s ease-in;
}

.menu>li>a:hover, .submenu>li>a:hover {
    background-color: #CD5C5C;
}

.navbar-menu {
    background-color: #F08080;
    margin: auto;
    width: calc(100%);
}

.navbar-menu .menu {
    display: block;
    text-align: center;
}

.navbar-menu .menu li {
    display: inline-block;
}

.navbar-menu .menu li:hover > .submenu {
    display: block;
    animation-name: showSubMenu;
    animation-duration: .4s;
}

/* Submenus*/
.navbar-menu .menu li ul {
    background-color: #f08080;
    display: none;
    position: absolute;
}

/* List items submenus */
.navbar-menu .menu li ul li {
    display: block;
}

.navbar-menu .menu li ul li a:active {
    animation-name: hideSubMenu;
    animation-duration: .4s;
}

/******************************************************
                        MINI MENU
******************************************************/
/* Mini menu */
.navbar-mini-menu {
    background-color: #f08080;
    display: none;
}

.navbar-mini-menu .menu-select {
    color: #fff;
    padding: 1rem 1.5rem;
}

.navbar-mini-menu .menu-select .btn-select {
    background: url("/static/add_data_app/images/hamburger.png") no-repeat center center;    cursor: pointer;
    position: absolute;
    height: 30px;
    width: 30px;
    right: 10px;
    top: 10px;
    background-size: contain;
}


.navbar-mini-menu .mini-menu-options {
    display: block;
}


.navbar-mini-menu .mini-menu-options li {
    display: block;
}


.navbar-mini-menu .mini-menu-options li .submenu {
    display: none;
}

.navbar-mini-menu .mini-menu-options li:focus {
    outline: 0;
}

.navbar-mini-menu .mini-menu-options li:focus > .submenu {
    display: block;
    animation-name: showSubMenu;
    animation-duration: .4s;
}


.navbar-mini-menu .mini-menu-options li a {
    display: block;
    padding: 1rem 1.5rem;
    color: #fff;
}

.mini-menu-options li a:hover{
    background-color: #CD5C5C;
}

@keyframes showSubMenu {
    0% {
    transform: scale(0,0);
    }
100% {
    transform: scale(1,1);
}
}

@keyframes hideSubMenu {
0% {
    transform: scale(1,1);
}
100% {
    transform: scale(0,0);
}
}


@media screen and (max-width: 750px) {

    .navbar-menu {
        margin: 0;
    }


    .navbar-menu .menu {
        display: none;
    }

    .navbar-mini-menu {
        display: block;
    }

    .navbar-mini-menu .mini-menu-options {
        display: none;
    }
}

.hero{
    flex: 1;
    margin: 3%;
    text-align: center;
}

footer {
    background-color: #f08080;
    padding: 5px 0;
    position: relative;
    bottom: 0;
    width: 100%;
    text-align: center;

}

.info {
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    /* font-size: var(--text-tiny); */
    padding: 1px 0;
    background-color: #CD5C5C;
}



/* 
===============================================
BASE HTML COMPLETED
===============================================
*/



.hero-index{
    text-align: center;
}

.upgrade-btn{
    text-decoration: none;
    color: white;
    padding: 3px;
    background-color: #CD5C5C;
    border-radius: 5px;
}
.upgrade-btn:hover{
    background-color: #F08080;
}

.edit-btn{
    text-decoration: none;
    color: white;
    padding: 3px;
    background-color: #0473b3;
    border-radius: 5px;
}
.edit-btn:hover{
    background-color: #3a87b4;
}

.delete-btn{
    text-decoration: none;
    color: white;
    padding: 3px;
    background-color: #e92323;
    border-radius: 5px;
}
.delete-btn:hover{
    background-color: #ee5252;
}




input{
    border: none;
    border-bottom: 1px solid #f08080;
    padding: 0.5rem; /* Adds space inside the input */
    font-size: 1rem; /* Adjusts font size */
}
input:focus{
    border: none;
    border-bottom: 2px solid #CD5C5C;
    outline: none; /* Ensures no outline on focus */
}


table { 
	width: 750px; 
	border-collapse: collapse; 
	margin:50px auto;
	}

/* Zebra striping */
tr:nth-of-type(odd) { 
	background: #eee; 
	}



td, th { 
	padding: 10px; 
	border: 1px solid #ccc; 
	text-align: left; 
	font-size: 1rem;
	}
th { 
    background: #f08080; 
    color: white; 
    font-weight: bold; 
    text-align: center;
    }

.basic_info_table{
    margin: auto 0;
    width: fit-content;
}

.basic_info{
    text-align: left;
}

.academic_records_table{
    width: 100%;
    margin: auto;
}


@media 
only screen and (max-width: 760px),
(min-device-width: 768px) and (max-device-width: 1024px)  {

	table { 
	  	width: 100%; 
	}

	/* Force table to not be like tables anymore */
	table, thead, tbody, th, td, tr { 
		display: block; 
	}
	
	/* Hide table headers (but not display: none;, for accessibility) */
	thead tr { 
		position: absolute;
		top: -9999px;
		left: -9999px;
	}
	
	tr { border: 1px solid #ccc; }
	
	td { 
		/* Behave  like a "row" */
		border: none;
		border-bottom: 1px solid #eee; 
		position: relative;
		padding-left: 50%; 
	}

	td:before { 
		/* Now like a table header */
		position: absolute;
		/* Top/left values mimic padding */
		top: 6px;
		left: 6px;
		width: 45%; 
		padding-right: 10px; 
		white-space: nowrap;
		/* Label the data */
		content: attr(data-column);

		color: #000;
		font-weight: bold;
	}

    .basic_info_table{
        margin: auto 0;
        width: 100%;
    }

    .basic_info_table th{
        display:none;
    }
    .basic_info{
        text-align: center;

    }

}

/* Custom styles for the form */
form {
    margin: 2rem auto;
    padding: 1.5rem;
    max-width: 500px;
    /* background-color: #f9f9f9; */
    border-radius: 8px;
    box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.1);
}

form .form-group {
    margin-bottom: 15px;
    display: flex;
    align-items: center; /* Vertically align labels and inputs */
}

form label {
    width: 100%; /* Adjust the width to your preference */
    margin-right: 15px; /* Space between label and input */
    font-size: 16px;
    text-align: left; /* Align label text to the right */
    display: inline-block;
}

form input, form select, form button {
    border: none;
    border-bottom: 1px solid #f08080;
    width: 90%;
    padding: 0.5rem;
    margin-bottom: 10px;
    font-size: 1rem;
}

form input:focus, form select:focus {
    border: none;
    border-bottom: 2px solid #CD5C5C;
    outline: none; /* Ensures no outline on focus */
}

form button {
    background-color: #f08080;
    color: white;
    cursor: pointer;
    font-weight: bold;
}

form button:hover {
    background-color: #CD5C5C;
}

.summary-btn{
    margin: 0;
    padding: 0;
    width: fit-content;
    box-shadow: none;
}

.add_academic_record-table{
    width: 100%;
    margin:0px auto;
}

.add_academic_record-table>td, .add_academic_record-table>th{
    font-size: 1rem;
}

.add_new_record_form{
    max-width: 100%;
    margin: 0;
    padding: 0;
}

.print-btn{
    font-size: 1rem;
    padding: 3px;
    border-radius: 5px;
    margin-top: 1rem;
    background-color: #F08080;
    border-color: #F08080;
    color:#fff
}

.filter-container {
    width: 100%;
    margin: 0 auto;
    box-sizing: border-box;
}

.report_form {
    max-width: 100%;
    display: flex;
    flex-wrap: wrap; /* Allow wrapping to the next row */
    gap: 15px; /* Space between fields */
    justify-content: center; /* Distribute space evenly */
    padding: 0.5rem;
    margin: auto 0;
}

.report_form label {
    display: block; /* Ensure labels stay above select fields */
    font-size: 14px;
    margin-bottom: 5px;
}

.report_form > div {
    flex: 0 0 calc(20% - 10px); /* Two fields per row */
    display: flex;
    flex-direction: column; /* Label above the field */
}

.report_form select,
.report_form button {
    padding: 8px;
    font-size: 14px;
    width: 100%;
    box-sizing: border-box;
}

.report_form button {
    margin-top: 5px;
    flex: 0 0 20%; /* Button takes the full row */
    display: flex;
    align-items: center;
    justify-content: center;
}

/* About Page Styles */
.about-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 50px;
    background: linear-gradient(-45deg, #ee7752, #e73c7e, #23a6d5, #23d5ab);
    background-size: 200% 200%; /* Ensure the gradient has enough area to animate */
    animation: gradientBG 10s ease infinite;
    border-radius: 50px;
    margin-top: 20px;
    /* min-height: 100vh; */
}

@keyframes gradientBG {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.animated-logo {
    width: 150px;
    height: auto;
    animation: pulse 3s infinite ease-in-out;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

.text-container {
    max-width: 600px;
    color: white;
    font-family: 'Arial', sans-serif;
    font-size: 18px;
    /* opacity: 0; */
    /* animation: fadeIn 2s forwards, slideUp 1s forwards; */
}
/* Typewriter Effect for Heading and Paragraph */
.text-container>h1{
    max-width: fit-content;
    display: inline-block;
    overflow: hidden;
    white-space: nowrap;
    border-right: 1px solid white;
    animation: typing 4s steps(50), blink 0.75s step-end infinite;
}

/* Typewriter effect animation */
@keyframes typing {
    from {
        width: 0;
    }
    to {
        width: 100%;
    }
}

/* Blinking cursor effect */
@keyframes blink {
    50% {
        border-color: transparent;
    }
}

.text-container > p {
    opacity: 0;
    color: #ced4da;
    animation: fadeIn 2s 4s forwards;
}

@keyframes fadeIn {
    0% { opacity: 0; }
    100% { opacity: 1; }
}

@keyframes slideUp {
    0% { transform: translateY(50px); opacity: 0; }
    100% { transform: translateY(0); opacity: 1; }
}

.contact-info {
    margin-top: 20px;
    font-size: 16px;
    opacity: 0;
    animation: fadeIn 2s 7s forwards ; /* Delay animation for contact info */
}

.contact-info p {
    color: #ced4da;
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: center;
}

.contact-info i {
    color: white;
    font-size: 20px;
}
