@import url('https://fonts.googleapis.com/css2?family=Figtree:ital,wght@0,300..900;1,300..900&display=swap');

body, html {
    margin: 0;
    padding: 0;
    font-family: "Figtree", sans-serif;
    overflow-x: hidden;
    background-color: #b2b2b2;
    color: #000000;
    font-size: 18px;
}
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0;
    position: relative;
    background-color: #FFFFFF;
}
header {
    background-color: #FFFFFF;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: #00000080 0px 2px 5px 0px;
}
header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: nowrap;
}
h2 {
    font-size: 40px;
}
.logo {
    float: left;
    margin-right: 1em;
    margin-top: 5px;
    margin-bottom: 5px;
}
.logo img {
    height: 53px;
    width: auto;
    margin-top: 5px;
}
.img-tagline {
	margin: auto 10px;
}
nav ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
    display: flex;
    align-items: center;
    flex-direction: row;
    text-align: center;
}
nav ul li {
    display: inline;
    margin-right: 1em;
}
nav ul li a {
    text-decoration: none;
    font-weight: 600;
}
nav ul li a, nav ul li a:active, nav ul li a:focus {
    color: #000000;
    transition: all ease 0.3s;
    border-bottom: 2px solid #FFFFFF;
}
nav ul li a:hover {
    border-bottom: 2px solid #000000;
    transition: all ease 0.3s;
}
main {
    padding-top: 73px;
}
.content-wrapper {
    display: flex;
    position: relative;
}
.text-column {
    width: 50%;
    padding: 0em 10px 0 0;
    box-sizing: border-box;
}
section {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 0 0 20px;
}
section p {
    margin: 20px;
}
.image-column {
    width: 50%;
    height: calc(100vh - 60px);
    position: fixed;
    top: 60px;
    right: 0;
    overflow: hidden;
    z-index: 1;
    background-image: url('Images/Molecules.jpg');
    background-size: cover;
    background-position: 100% 50%;
    background-attachment: fixed;
}
.image-column.loaded {
    opacity: 1;
}
.image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: transform 0.5s ease, opacity 0.5s ease;
}
.image-wrapper.from-top {
    transform: translateY(-100%);
}
.image-wrapper.from-bottom {
    transform: translateY(100%);
}
.image-wrapper.active {
    opacity: 1;
    transform: translateY(0);
}
.image-wrapper.prev.from-top {
    transform: translateY(100%);
}
.image-wrapper.prev.from-bottom {
    transform: translateY(-100%);
}
.image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
a {
    color: #4cabd7;
    transition: all ease 0.3s;
}
a:hover {
    color: #2e5581;
    transition: all ease 0.3s;
}

#home {
    background-image: url('Images/Molecules.jpg');
    background-size: cover;
    background-position: 0 50%;
    background-attachment: fixed;
    justify-content: start;
    text-align: center;
}
#home h1 {
    text-shadow: -2px 2px 8px black;
    color: white;
    font-size: 35px;
	margin-top: 100px;
}
.homerightcol {
    background-image: url('Images/Molecules.jpg');
    background-size: cover;
    background-position: 100% 50%;
    background-attachment: fixed;
}
@media (max-width: 1576px) {
    .homerightcol {
        background-position: initial;
    }
}
#myaccount {
    box-shadow: 0 -7px 5px -5px rgba(0, 0, 0, 0.5);
}
#contactus form {
	margin: 20px;
	padding: 10px;
}
#contactus label {
	display: inline-block;
	width: 100px;
	vertical-align: top;
	margin-bottom: 5px;
}
#contactus input, #contactus textarea {
	width: 300px;
	margin-bottom: 5px;
	padding: 5px;
	font-family: "Figtree", sans-serif;
    font-size: 18px;
}
#contactus textarea {
	height: 100px;
}
.submit-btn {
	border: none;
    padding: 0;
    font: inherit;
    cursor: pointer;
    outline: inherit;
}
.g-recaptcha > div {
	margin: 10px auto;
}
#products span, #contactus span {
    margin-left: 10px;
    display: block;
}
#products b, #contactus b {
    margin-bottom: 5px;
    display: block;
}
#products a, #myaccount a, .submit-btn {
    color: #FFFFFF;
    background-image: linear-gradient(to right, #3DC6F3, #1D3762, #1D3762 80%);
    background-size: 200% 100%;
    background-position: right bottom;
    border-color: #FFFFFF;
    transition: all 1s ease;
    padding: 12px 7px 12px 7px !IMPORTANT;
    display: block;
    width: 200px;
    text-align: center;
    margin: 0 auto;
    text-decoration: none;
}
#products a:hover, #myaccount a:hover, .submit-btn:hover {
    background-position: left bottom;
    border-color: #FFFFFF;
    color: #FFFFFF;
    transition: all 0.5s ease;
}
#products a {
	margin-top: 5px;
}
footer {
    background-color: #333;
    color: white;
    padding: 2em 0 1em;
    position: relative;
    z-index: 2;
}
footer a {
    transition: all ease 0.3s;
}
footer a:hover {
    color: #AAAAAA !IMPORTANT;
    transition: all ease 0.3s;
}
footer .container {
    background-color: #0000;
}
.footer-content {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1em;
}
.footer-menu {
    flex: 1;
}
.footer-menu ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
}
.footer-menu ul li {
    margin-bottom: 0.5em;
}
.footer-menu ul li a {
    color: white;
    text-decoration: none;
}
.footer-contact {
    flex: 1;
    text-align: right;
}
.footer-contact p {
    margin: 0 0 0.5em 0;
}
footer .policies {
    font-size: 16px;
}
footer .policies h1 {
    font-size: 20px;
    margin-bottom: 0.5em;
    margin-top: 40px;
}
footer .policies li {
    margin-left: 0.5em;
}
.footer-copyright {
    border-top: 1px solid #555;
    padding-top: 1em;
    display: flex;
    justify-content: space-between;
}
.footer-copyright .left {
    flex: 1;
}
.footer-copyright .right {
    flex: 1;
    text-align: right;
}
.footer-copyright .right a {
    color: #FFFFFF;
    text-decoration: none;
    font-weight: 600;
}

