@import url('https://fonts.googleapis.com/css?family=Bubbler+One|Chathura|Gafata|Marmelad|Philosopher|Poiret+One');

/* 
-----IMPORTED FONTS ------

font-family: 'Bubbler One', sans-serif;
font-family: 'Poiret One', cursive;
font-family: 'Philosopher', sans-serif;
font-family: 'Marmelad', sans-serif;
font-family: 'Gafata', sans-serif;
font-family: 'Chathura', sans-serif;
 */

/* === GLOBAL === */

body {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Philosopher', sans-serif;
    font-size: 1.1em;
    background-color: rgb(249, 249, 249);    
}

h1 {
    color: rgb(3, 157, 247);
    font-family: 'Bubbler One', sans-serif;
    font-size: 2.4em;
}

h2 {
    color: rgb(3, 157, 247);
    font-family: 'Poiret One', cursive;
    font-size: 2em;
}

/* === HEADER === */

header {
    display: flex;
    justify-content: space-between;
    border-bottom: 3px solid #eee;
    height: 70px;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 999;
    background: rgba(249, 249, 249, .95);
}

header a {
    text-decoration: none;
    width: 30%;
    padding: 0 ;
    margin: auto 0;
}

header a h1 {
    white-space: nowrap;
    padding: 0;
    padding-left: 25px;
    margin:  0;
}

.nav-toggle, .nav-toggle-label {
    display: none;
}

nav {
    width: 70%;
    display: flex;
    align-items: center;
}

nav ul {
    padding: 0;
    margin: 0;
    list-style: none;
    display: flex;
    justify-content: space-evenly;
    width: 100%;
    height: 60px;
}

nav li {
    margin: auto;
    padding: 0;
}

nav a {
    text-decoration: none;
    font-family: 'Gafata', sans-serif;
    font-weight: 600;
    position: relative;
    white-space: nowrap;
}

nav a:hover {
    color: red;
}

nav a::after {
    content: '';
    background: red;
    border-radius: 50px;
    height: 3px;
    width: 100%;
    position: absolute;
    top: 25px;
    display: block;
    transform: scale(0,1);
    transition: transform ease-in-out 300ms;
}

nav a:hover::after {
    transform: scale(1,1);
}

/* === MAIN === */


/* = INTRODUCTION = */

.introduction-sec {
    display: block;
    padding: 0;
}

.introduction-sec img {
    width: 30vw;
    border: 5px solid rgb(3, 157, 247);
    border-radius: 50%;
    position: absolute;
    bottom: 0;
    left: 35%;
}

.img-container {
    width: 100%;
    height: 15vw;
    margin-top: 25vw;
    position: relative;
    background-color: rgb(3, 157, 247);
}

.intro-txt-container {
    padding-bottom: 2vw;
}

.intro-txt-container, .intro-txt-container h2 {
    text-align: center;
    color: #fff;
    background-color: rgb(3, 157, 247);
    margin-top:0;
}

.intro-txt-container h2,.intro-txt-container p {
    padding: 2vw 7vw;
    margin: 0;
}

.intro-txt-container p {
    font-size: 1.2em;
}

/* = BODY = */

.txt-container h2, .txt-container p {
    padding: 2vw;
}
.list-style-disc dd {
    display: list-item;
    list-style-type: disc;
}
.body-sec dl {
    padding: 1vw 2vw;
}

.body-sec dt {
    font-weight: bold;
    margin-top: 3vw;
}

.body-sec dt span {
    font-weight: normal;
    color: rgb(102, 101, 101);
}
.body-sec dd {
    padding: 1vw 0;
    margin: 0;
}
.body-sec li {
    padding-top: 1vw;
}

.body-sec {
    padding: 0 50px 30px 50px;
}

/* === Footer === */

footer {
    border-top: 3px solid #eee;
    text-align: center;
    padding: 20px;
}
footer img {
    width: 25px;
    margin-left: 15px; 
}
footer p {
    font-size: 0.9em;
}


 /* === NARROW DISPLAY ===  */


@media screen and (max-width:1100px) {

h1 {
font-size: 2em;
}

.img-container {
    margin-top: 50vw;
}
.introduction-sec img {
    width: 40vw;
    left: 30%;
}

header {
    position: fixed;
}

nav {
    position: absolute;
    width: auto;
    padding: 0;
    right: 0;
    top: 70px;
    z-index: 33;
    background: #fff;
    transform: scale(1, 0);
    transform-origin: top;
    transition: transform 300ms ease-in-out;
}

header h1{
    width: 100%;
    padding: 1vw;
    padding-left: 25px;
}

.nav-toggle-label {
    display: flex;
    position: absolute;
    top: 0;
    right: 15px;
    height: 100%;
    align-items: center;
}

.nav-toggle-label span,
.nav-toggle-label span::before,
.nav-toggle-label span::after {
    display: block;
    background: rgb(3, 157, 247);
    height: 2.5px;
    width: 2em;
    border-radius: 2px;
    position: relative;
}

.nav-toggle-label span::before,
.nav-toggle-label span::after {
    content: '';
    position: absolute;
}

.nav-toggle-label span::before {
    bottom: 7px;
}

.nav-toggle-label span::after {
    top: 7px;
}

.nav-toggle:checked ~ nav {
    transform: scale(1, 1)
}

.nav-toggle:checked ~ nav a {
    opacity: 1;
    transition: opacity 250ms ease-in-out 250ms;
}

nav ul {
    display: block;
    margin: 0;
    padding: 0;
    height: auto;
}

nav li {
    margin: 0;
    padding: 0.6em 1em;
    border-bottom: 1px solid rgba(3, 157, 247, 0.5);
}

nav a {
    color: rgb(3, 157, 247);
    opacity: 0;
    transition: opacity 150ms ease-in-out;
}

nav a:hover {
    color: red;
}

nav a:hover::after {
    display: none;
}

}