html {
    scroll-behavior: smooth;
    position: relative;
    min-height: 100%;
}

body {
    font-family: 'Alata', sans-serif;

}

.navbar, h3, h4, h5 {
    letter-spacing: 3px;
}

a.nav-link:hover {
    color: #0E4E58 !important;
}

.name {
    font-family: 'Alata', sans-serif;
    font-size: 65px;
    letter-spacing: 8px;
}

.emoji {
    margin-top: 15px;
    height: 50px;
    width: 75px;
}

.container-fluid .box2 {
    display: inline-block;
    position: relative;
    height: 250px;
    width: 400px;

}

.image {
    height: 250px !important;
    width: 400px !important;
    overflow: hidden !important;
}

.image img {
    transition: transform .5s, filter 0.5s ease-in-out;
    filter: grayscale(100%);
}

.image:hover img {
    filter: grayscale(0);
    transform: scale(1.2);
}

#home {
    padding: 40px 0;
}

#about, #portfolio {
    padding: 50px;
}

#about {
    background-color: #0E4E58;
}

#portfolio {
    background-color: #DA9627;
}

#start {
    font-size: 30px;
}

#click {
    margin-top: 5%;
    margin-bottom: 5%;
}

#click:focus, #click:active {
    box-shadow: none;
}

#linkedin, #github, #email {
    font-size: 25px;
}

#linkedin:hover, #github:hover, #email:hover {
    color: #949f99;
    transition: 0.5s ease-in-out;
}

#navicon:hover {
    color: #032539;
}

img {
    opacity: 1;
    transition: .5s ease;
    backface-visibility: hidden;
}

.shadow {
    box-shadow: 2px 2px 10px !important;
}

.border {
    border-width: 6px !important;
}

.middle {
    transition: .5s ease;
    opacity: 0;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    text-align: center;
}

.image:hover .middle {
    opacity: 1;
    background: rgba(204, 204, 204, 0.8);
}

#name {
    letter-spacing: 5px;
}

.bounce {
    animation: bounce 2s infinite;
}

ul li a:hover {
    color: #032539 !important;
}

#navbar {
    transition: top 0.5s;
}

#daegu:hover {
    color: black;
}

.container-fluid {
    font-size: 0;
}

.container-fluid .box {
    display: inline-block;
    position: relative;
    padding: 0;
    margin: 0;
    list-style: none;
    height: 250px;
    width: 400px;
}
  
.container-fluid .box img {
    height: 100%;
    transform: scale(2.4);
}

.container-fluid .box.snake {
    position: relative;
    overflow: hidden;
}

.overlay {
    position: absolute;
    text-align: center;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.8);
    top: 0;
    left: 0;
}
  
.overlay h5 {
    position: absolute;
    margin: 0;
    padding: 0;
    top: 10%;
    transform: translateY(-50%);
    color: #fff;
    width: 100%;
  
}
  
.overlay p {
    position: absolute;
    margin: 0;
    padding: 5%;
    top: 50%;
    transform: translateY(-50%);
    color: #fff;
    font-size: 15px;
}

@keyframes bounce {
	0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }
	40% {
    transform: translateY(-30px);
  }
	60% {
    transform: translateY(-15px);
  }
}

@media screen and (max-width: 600px) {
    .container {
        width: 100%;
    }
    
    #home, #about, #portfolio {
        font-size: 12px;
        padding: 40px;
    }

    #empty {
        display:none;
    }

    .name {
        font-size: 30px;
    }
    
    .blockquote {
        font-size: 16px;
    }

    .btn {
        margin-bottom: 20px;
    }

    #second {
        margin-top: -25px;
    }

    #pic {
        margin-top: 0px;
    }

    h1 {
        font-size: 50px;
    }

    .container-fluid .box {
        height: 200px;
        width: 200px;
    } 
}
