@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,400;0,700;1,400;1,700&family=Montserrat:wght@400;700&display=swap');

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    margin: auto;
    font-family: "Lato","Helvetica Neue",Helvetica,Arial,sans-serif;
    font-size: 15px;
    line-height: 1.42857143;
    color: #2c3e50;
    background-color: #ffffff;
    word-break: break-word;
}

a {
    text-decoration: none;
    color: #fff;
    display: inline-block;
}

nav , h1 , h2, h3 {
    text-transform: uppercase;
    font-family: Montserrat,"Helvetica Neue",Helvetica,Arial,sans-serif;
    font-weight: 700;
    line-height: 1.1;
}

nav {
    background-color: #2c3e50;
    padding: 10px 0;
    position: fixed;
    width: 100%;
    z-index: 999;
    top: 0;
    line-height: 1;
    max-height: 100vh;
}

.big-nav {
    padding: 25px 0;
}

.nav-header {
    min-height: 60px;
}

.nav-header a {
    margin: 19.5px 20px 10px 0;
    font-size: 1.5em;
    transition: all .3s;
}

.big-nav .nav-header a {
    font-size: 30px;
}

nav button {
    margin: 13px 15px;
    background-color: transparent;
    background-image: none;
    border: 1px solid #000;
    border-radius: 4px;
    padding: 9px 10px;
    margin-left: auto;
    max-height: 34px;
}

nav button:hover , nav button:focus {
    background-color: #1a242f;
    cursor: pointer;
    
}

nav a:hover, nav a:focus {
    color: #18bc9c;
}

.icon-bar {
    background-color: #fff;
    display: block;
    width: 22px;
    height: 2px;
    border-radius: 1px;
    margin-bottom: 4px ;
}

.icon-bar:nth-last-of-type(1){
    margin-bottom: 0;
}

.nav-collapse {
    border-top: 1px solid transparent;
    box-shadow: inset 0 1px 0 rgb(255 255 255 / 10%);
    height: 100%;
    transform-origin: top;
    transition: transform 0.26s ease-out;
    transform: scaleY(1);
}

.hide {
    height: 0;
    overflow: hidden;
    transform: scaleY(0);
}

#navbar-collapse ul {
    margin: 7.5px -15px;
    list-style: none; 
    overflow-y: auto;
    max-height: 50vh;   
}

#navbar-collapse a {
    padding: 10px 15px;
    display: block;
    line-height: 21px
}

.active > a {
    background-color: #1a242f
}

.active > a:hover , .active > a:hover{
    color: #fff;
}

header {
    text-align: center;
    color: #fff;
    background-color: #18bc9c;
    padding: 150px 0 100px 0;
}

.container {
    max-width: 1170px;
    padding: 0 15px;
    margin: auto;
}

.intro-text {
    padding-top: 160px;
}

h1 {
    font-size: 4.75em;
}

.star-light {
    margin: 25px auto 30px;
    padding: 0;
    max-width: 250px;
    border: 0;
    border-top: solid 5px #fff;
    text-align: center;
}

.b-black {
    border-color: #000;
}

.skills {
    font-size: 1.75em;
}

section {
    padding: 100px 0;
}

section a {
    color: #18bc9c;
}

section a:hover , section a:focus , footer a:hover , footer a:focus {
    text-decoration: underline;
}

section h2 {
    text-align: center;
    font-size: 3em;
    padding: 0 15px;
}

section p {
    margin-bottom: 10.5px;
    font-size: 20px;
}

.success {
    background-color: #18bc9c;
    color: #fff;
}

.success a {
    color: #2c3e50;
}

footer {
    text-align: center;
    padding-top: 50px;
    background-color: #2c3e50;
    color: #fff;
}

footer a {
    color: #18bc9c;
    display: contents;
}

.footer-below {
    padding: 25px 0;
    background-color: #233140;
}

.flex {
    display: flex;
}

footer .flex > div {
    width: 50%;
    padding: 0 10px;
    margin-bottom: 50px;
}

footer h3 {
    font-size: 26px;
    margin: 21px 0 30px;
}

footer p {
    margin-bottom: 10.5px;
    font-size: 20px;
}

@media screen and (max-width: 1200px){
    .container {
        max-width: 970px;
    }
}

@media screen and (max-width: 990px){
    footer .flex {
        display: block;
    }

    footer .flex > div {
        width: 100%;
    }

    .container {
        max-width: 750px;
    }
}

@media screen and (max-width: 768px){
    h1 {
        font-size: 3em;
    }

    section h2 {
        font-size: 2.25em;
    }
}

@media screen and (max-width: 460px){
    h1 {
        font-size: 2em;
    }

    section h2 , .skills {
        font-size: 1.5em;
    }
}

@media screen and (max-width: 340px){
    .nav-header a {
        font-size: 1.25em;
    }

    .big-nav .nav-header a {
        font-size: 1.5em;
    }
}