@media (max-width: 768px) {
    .content-wrapper {
        flex-direction: column;
    }
    .text-column, .image-column {
        width: 100%;
    }
    .text-column {
        padding: 2em 0;
    }
    .image-column {
        position: static;
        height: 300px;
    }
    section {
        min-height: auto;
        padding: 2em 0;
    }
    nav ul {
        text-align: center;
    }
    nav ul li {
        display: block;
        margin: 0.5em 0;
    }
    .logo {
        float: none;
        text-align: center;
        margin-bottom: 1em;
    }
    .footer-content {
        flex-direction: column;
    }
    .footer-menu, .footer-contact {
        text-align: center;
        margin-bottom: 1em;
    }
}

@media (max-width: 767px) {
	.image-column {
        position: static;
        height: auto;
        background-image: none;
        background-color: #FFFFFF;
    }

    .image-wrapper {
        position: static;
        opacity: 1;
        height: auto;
        transform: none;
        transition: none;
    }

    .image-wrapper img {
        display: block;
        width: 100%;
        height: auto;
        object-fit: contain;
    }

    /* Hide all images except the first one */
    .image-wrapper:not(:first-child) {
        display: none;
    }

    /* Remove fixed background from #home section */
    #home {
        background-attachment: scroll;
    }
	header {
		position: unset;
	}
	header .container, nav ul {
		flex-direction: column;
	}
	main {
		padding-top: 0;
	}
	section h2 {
		text-align: center;
	}
	section div, section h3 {
		margin-left: 10px;
		margin-right: 10px;
	}
	section div.g-recaptcha div {
		margin-left: 0;
		margin-right: 0;
	}
	#products a {
		margin-top: 10px;
	}
	
	#myaccount::after {
		content: "";
		display: block;
		background-image: url('Images/Keyboard.jpg');
		background-size: cover;
		background-position: center;
		background-repeat: no-repeat;
		width: 100%;
		height: 200px;
		margin-top: 20px;
	}

	#products::after {
		content: "";
		display: block;
		background-image: url('Images/products.jpg');
		background-size: 50%;
		background-position: center;
		background-repeat: no-repeat;
		width: 100%;
		height: 200px;
		padding-top: 5px;
		padding-bottom: 5px;
		background-color: #cccccc;
	}
	
	#biosolutions::after {
		content: "";
		display: block;
		background-image: url('Images/Bio.jpg');
		background-size: cover;
		background-position: center;
		background-repeat: no-repeat;
		width: 100%;
		height: 200px;
		margin-top: 20px;
	}
	
	#aboutus::after {
		content: "";
		display: block;
		background-image: url('Images/Handshake.jpg');
		background-size: cover;
		background-position: center;
		background-repeat: no-repeat;
		width: 100%;
		height: 200px;
		margin-top: 20px;
	}
	
	#contactus::after {
		content: "";
		display: block;
		background-image: url('Images/HandsTyping.jpg');
		background-size: cover;
		background-position: center;
		background-repeat: no-repeat;
		width: 100%;
		height: 200px;
		margin-top: 20px;
	}
	
	.footer-copyright {
		flex-direction: column;
		align-items: center;
		padding-bottom: 20px;
	}
	.footer-copyright .left, .footer-copyright .right {
		text-align: center;
	}
}