/*
 Theme Name: Liton
 Theme URI: https://devellix.com/
 Author: Devellix
 Author URI: https://devellix.com/
 Description: A personal portfolio theme
 Version: 2.3
 License: GPL
 License URI: GPL
 Text Domain: liton
 Tags: one-column, two-columns, right-sidebar, grid-layout, custom-menu, custom-logo, footer-widgets, blog, e-commerce, education, portfolio
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

@import url("https://fonts.googleapis.com/css2?family=Epilogue:ital,wght@0,400;0,500;0,700;0,800;1,400;1,500;1,700;1,800&family=Gentium+Book+Plus:ital,wght@0,400;0,700;1,400;1,700&family=Montserrat:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;1,100;1,300;1,400;1,500;1,600&display=swap");

html {
	color: #222;
	font-size: 1em;
	line-height: 1.4;
}

/*
 * Remove text-shadow in selection highlight:
 * https://twitter.com/miketaylr/status/12228805301
 *
 * Customize the background color to match your design.
 */

::-moz-selection {
	background: #b3d4fc;
	text-shadow: none;
}

::selection {
	background: #b3d4fc;
	text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
	display: block;
	height: 1px;
	border: 0;
	border-top: 1px solid #ccc;
	margin: 1em 0;
	padding: 0;
}

/*
 * Remove the gap between audio, canvas, iframes,
 * images, videos and the bottom of their containers:
 * https://github.com/h5bp/html5-boilerplate/issues/440
 */

