/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/

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;
    font-family: 'Source Sans Pro', sans-serif;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
}
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;
}


/* 
================================
Typography
================================
*/

a, a:visited {
    text-decoration: none;
	font-weight: 300;
	color: inherit;
}

a.contact-link {
    border-bottom: 1px solid white;
    color: rgba(255, 255, 255);
}

a.contact-link:hover {
    color: rgb(255, 255, 255, 0.65);
    border-bottom-color: rgb(186, 206, 250, 0);
}

a.contact-link:visited {
    border-bottom: none;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Source Sans Pro';
}

h1 {
    color: rgb(28, 38, 60);
    font-weight: 400;
    font-size: 2.2rem;
    line-height: 4.5rem;
}

h2 {
    color: rgb(28, 38, 60);
    font-weight: 600;
    font-size: 1.4rem;
    line-height: 1.3em; 
    margin: 12px 0;
}

p { 
    font-family: 'Lato';
    color: rgb(48, 50, 55);
    font-size: 1.2rem;
    line-height: 1.8rem;
    margin-bottom: 10px;
}

.body-large {
    font-size: 1.3rem;
    line-height: 1.9rem; 
}

.rev-white {
    color: white;
}

.footer-text-regular {
    font-size: 1em;
    line-height: 1.6em;
    margin-bottom: 10px;
}


/* 
================================
Navigation
================================
*/

.grey-bg {
    background: #f1f3f4;
    position: relative;
    z-index: 0;
}


/* 
================================
Sections
================================
*/

/* Navigation */

header {
    padding: 5px;
    top: 0;
    left: 0;
    right: 0;
}

.navigation-container {
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-content: flex-end;
}

/* Logo */

.logo-back {
    fill: #2d2e78;
}

.logo-back:hover, .logo-front:hover {
    fill: #797ff2;
}

.logo-front {
    fill: #595fc2;
}

#logo {
    width: 23%;
    height: 100%;
    align-self: center;
    font-size: 1.5em;
    font-weight: 900;
    margin: 20px 0 15px 0;
    text-transform: uppercase;
}

/* Social Links */

.social-links {
    display: flex;
    flex-direction: row;
    order: 2;
    align-self: center;
    font-size: 1.6rem;
    list-style: none;
    text-decoration: none;
    color: inherit;
}

.social-links a {
    text-decoration: none;
    color: inherit;
}

.fab {
    color: #7d8693;
    padding: 20px;
}

.fab:hover {
    color: #595fc2;
}

/* Body */

body {
    background: #fbfcfc;
}

.intro {
    height: 100%;
}

section {
    padding: 10% 10% 8% 10%;
    margin: auto;
    max-width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column; 
}

.about { 
    max-width: 80%;
    margin: 25px auto 90px auto;
}

#panadol {
    background: #f7f8f9;
}

.col-txt {
    order: 2;
    padding: 8% 0;
}

.col-sm {
    color: white;
    order: 1;
    position: relative;
    padding-top: 10%;
}

