@import url('https://fonts.googleapis.com/css2?family=Ubuntu+Mono:ital,wght@0,400;0,700;1,400;1,700&display=swap');

/* General */
.illu {
    position: absolute;
    animation: floatRotate 8s ease-in-out infinite;
    will-change: transform;
    filter: blur(1px);
    opacity: 0.2;
    width: 110px;
}

.lc__illu01 {
    top: 140px;
    left: 50px;
}

.lc__illu02 {
    top: 370px;
    right: 60px;
}

.lc__illu03 {
    bottom: -40px;
    left: 140px;
    width: 200px;
}

.lc__illu04 {
    top: 1400px;
    right: 140px;
}

.msg_sent {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    backdrop-filter: blur(6px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
}

.msg_box {
    position: relative;
    background: #143b37;
    padding: 30px 40px;
    border-radius: 12px;
    box-shadow: 0 0 25px rgba(0,0,0,0.25);
    max-width: 500px;
    text-align: center;
    font-size: 1.1rem;
}

.close-btn {
    position: absolute;
    top: 10px;
    right: 15px;
    background: transparent;
    color: white;
    font-weight: bold;
    border: none;
    font-size: 1.8rem;
    cursor: pointer;
}

.msg_sent_success {
    color: #ffffff;
    font-weight: bold;
    font-size: 18px;
}

/* Banner */
.banner {
    position: relative;
    display: grid;
    grid-area: "a"
    "b";
    grid-template-rows: 2fr auto;
    min-height: 90vh;
}

.banner__slogan {
    text-align: center;
    max-width: 60%;
    font-size: 50px;
    font-weight: bold;
    text-shadow: 3px 3px 2px rgba(72, 129, 82, 0.445);
    margin: auto;
    z-index: 10;
}

.banner__cpu {
    position: relative;
    margin: auto;
}

.banner__cpu_img {
    width: 400px;
}

/* About */
#about {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 100px;
    min-height: 55vh;
    color: #fff;
}

.about__terminal {
    width: 55%;
    box-shadow: 2px 4px 5px rgba(0,0,0,0.5);
    border-radius: 0 0 5px 5px;
}

.terminal__bar {  
    display: flex;
    width: 100%;
    height: 30px;
    align-items: center;
    padding: 0 8px;
    box-sizing: border-box;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    background-color: #0b201e;
}

.bar__buttons {  
    display: flex;  
    align-items: center;
}

.bar__button {  
    display: flex;  
    justify-content: center;  
    align-items: center;  
    padding: 0;  
    margin-right: 5px;  
    font-size: 8px;  
    height: 12px;  
    width: 12px;  
    box-sizing: border-box;  
    border: none;  
    border-radius: 100%;
    text-shadow: 0px 1px 0px rgba(255,255,255,0.2);  
    box-shadow: 0px 0px 1px 0px #41403A, 0px 1px 1px 0px #474642;
}

.bar__button:hover {  
    cursor: pointer;
}

.bar__button--exit {
    background: #f37458;
}

.bar__user {
    font-weight: bold;
    color: #d5d0ce; 
    margin-left: 6px;
}

.terminal__body {  
    border-radius: 0 0 5px 5px;
    background: #1b413b;
    height: 450px;
    padding: 5px;
}

.terminal__prompt--user {
    font-size: 17px;
    color: #7eda28;
}

.terminal__prompt--location {
    font-size: 17px;
    color: #4878c0;
}

.terminal__prompt--bling {
    color: #dddddd;
    padding-right: 7px;
}

.terminal__prompt--cursor {  
    display: inline-block;
    vertical-align: middle;
    height: 17px;
    width: 8px;
    animation: blink 1200ms linear infinite;
}

/* Elements */
#elements {
    display: grid;
    grid-area: "a b c d";
    grid-template-columns: 1fr 1fr 1fr 1fr;
    text-align: center;
    max-width: 100%;
    margin-top: 20px;
    min-height: 60vh;
}

.elements__el {
    margin: auto;
    padding: 0 10px;
    text-decoration: none;
    color: white;
}


.el__img {
    width: 270px;
    margin: auto;
    filter: drop-shadow( 2px 2px 1px #79bbb2ce);
}

/* Details */
.details__detail {
    display: grid;
    grid-template-columns: 1fr 3fr;
    column-gap: 15px;
    width: 90%;
    margin: auto;
    text-align: center;
    min-height: 50vh;
    align-items: center;
    scroll-margin-top: 100px;
}

.detail__title {
    display: none;
    margin-top: 0;
}

.detail__img {
    margin: auto;
    width: 270px;
    filter: drop-shadow( 2px 2px 1px #79bbb2ce);
}

.detail__desc {
    text-align: justify;
    font-size: 18px;
    line-height: 1.3;
}

/* Animation */
@keyframes floatRotate {
    0% {
        transform: translateY(0px) rotate(0deg);
    }
    25% {
        transform: translateY(-8px) rotate(5deg);
    }
    50% {
        transform: translateY(0px) rotate(0deg);
    }
    75% {
        transform: translateY(8px) rotate(-5deg);
    }
    100% {
        transform: translateY(0px) rotate(0deg);
    }
}

@keyframes blink {  
    0% {    
        background: #ffffff;  
    }  
    49% {    
        background: #ffffff;  
    }  
    60% {    
        background: transparent;  
    }  
    99% {    
        background: transparent;  
    }  
    100% {    
        background: #ffffff;  
    }
}

@media (max-width: 1400px) {
    #elements {
        grid-area: "a b"
        "c d";
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 1fr 1fr;
    }
    .el__img {
        margin: 50px 0;
    }
    .detail__img {
        width: 220px;
    }
}

/* Responsive */
@media (max-width: 1000px) {
    .about__terminal {
        width: 80%;
        height: auto;
    }
    .terminal__body {
        padding-bottom: 100px;
    }
    .banner__slogan {
        font-size: 40px;
    }
    .details__detail {
        grid-template-columns: 1fr 2fr;
    }
    .msg_box {
        width: 90%;
    }
}

@media (max-width: 850px) {
    .detail__img {
        display: none;
    }
    .detail__title {
        display: block;
    }
    .details__detail {
        grid-template-columns: 1fr;
    }
    .el__img {
        width: 210px;
    }
    dotlottie-wc {
        width: 350px !important;
        height: 350px !important;
    }
    .detail__desc {
        margin-bottom: 80px;
    }
}

@media (max-width: 800px) {
    .terminal__body {
        height: 350px;
    }
}

@media (max-width: 650px) {
    .banner__cpu_img {
        width: 200px;
    }
    .banner__slogan {
        font-size: 30px;
    }
}

@media (max-width: 600px) {
    .el__img {
        width: 160px;
    }
    .illu {
        width: 90px !important;
    }
    .lc__illu03 {
        width: 130px !important;
    }
}