audio,
canvas,
iframe,
img,
svg,
video {
	vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
	border: 0;
	margin: 0;
	padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
	resize: vertical;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */

/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Hide visually and from screen readers
 */

.hidden,
[hidden] {
	display: none !important;
}

/*
 * Hide only visually, but have it available for screen readers:
 * https://snook.ca/archives/html_and_css/hiding-content-for-accessibility
 *
 * 1. For long content, line feeds are not interpreted as spaces and small width
 *    causes content to wrap 1 word per line:
 *    https://medium.com/@jessebeach/beware-smushed-off-screen-accessible-text-5952a4c2cbfe
 */

.visually-hidden {
	border: 0;
	clip: rect(0, 0, 0, 0);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute;
	white-space: nowrap;
	width: 1px;
	/* 1 */
}

/*
 * Extends the .visually-hidden class to allow the element
 * to be focusable when navigated to via the keyboard:
 * https://www.drupal.org/node/897638
 */

.visually-hidden.focusable:active,
.visually-hidden.focusable:focus {
	clip: auto;
	height: auto;
	margin: 0;
	overflow: visible;
	position: static;
	white-space: inherit;
	width: auto;
}

/*
 * Hide visually and from screen readers, but maintain layout
 */

.invisible {
	visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * The use of `table` rather than `block` is only necessary if using
 * `::before` to contain the top-margins of child elements.
 */

.clearfix::before,
.clearfix::after {
	content: "";
	display: table;
}

.clearfix::after {
	clear: both;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media only screen and (min-width: 35em) {
	/* Style adjustments for viewports that meet the condition */
}

@media print,
	(-webkit-min-device-pixel-ratio: 1.25),
	(min-resolution: 1.25dppx),
	(min-resolution: 120dpi) {
	/* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid the additional HTTP request:
   https://www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */

@media print {
	*,
	*::before,
	*::after {
		background: #fff !important;
		color: #000 !important;
		/* Black prints faster */
		box-shadow: none !important;
		text-shadow: none !important;
	}

	a,
	a:visited {
		text-decoration: underline;
	}

	a[href]::after {
		content: " (" attr(href) ")";
	}

	abbr[title]::after {
		content: " (" attr(title) ")";
	}

	/*
   * Don't show links that are fragment identifiers,
   * or use the `javascript:` pseudo protocol
   */
	a[href^="#"]::after,
	a[href^="javascript:"]::after {
		content: "";
	}

	pre {
		white-space: pre-wrap !important;
	}

	pre,
	blockquote {
		border: 1px solid #999;
		page-break-inside: avoid;
	}

	tr,
	img {
		page-break-inside: avoid;
	}

	p,
	h2,
	h3 {
		orphans: 3;
		widows: 3;
	}

	h2,
	h3 {
		page-break-after: avoid;
	}
}

/*
Theme style starts
*/

.container {
	max-width: 1200px;
}

/*==========================
   HEADER Starts
===========================*/

.liton-logo-area a {
	text-decoration: none;
	color: #030303;
	font-size: 44px;
	font-family: "Gentium Book Plus", serif;
	letter-spacing: 1px;
}

.liton-logo-area {
	margin-top: 20px;
}

header {
	border-bottom: 2px solid #d8d8d8;
}

/*==========================
   HEADER END
===========================*/

/*==============

HOME- BIO SECTION

=============== */
.section-title{
	font-size: 25px;
	font-family: "Montserrat", sans-serif;
	margin-bottom: 20px;
	margin-top: 20px;
	letter-spacing: 1px;
}
.bio-section {
	display: flex;
	column-gap: 40px;
	margin-bottom: 70px;
}

.bio-section .photo{
	width: 30%;
}

.bio-section img{
	width: 100%;
	height: auto;
}

.bio-section .details-bio{
	width: 70%;;
}

.bio-section .details-bio {
	font-family: "Montserrat", sans-serif;
	font-size: 17px;
	color: black;
}

.bio-section .contact-button {
	text-decoration: none;
	font-family: "Montserrat", sans-serif;
	font-size: 17px;
	color: black;
	border: 1px solid #000;
	padding: 10px 20px;
	border-radius: 4px;
	transition: 0.2s ease-in;
	margin-top: 10px;
    display: inline-block;
}

.bio-section .contact-button:hover {
	background-color: #000;
	color: #fff;
	cursor: pointer;
}

.social-media {
	text-align: center;
}
.social-media a {
	color: #000;
	cursor: pointer;
	border: 1px solid #000;
	border-radius: 50%;
	display: inline-block;

	width: 40px;
	height: 40px;

	padding-top: 6px;
	font-size: 17px;
	transition: 0.2s ease-in;
	margin-right: 5px;
	margin-top: 20px;
}

.social-media a:hover {
	color: #fff;
	background: #000;
}

.research-details{
	font-family: "Montserrat", sans-serif;
	font-size: 17px;
}
.research-details a {
	color: #000;
	font-weight: bold;

}


@media all and (max-width: 768px){
	
	.liton-logo-area a{
		font-size: 35px;
	}
	
	.bio-section{
		display: block;
	}
	.bio-section .photo{
		display: block;
		text-align: center;
		width: 100%;
	}
	.bio-section .social-media{
		margin-bottom: 20px;
	}
	
	.bio-section .details-bio {
		width: 100%;
	}
}


/** EDUCATION COMPONENT **/

.liton_education p{
	margin-bottom: 0.3em;
}

.liton_education > ul{
	margin: 0;
	padding: 0;
	list-style: none;
}

.liton_education .item{
	border-bottom: 1px solid #86868633;
	padding: 10px;
}

.liton_education .item:last-child{
	border-bottom: none;
	padding: 10px;
}

.liton_education .degree-date {
	font-size: 14px;
	color: #6d6d6d;
	margin-top: -4px;
	margin-bottom: 12px;
}

 .degree {
	font-size: 19px;
	color: #000;
	font-style: italic;
	font-family: sans-serif;
}

.liton_education .project-title,
.liton_education .fields{
	font-size: 16px;
	color: #000;;
	margin-bottom: 0.2em
}

.liton_education .description li{
	list-style: disc;
}


/** PROJECT LOOP START ***/

.climate-projects-container a{
	display: block;
	text-decoration: none;
}
.climate-projects-container img {
    width: 100%;
    height: 371px;
    object-fit: cover;
}

.climate-projects-container .climate-project-title{
	font-family: 'Roboto';
	font-size: 18px;
	color: #000;
	text-decoration: none;
	text-align: center;
	padding: 10px 0 40px 0;

}


/** PROJECT DETAILS PAGE ***/

.project-details{
	max-width: 1200px;
	margin: 0 auto;
}
.project-details .date{
	text-align: center;
	font-size: 17px;
	font-family: 'Roboto';

}

.project-details .title{
	text-align: center;
	font-size: 34px;
	font-family: 'Roboto';
	letter-spacing: 1px;
	margin-bottom: 40px;

}

.project-details .project-main{
	display: flex;
	column-gap: 40px;
}

.project-details .project-image{
	width: 40%;
}
.project-details img{
	width: 100% ;
	height: 100%;
	object-fit: cover;
}

.project-details .project-content{
	width: 60%;
}

.project-details .content {
	font-size: 18px;
}

.project-details .btn{
	background: #023E8A;
	border: none;
	padding: 10px 30px;
}

.project-details .btn{
	background: #023E8A;
	border: none;
	padding: 10px 30px;
	transition: 0.5s;
}

.project-details .btn:hover{
	background: #075ecc;
}

.project-details .nav-links{
	display: flex;
	justify-content: space-between;
	margin: 80px 0;

}

.project-details .nav-links a{
	color: #000;
	font-size: 18px;

}

.project-details .nav-links a:hover{
	color: #0058c8;


}


@media all and (max-width: 1024px){
	.project-details {
    max-width: 95%;
    margin: 0 auto;
	}
}


@media all and (max-width: 768px){
	.project-details .project-main{
		flex-direction: column;

	}
	.project-details .project-content,
	.project-details .project-image{
		width: 100%;
		height: auto;
	}

	.project-details .project-content{
		margin: 40px 0;
	}

	.project-details .nav-links{
		margin: 20px 0 40px 0;
	}

	.project-details .nav-links .post-title{
		display: none;
	}

	.project-details .meta-nav{
		background: #023E8A;
		color: #fff;
		padding: 10px;
	}
}

.navbar {
	justify-content: end;
}

nav.navbar.navbar-expand-lg.container {
    margin-top: 40px;
}