.contact-container {
    background: linear-gradient(120deg, #595fc2 0%, #3c4089 150%);
    height: 50vh;
    text-align: center;
}

/* Footer */

.footer-container {
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-content: flex-end;
    padding: 5% 0;
}

.footer-social-links {
    display: flex;
    flex-direction: row;
    order: 1;
    align-self: center;
    font-size: 1.6rem;
    list-style: none;
    text-decoration: none;
    color: inherit;
}

.footer-text-container {
    max-width: 90%;;
    order: 2;
    text-align: center;
    align-self: center;
    padding: 15px 0;
}


/* 
================================
Images
================================
*/

img {
    max-width: 100%;
    display: block;
    margin: 0 auto;
}

.drop-shadow {
    filter:
    drop-shadow(6px 6px 15px rgba(0, 0, 0, 0.1))
    drop-shadow(1px 2px 4px rgba(0, 0, 0, 0.05));
}

.bottom-shadow::before {
    content: "";
    position: absolute;
    z-index: -1;
    width: 100%;
    bottom: 0;
    left: 0;
    right: 0;
    margin: 0 auto;
    height: 5px;
    border-radius: 50%;
    background-color: rgba(0, 0, 0, .2);
    box-shadow: 0 -1px 3px 5px rgba(0, 0, 0, .1);
    filter: blur(2px);
}

.img-anchor-btm {
    padding-top: %;
}


/* 
================================
Buttons
================================
*/

.btn {
	color: #595fc2;
    font-size: 0.8em;
    font-weight: 500;
    text-decoration: none;
    text-transform: uppercase;
    display: inline-block;
    letter-spacing: 2px; 
    line-height: 3.1em;
    padding: 0 0 0 22px;
    margin: 20px 0;
    border: 1px solid #595fc2;
    border-radius: 5px;
    transition: all ease .5s;
}
  
  .btn:hover {
    padding-right: 23px;
    color: #5259da;
    border-color: #5259da; 
}
  
  .btn::after {
    content: "⟶";
    transition: all ease .5s;
    position:relative;
    opacity: 0;
    left: -12px;
}
  
  .btn:hover::after {
    content: "⟶";
    transition: all ease .5s;
    opacity: 1;
    left: 8px;
}

.btn-white {
    width: 150px;
    font-size: 0.8em;
    font-weight: 500;
    color: white;
    text-decoration: none;
    text-transform: uppercase;
    display: inline-block;
    letter-spacing: 2px; 
    line-height: 3.1em;
    margin: 22px 0;
    border: 1px solid rgb(255, 255, 255);
    border-radius: 5px;
    transition: all ease .5s;
}


/* 
================================
Transitions
================================
*/

.intro {
	-webkit-transition: all 0.5s ease-out;
    transition: all 0.5s ease-out; 
}

.contact-link {
	-webkit-transition: all 0.3s ease-out;
    transition: all 0.3s ease-out; 
}

.fab {
    -webkit-transition: color 0.3s ease;    
    transition: color 0.3s ease;
}

.logo-back, .logo-front, .logo-back:hover, .logo-front:hover {
    -webkit-transition: fill 0.3s ease;   
    transition: fill 0.3s ease;
}

/* Reponsive Transitions */

.about, #logo {
    transition: all 250ms ease-in-out;
}


/* 
================================
Media Queries
================================
*/

@media only screen and (min-width : 768px) {
    
    /* 
    ================================
    Sections
    ================================
    */

    .navigation-container, .footer-container {
        flex-direction: row;
        justify-content: flex-start;
        margin: 10px auto;
        width: 95vw;
    }

    .social-links {
        font-size: 1.5em;
        margin-left: auto;
    }

    #logo {
        margin-top: 20px;
        padding-left: 20px;
        width: 100px;
    }

    /* Body */

    section {
        flex-direction: row;
        height: 45vh;
        padding: 8%;
    }

    .col-txt {
        flex: 4;
        order: 1;
        margin-top: 0;
    }

    .col-sm {
        padding-top: 0;
        flex: 3;
        order: 2;
    }

    .about {
        max-width: 70%;
        margin-bottom: 100px;
    }

    .contact-content {
        max-width: 60%;
    }

    /* Footer */

    .footer-container {
        height: 5vh;
    }

    .footer-text-container {
        order: 1;
        width: 80%;
        text-align: left;
    }

    .footer-icons {
        width: 100px;
    }


    /* 
    ================================
    Typography
    ================================
    */

    h1 {
        font-size: 2.8rem;
        line-height: 6rem;
    }

    h2 {
        font-size: 1.4rem;
        line-height: 2em; 
        margin: 0;
    }
    
    p { 
        font-weight: 300;
        font-size: 1.2rem;
        line-height: 1.9rem;
        margin: 0;
    }

    .body-large {
        font-size: 1.6em;
        line-height: 2.4rem;
        margin-bottom: 12px;
    }

    .right-text {  
        order: 2;
        padding-left: 10%;
    }

    .left-text {
        padding-right: 10%;       
    }


    /* 
    ================================
    Buttons
    ================================
    */

    .btn {
        margin: 30px 0;

    }

}

@media only screen and (min-width : 1024px) {

    /* 
    ================================
    Sections
    ================================
    */

    section {
        height: 60vh;
    }

    .about {
        max-width: 55%;
    }

    /* 
    ================================
    Typography
    ================================
    */

    h2 {
        font-size: 1.6rem;
    }

    p {
        font-weight: 300;
        font-size: 1.4rem;
        line-height: 2.1rem;
    }


}