/* Reset */
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body{
    background-color: #ffffff;
    font-family: 'Helvetica', 'Open Sans', 'Lato', 'SF Pro Text', sans-serif;
}

a{
    text-decoration: none;
}

ul{
    list-style: none;
}

/* Header */
.header{
	background-color: #e7f2fa;
	-webkit-box-shadow: 1px 1px 5px 0px #6ab0de;
	box-shadow: 1px 1px 5px 0px #6ab0de;
	position: -webkit-sticky; /* Safari */
	position: sticky;
    top: 0;
    width: 100%;
	height: 52px;
}

/* Logo */
.logo{
    display: inline-block;
    color: #A0A3A4;
    font-size: 40px;
    margin-left: 12px;
	padding-top: 6px;
}

.imglogo {
	width: 42px;
	height: 42px;
}
.maincontent {
	display: block;
	margin: 15px 1px 15px 0px;
}
.one {
	display: block;
}
.two {
	display: block;
}
div.one h2, div.two h2 {
		padding: 16px 18px 5px 16px;
		color: #656767;
	}
div.one p, div.two p {
		padding: 5px 18px 5px 16px;
		text-align: justify;
		line-height: 1.5;
		font-size: 18px;
	}

/* Nav menu */
.nav{
    width: 100%;
    height: 100%;
    position: fixed;
	top: 52px;
    /* background-color: #e7f2fa; */
	background-color:  #F5F9FB;
	/* border-top: solid 3px #6ab0de; */
    overflow: hidden;
    
}

.menu a{
    display: block;
    padding: 8px 10px 8px 16px;
    color: #191A1A;
	font-weight: bold;

}

.menu a:hover{
	color: #656767;
}

.menu li:first-child {
	padding-top: 12px;
}

.nav{
    max-height: 0;
    transition: max-height .5s ease-out;
}


/* Menu Icon */

.hamb{
    cursor: pointer;
    float: right;
    padding: 24px 20px;
}

.hamb-line {
    background: #282929;
    display: block;
    height: 2px;
    position: relative;
    width: 24px;
    
}

.hamb-line::before,
.hamb-line::after{
    background: #282929;
    content: '';
    display: block;
    height: 100%;
    position: absolute;
    transition: all .2s ease-out;
    width: 100%;
}

.hamb-line::before{
    top: 7px;
}

.hamb-line::after{
    top: -7px;
}


.side-menu {
    display: none;
}

/* Toggle menu icon */

.side-menu:checked ~ nav{
    max-height: 100%;
}

.side-menu:checked ~ .hamb .hamb-line {
	background-color: transparent;
}

.side-menu:checked ~ .hamb .hamb-line::before {
    transform: rotate(-45deg);
    top:0;

}

.side-menu:checked ~ .hamb .hamb-line::after {
    transform: rotate(45deg);
    top:0;
}


/* Responsiveness */

@media (min-width: 768px) {
    .nav{
        max-height: none;
        top: 0;
        position: relative;
        float: right;
        width: -moz-fit-content;
		width: fit-content;
        background-color: transparent;
		border-top: none;
		padding-top: 10px;

    }

    .menu li{
        float: left;
    }

    .menu a:hover{
        background-color: transparent;
        color: #282929;
        
    }
    
	.menu li:first-child {
		padding-top: unset;
	}
	
	.menu li:last-child {
		padding-right: 18px;
	}
	
    .hamb{
        display: none;
    }

	.maincontent {
		display: grid;
		width: 100%;
	}
	.one {
		grid-column: 1;
		grid-row: 1;
	}
	.two {
		grid-column: 2;
		grid-row: 1;
	}
	
	div.one h2 {
		padding: 16px 10px 5px 16px;
	}
	div.two h2 {
		padding: 16px 18px 5px 10px;
	}
	div.one p {
		padding: 5px 10px 5px 16px;
		font-size: 17px;
	}
	div.two p {
		padding: 5px 18px 5px 10px;
		font-size: 17px;
	}
	
}
