/* Reset some default browser styles */
/* Glassmorpohism: https://codepen.io/kanishkkunal/pen/QWGzBwz */
body,
h1,
h2,
h3,
h4,
p {
    margin: 5px;
    padding: 0;
}

a:link {
    color: #000000;
}

a:visited a:hover {
    color: #4f4f4f;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f4f4f4;
}

.main {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    background-color: #fff;
}

.header {
    color: #fff;
    padding: 20px;
    text-align: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);

    background-color: #170d24;
    background-image:
      radial-gradient(ellipse at 10% 90%, #3c2d83 0%, transparent 55%),
      radial-gradient(ellipse at 90% 90%, #c33c65 0%, transparent 55%),
      radial-gradient(ellipse at 90% 10%, #4a74dc 0%, transparent 55%),
      radial-gradient(ellipse at 10% 10%, #35244f 0%, transparent 55%);
}

.menu-toggle {
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
    color: #fff;
    margin-right: 10px;
}

.nav-container {
    display: none;
}

/* Responsive Design */
@media only screen and (max-width: 600px) {
    .main {
        padding: 10px;
    }

    .header {
        padding: 10px;
    }

    .menu-toggle {
        display: block;
    }

    .topnav {
        display: none; 
        flex-direction: column;
        align-items: center;
    }

    .topnav a {
        display: block;
        width: 90%;
        padding: 10px 10px;
        text-decoration: none;
        color: #333;
        background-color: #eee;
        margin-bottom: 10px;
        border-radius: 5px;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    }

    .topnav a:hover {
        background-color: rgba(255,255,255,0.2);
    }

    .nav-container {
        display: block; /* Hide the navigation links container initially on small screens */
    }
}

@media only screen and (min-width: 601px) {
    .menu-toggle {
        display: none; /* Hide the hamburger icon on larger screens */
    }

    .topnav a {
        display: inline-block;
        padding: 24px 32px;
        border: 0;
        text-decoration: none;
        border-radius: 15px;
        background-color: rgba(255,255,255,0.1);
        border: 1px solid rgba(255,255,255,0.1);
        backdrop-filter: blur(30px);
        color: rgba(255,255,255,0.8);
        font-size: 14px;
        letter-spacing: 2px;
        cursor: pointer;
        text-transform: uppercase;
    }

    .nav-container {
        display: block; /* Ensure the navigation links are initially visible on larger screens */
    }
}

.topnav {
    margin-top: 20px;
}

.topnav a {
    display: inline-block;
    padding: 5px 10px;
    margin-top: 5px;
    border: 0;
    text-decoration: none;
    border-radius: 0px;
    background-color: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.1);
    backdrop-filter: blur(30px);
    color: rgba(255,255,255,0.8);
    font-size: 14px;
    letter-spacing: 2px;
    cursor: pointer;
    text-transform: uppercase;
}

.topnav a:hover {
    background-color: rgba(255,255,255,0.2);
}

ul,
ol {
    margin: 0px 0px 0px 0px;
    padding-top: 0;
}

.compact-list li {
    margin: 0px 0px 0px 0px;
    padding: 0;
}

li {
    margin: 10px 0px 10px 0px;
}

.notes,
.post,
.feedback-form {
    margin-top: 20px;
    background-color: #fff;
    padding: 20px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    border-radius: 5px;
}

.project {
    padding: 10px;
    margin: 10px 0px 10px 0px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.feedback-form form {
    display: grid;
    gap: 10px;
}

.pageStatus {
    text-align:center;
    padding-top: 0;
    margin-bottom: 0;
    color: orangered;
}

label {
    font-weight: bold;
}

button {
    padding: 10px 15px;
    background-color: #4a4949;
    color: #fff;
    border: none;
    cursor: pointer;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

button:hover {
    background-color: #007bb5;
}

hr {
    border: 1px solid #b8b8b8;
}

/*Timeline*/

.timeline {
    list-style: none;
    padding: 20px 0 20px;
    position: relative;
    margin-bottom: 0;
    width:100%;
}

.timeline:before {
    top: 0;
    bottom: 0;
    position: absolute;
    content: " ";
    width: 3px;
    background-color: #ddd;
    left: 50%;
    margin-left: -1.5px;
}

.timeline > li {
    margin-bottom: 20px;
    position: relative;
}

.timeline > li:before,
.timeline > li:after {
    content: " ";
    display: table;
}

.timeline > li:after {
    clear: both;
}

.timeline > li:before,
.timeline > li:after {
    content: " ";
    display: table;
}

.timeline > li:after {
    clear: both;
}

.timeline > li > .timeline-panel {
    width: 46%;
    float: left;
    padding: 0;
    position: relative;
}

.timeline > li > .timeline-panel:before {
    position: absolute;
    top: 26px;
    right: -15px;
    display: inline-block;
    border-top: 15px solid transparent;
    border-left: 15px solid rgba(255,255,255,.8);
    border-right: 0 solid rgba(255,255,255,.8);
    border-bottom: 15px solid transparent;
    content: " ";
}

.timeline > li > .timeline-panel:after {
    position: absolute;
    top: 27px;
    right: -14px;
    display: inline-block;
    border-top: 14px solid transparent;
    border-left: 14px solid rgba(255,255,255,.8);
    border-right: 0 solid rgba(255,255,255,.8);
    border-bottom: 14px solid transparent;
    content: " ";
}

.timeline > li > .timeline-badge {
    color: #fff;
    width: 50px;
    height: 50px;
    line-height: 20px;
    font-size: 20px;
    text-align: center;
    position: absolute;
    top: 16px;
    left: 50%;
    margin-left: -25px;
    background-color: #999999;
    z-index: 100;
    border-top-right-radius: 50%;
    border-top-left-radius: 50%;
    border-bottom-right-radius: 50%;
    border-bottom-left-radius: 50%;
}
.timeline > li > .timeline-badge .fa {
    font-size: 20px;
    line-height: 20px;
    margin-top: 15px;
}
.timeline > li.timeline-inverted > .timeline-panel {
    float: right;
}

.timeline > li.timeline-inverted > .timeline-panel:before {
    border-left-width: 0;
    border-right-width: 15px;
    left: -15px;
    right: auto;
}

.timeline > li.timeline-inverted > .timeline-panel:after {
    border-left-width: 0;
    border-right-width: 14px;
    left: -14px;
    right: auto;
}

@media (max-width: 768px) {
  ul.timeline:before {
      left: 40px;
  }

  ul.timeline > li > .timeline-panel {
      width: calc(100% - 90px);
      width: -moz-calc(100% - 90px);
      width: -webkit-calc(100% - 90px);
  }

  ul.timeline > li > .timeline-badge {
      left: 15px;
      margin-left: 0;
      top: 16px;
  }

  ul.timeline > li > .timeline-panel {
      float: right;
  }

  ul.timeline > li > .timeline-panel:before {
      border-left-width: 0;
      border-right-width: 15px;
      left: -15px;
      right: auto;
  }

  ul.timeline > li > .timeline-panel:after {
      border-left-width: 0;
      border-right-width: 14px;
      left: -14px;
      right: auto;
  }

  .jumbotron h1 {
    font-size: 1.5rem;
  } 
}  

/* https://www.codingflicks.com/2021/10/css-responsive-timeline-design.html */

* {
	box-sizing: border-box;
}
body {
	background: #e7e7e7;
}
.container {
	font-family: 'Roboto', sans-serif;
	display: flex;
	flex-wrap: wrap;
	max-width: 800px;
	margin: 0 auto;
}
.single-box {
	display: flex;
	flex-wrap: nowrap;
	justify-content: center;
	width: 100%;
}
.date-area {
	display: flex;
	background: linear-gradient(to right, #e7e7e7 45%, #000 45%, #000 45%, #e7e7e7 50%);
	order: 2;
	text-align: center;
	color: #fff;
	font-size: 28px;
	flex-basis: 100px;
}
.date-area>span {
	font-size: 20px;
	line-height: 70px;
	margin: auto;
	background: #14b6c1;
	width: 70px;
	height: 70px;
	border-radius: 50%;
}
.content {
	text-align: center;
	padding: 20px;
	border-radius: 25px;
	color: #858585;
	order: 3;
	width: 80%;
	padding-left: 10px;
	background: #fff;
}
.content {
	margin-bottom: 3%;
}
.content h2 {
	margin: 0;
	font-size: 14px;
	text-transform: uppercase;
}
.content h3 {
	margin: 5px;
	font-size: 14px;
	color: #000;
}
@media (min-width: 640px) {
	.content, .custom {
		width: 40%;
	}
	.box-right .content {
		order: 1;
		padding-right: 10px;
		border-radius: 25px;
	}
	.box-right .custom {
		order: 3;
	}
}
