/* RESETS */

* {
    margin: 0;
    padding: 0;
    /* border: 1px dotted black; */
    box-sizing: border-box
}

ul {
    list-style: none;
}

a {
    text-decoration: none;
    color: inherit;
    position: relative;
}

/* GLOBALS */
html {
    overflow-x: hidden
}
body {
    overflow-x: hidden;
    height: 100%;
    width: 100vw;
    color: rgb(80, 80, 80);
    background-color: rgb(250, 250, 250);
    /* margin: 0 auto; */
    font-family: 'Titillium Web', sans-serif;
    /* scroll-behavior: smooth; */
}

h1 {
    font-weight: 700;
    font-size: 5em;
}

h2 {
    font-size: 2em;
    position: relative;
}

h3 {
    /* font-weight: 400; */
    font-size: 1.5em;
}

h4 {
    font-size: 1.3em;
}

strong {
    font-weight: 900;
}

p {
    margin: 15px 0;
    font-size: 1.2em;
}

.row, .column {
    display: flex;
    flex-wrap: wrap;
}

.column {
    flex-direction: column;
    flex-wrap: nowrap;
}

.y-center {
    align-items: center;
}

.x-center {
    justify-content: center;
}

.split {
    justify-content: space-around;
}

.sticky {
    position: fixed;
    z-index: 1;
    top: 0;
}

a.link:after, a>h2:after, ul.nav>li>a:after, .connect a:after, i.devicon-github-plain:after {
    content: "";
    background: rgb(250, 250, 250);
    position: absolute;
    left: 0;
    bottom: 20%;
    min-width: 100%;
    height: 10%;
    opacity: 0.2;
    transition: opacity 0.2s, bottom 0.2s, height 0.2s;
}
i.devicon-github-plain:after {
    height: 100%;
    border-radius: 100px;
    opacity: 0;
}

.white-box a.link:after, .white-box a>h2:after, .connect a:after, .white-box i.devicon-github-plain:after {
    background: rgb(80, 80, 80);
}

a.link:hover:after, a>h2:hover:after, ul.nav>li>a:hover:after, .connect a:hover:after, i.devicon-github-plain:hover:after {
    bottom: 1px;
    height: 1.5px;
    opacity: 1;
}

.about-me .skills ul li strong::before {
  content: "✔️ ";
}

.work-img-container {
    margin: 0 20px;
}

.work-img-container img {
    /* margin: 10px; */
    max-width: 350px;
    height: auto;
    max-height: 400px;
    border-radius: 10px;
}

.text-col {
    flex-wrap: wrap;
    flex: 0 0 auto;
    width: 300px;
}

.blue-box {
    color: rgb(250, 250, 250);
    height: 1200px;
    background-color: rgb(73, 109, 177);
    clip-path: polygon(0 10%, 37% 0, 100% 10%, 100% 90%, 63% 100%, 0 90%);
}

.white-box {
    min-height: 1000px;
    clip-path: polygon(0 100%, 100% 100%, 100% 0, 0 0);
}

section h2, h3 {
    text-align: center;
    margin-bottom: 20px;
}

.icons {
    font-size: 5em;
    text-align: center;
    margin-top: 24px;
    min-width: 300px;
    width: 70%;
}
.icons>* {
    margin: 5px;
}
.white-box .icons > img {
    max-width: 150px;
    max-height: 50px;
}

.blue-box .icons > img {
    max-height: 50px;
    max-width: 150px;
}

.divider h2 {
    margin-top: 100px;
    margin-bottom: 50px;
    font-weight: 900;
}

/* Custom */
 .jumbotron {
    color: rgb(250, 250, 250);
    background-image: url(./assets/images/Lee.svg);
    background-color: rgb(73, 109, 177);
    background-blend-mode: overlay;
    background-repeat: no-repeat;
    background-position-x: 83%;
    background-position-y: 240%;
    background-size: 70vh;
    height: 95vh;
    clip-path: polygon(0 0, 100% 0, 100% 90%, 63% 100%, 0 90%);
}

.jumbo-text {
    height: 80vh;
    text-align: center;
}

.nav {
    width: 100%;
    max-width: 100%;
    height: 30px;
    color: rgb(250, 250, 250);
    background-color: rgb(73, 109, 177);
}

.nav li {
    text-align: center;
    min-width: 10%;
}

.hiei {
    background-image: url("./assets/images/hiei.jpg");
    background-repeat: no-repeat;
    background-color: rgb(250, 250, 250);
    background-blend-mode: soft-light;
    background-position: center 0;
    background-size: cover;
}

.hiei h2 {
    margin: 150px 0;
}

.hiei .text-col {
    margin: 0 50px;
}

.hiei img {
  width: 30px;
  margin: 0 5px;
  border-radius: 5px;
}

.hiei strong {
  font-size: 1.3rem
}
.hiei .link {
  /* font-size: 1.2rem; */
  font-weight: 700;
}
.hiei .emoji {
  display: block;
  float: left;
  font-size: 3.5rem
}

.connect {
    height: 800px;
}

footer {
    height: 15vh;
    color: rgb(250, 250, 250);
    clip-path: polygon(0 40%, 37% 0, 100% 40%, 100% 100%, 0 100%);
    background-color: rgb(73, 109, 177);
}

.connect .text-col:nth-child(2), .connect .text-col:first-child>h3 {
    text-align: left;
}

.connect .text-col:nth-child(2), .connect .text-col:nth-child(2)>h3 {
    text-align: right;
}

i.devicon-github-plain, i.devicon-github-colored {
    font-size: 1.5em;
}

@media screen and (max-width: 768px) {
    h1 {
        font-size: 3.25em;
    }
    p {
        font-size: 1em;
    }
    .nav {
        justify-content: space-around;
        width: 100%
    }
    .blue-box, .white-box:not(.hiei):not(.connect) {
        height: 1650px;
        min-width: 100%;
    }
    .white-box .work-img-container {
        order: -1;
    }
    .icons {
        font-size: 4em;
    }
    .connect .text-col:nth-child(2), .connect .text-col:nth-child(2)>h3 {
        text-align: center;
        margin-top: 30px;
    }
    .connect {
        height: 800px;
    }
    .work-img-container img {
        max-width: 300px;
    }
}
