/* Main Styles*/

/*
Colors used:
Primary Color (Dark Green): #0B5616 or rgba(11, 86, 22);
Secondary Color (Pale Yellow): #FFF6C5 or rgba(248, 229, 189); 
Tertiary Color (Gray/Silver): #818181 or rgba(129, 129, 129);
Background Color: #FFFDF7, #FFFBEF (secondary?);
*/


/* Typography & Color */

body {
    background-color: #FFFDF7;
    font-family: "Poppins", sans-serif;
    font-size: 16px;
    font-weight: 300;
    font-style: normal;
    line-height: 1.6;
    color: #000000;             
}

h2, h3, h4, h5 {
    font-family: "Poppins", sans-serif;
    line-height: 1.4;
}
h1 {
    font-family: "Playwrite CO", serif;
    font-size: 4em;
    font-weight: 400;
    color: #0B5616;
}
h2 {
    font-size: 2em;
    font-weight: 400;
}
h3 {
    font-size: 1.25em;
    font-weight: 400;
}
h4 {
    font-size: 1.125em;
    font-weight: 400;
}
h5 {
    font-size: .8em;
    font-weight: 500;
}
h6 {
    font-size: .8em;
    font-weight: 300;
}


/* Links & Buttons */

a {
    color: #0B5616;
    text-decoration: none;
}
a:hover,
a:focus {
    color: #0B5616;
    text-decoration: none;
}
a:active{
    text-decoration: none;
}  

.button {
    display: inline-block;
    color: #0B5616;
    font-weight: 600;
    padding: .5em 1em;
}
.button:hover,
.button:active {
    opacity: 0.8;
    text-decoration: none;
}
.button.disabled {
    color: #818181;
    font-weight: 600;
}
.button.disabled:hover,
.button.disabled.active {
    opacity: 1;
    text-decoration: none;
}

.button.secondary {
    font-family: "Poppins", sans-serif;
    font-weight: 600;
    font-size: 1em;
    text-align: center;
    padding: .5em 1.5em;
    background-color: transparent;
    color: #0B5616;
    border: 1px solid #0B5616;
    border-radius: .5em;
    transition: 0.2s opacity;
}
.button.secondary:hover,
.button.secondary:active {
    opacity: 0.8;
    background-color: #0B5616;
    color: #FFFDF7;
}


/*Layout styling*/

* {
    box-sizing: border-box;
}

img {
    width: 100%;
}

.container {
    padding: 0 1em;
}

.row {
    margin: 1.5em 0;
    padding-top: 2em;
}
.row::after {
    content: "";
    clear: both;
    display: table;
}

.center {
    text-align: center;
}


/* Header Section */

header {
    position: fixed;
    z-index: 999;
    background-color: #FFFDF7;
    padding: 1.25em 0;
    width: 100%;
}

nav > ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
}
nav > ul > li > a,
nav > ul > li > a:visited {
    padding: .5em 1em;
    margin: .5em;
    text-transform: uppercase;
    font-weight: 600;
    color: #0B5616;
    transition: 0.5s opacity;
}
nav > ul > li > a:hover,
nav > ul > li > a:active {
    text-decoration: none;
    background-color: #0B5616;
    color: #FFFDF7;
    border-radius: .5em;
}

.navtoggle li:not(:last-child) {
    display: none;
}
.navtoggle li .icon {
    position: absolute;
    right: 0;
    top: 1em;
    font-size: 1.25em;
    padding: .15em .5em;
    margin: .75em 0 0;
}
.navtoggle li .icon:hover,
.navtoggle li .icon:active {
    opacity: 1;
}

.navtoggle, .navtoggle.responsive {
    position: relative;
}

.navtoggle.responsive nav {
    padding: 1.5em 0 0;
}
.navtoggle.responsive li {
    display: block;
    padding: .75em 0;
    border-top: 1px solid rgba(129, 129, 129, 0.5);
}

.navtoggle.responsive li:last-child {
    padding: 0 0 .75em;
}


/* Footer Section */

footer {
    margin: 2em auto;
}

footer h6 {
    display: inline;
    color: #0B5616;
}

footer .icons {
    display: inline;
    float: right;
}

.fa-regular.fa-envelope,
.fab.fa-linkedin-in {
    margin: .5em;
    text-decoration: none;
}

#projects {
    display: flex;
    width: 100%;
    justify-content: space-between;
}

.previous .button,
.next .button {
    font-size: 1.25em;
    font-weight: 500;
    line-height: 36px;
    margin-bottom: 3em;
}

.previous svg,
.next svg {
    display: inline-flex;
    vertical-align: top;
}

/* Scrolling */

html {
    scroll-behavior: smooth;
  }

  #myBtn {
    display: none; /* Hidden by default */
    position: fixed; /* Fixed/sticky position */
    bottom: 1em; /* Place the button at the bottom of the page */
    right: 1em; /* Place the button 30px from the right */
    z-index: 99;
    border: none;
    outline: none;
    background-color: #0B5616;
    color: #FFF6C5;
    padding: .45em .6em;
    border-radius: 360px;
    font-size: 1em;
    font-weight: 600;
  }
  
  #myBtn:hover {
    background-color: #818181;
    color: #FFFFFF;
  }

  
/*Media Queries*/

/*Medium devices (640px and larger)*/
@media only screen and (min-width: 640px) {
    header {
        text-align: unset;
    }

    nav {
        width: auto;
        float: right;
        padding-top: 1.5em;
    }
    nav > ul {
        margin: 1em 0;
    }
    nav > ul > li {
        display: inline-block;
    }
    .navtoggle li:not(:last-child) {
        display: inline-block;
    }
    .navtoggle li:last-child {
        display: none;
    }

    .navtoggle.responsive li {
        padding: 0;
        border: none;
    }

    .navtoggle.responsive nav {
        padding: 0;
    }
}

/*Medium devices (768px to 1023px)*/
@media only screen and (min-width: 768px) {
    [class*="col-"] {
    float: left;
    padding: 0 1em;
    }

    main {
        .col-md-6 {
            width: 50%;
        }
        .col-md-7 {
            width: 60%;
        }
        .col-md-5 {
            width: 40%;
        }
        .col-md-4 {
            width: 33%;
        }
    }
}

/*Large devices (1024px and larger)*/
@media only screen and (min-width: 1024px) { 
    header {
        padding-top: 2em;
    }

    [class*="col-"] {
        float: left;
        padding: 0 1.5em;
    }

    main {
        .col-lg-5 {
            width: 40%;
        }
        .col-lg-7 {
            width: 60%;
        }
        .col-lg {
            width: 100%;
        }
    }

    .container {
        max-width: 1200px;
        margin-left: auto;
        margin-right: auto;
    }

    .row {
        padding: 30px 50px;
        margin: 25px 0 10px;
    }
}

/*X-large devices (1440px and larger)*/
@media only screen and (min-width: 1440px) {
    header {
        padding-top: 40px
    }

    [class*="col-"] {
        float: left;
        padding: 0 2em;
    }

    main {
        .col-xlg-5 {
            width: 40%;
        }
        .col-xlg-7 {
            width: 60%;
        }
        .col-xlg-6 {
            width: 50%;
        }
    }
}

/*XX-large devices (1920px and larger)*/
@media only screen and (min-width: 1920px) {
    .container {
        max-width: 1440px;
        margin-left: auto;
        margin-right: auto;
    }
}