html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}

@import url('https://fonts.googleapis.com/css2?family=Merriweather:ital,opsz,wght@0,18..144,300..900;1,18..144,300..900&family=Public+Sans:ital,wght@0,100..900;1,100..900&display=swap');

article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
    font-family: Public Sans;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}

header {
    background-color:#2b333f;
    color: white;
    padding: 0px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header h1{
    font-size: 40px;
    text-align: left;
}

header p{
    font-size: 20px;
}

header nav a{
    color: white;
    text-decoration: none;
    font-size: 20px;
    margin-left: 20px;
}

#logo{
    height:125px;
}

#title{
    display: flex;
    align-items: center;
}

footer {
    background-color: #2b333f;
    color: white;
    text-align: center;
    padding: 20px;
    font-size: 14px;
    margin-top: 20px;
}

.hero {
    background-size: cover;
    background-position: center;
    height: 85vh;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #2b333f;
    margin-bottom: 20px;
}


.hero-text {
    max-width: 45%;
    max-height: 450px;
    padding: 20px;
    background-color: rgba(255, 255, 255, 0.6);
    border-radius: 10px;
    width: 80%;
    position: absolute;
    left: 10%;
    text-align: center;
    margin: 20px 0px;
}

.hero h1 {
    font-size: 88px;
    margin: 0;
}

.hero p {
    font-size: 24px;
    margin-top: 10px;
}

#hHome{
    background-image: url(images/iceberg-hero.jpg);
}

#hSolid{
    background-image: url(images/Solid.jpg);
}

#hLiquid{
    background-image: url(images/Liquid.jpg);
}

#hGas{
    background-image: url(images/Gas.jpg);
}

#hPlasma{
    background-image: url(images/Plasma.jpg);
}

#hShift{
    background-image: url(images/Shift2.png);
}

#main-ish{
    margin: 0 10vw;
}


#main-ish p{
    padding-left:35px;
    padding-bottom:5px;
    font-size: 18px;
}

#main-ish h2{
    padding-left:30px;
    padding-bottom:2px;
    padding-top:2px;
    font-size:38px;
}


.about{
    background-color: rgb(16,20,25);
    color: white;
    padding:2vw 20vw;
    margin: 2vw 0px;
    margin-left: 0; 
    margin-right: 0;
    margin-top:-20px;
}

.about h2{
    margin-bottom:12px;
    padding-left:30px;
    padding-bottom:2px;
    padding-top:2px;
    font-size:38px;
}

.about p{
    line-height:1.5;
    padding-left:35px;
    padding-bottom:5px;
    font-size: 18px;
}


h1, h2, h3, h4, h5, h6{
    font-weight: bold;
}


#dual{
    display: flex;
    justify-content: space-between;
    margin: 0 10vw;

}



.grid-container {
    display: grid !important;
    grid-template-columns: 45% 45%;
    grid-template-rows: auto auto;
    grid-gap: 1vw;
}
  
.head1 {
    grid-column: 1 !important; 
    grid-row: 1 !important;
}
  
.head2 {
    grid-column: 2 !important;
    grid-row: 1 !important; 
}
  
.img1 {
    grid-column: 1 !important;
    grid-row: 2 !important;
    width: 45%;
}
  
.img2 {
    grid-column: 2 !important;
    grid-row: 2 !important;
    width: 45%;
}

#dual img{
    width: 100% !important;
    border-radius: 10px;
}

.mole {
	width: 20%;
	padding-left: 0.5rem;
	margin-left: 0.5rem;
	float: right;
	font-style: italic;
	margin-left: auto;
	padding-top: auto;
}

.mole img{
    width:100%;
    border-radius: 10px;
}

#diagram{
    height:50vh !important;
    padding:2px;
    border:#2b333f 2px solid;
}

.diaCont{
    display:flex;
    justify-content: center;
    
}