@import url('https://fonts.googleapis.com/css2?family=Dekko&family=Edu+QLD+Beginner:wght@400..700&family=Edu+SA+Beginner:wght@400..700&family=Montserrat:ital,wght@0,100..900;1,100..900&family=Open+Sans:ital,wght@0,300..800;1,300..800&family=Poppins:wght@300;400;500;600;700&family=Shantell+Sans:ital,wght@0,300..800;1,300..800&family=Short+Stack&display=swap');

*,
*::before,
*::after {
    margin: 0;
    padding: 0;
}

body {
    font-family: "Montserrat", sans-serif;
}

.background-image {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("../img/about-me.png");
    background-position: center;
    background-attachment: fixed;
    background-size: cover;
    z-index: -1;
}


/* Modal */
.modal-content {
    background-color: rgba(180, 180, 180, 0.2);
    backdrop-filter: blur(10px);
}

.btn-close {
    background-image: url("/assets/svg/x.svg") !important;
}


/* Navbar */
.navbar {
    
    box-shadow: 0 0 50px rgba(22, 22, 22, 0.8), 
    0 -10px 50px rgba(0, 0, 0, 0.6), 
    0 -20px 50px rgba(0, 0, 0, 0.4), 
    0 -30px 50px rgba(0, 0, 0, 0.2), 
    0 -40px 50px rgba(0, 0, 0, 0.1);
    
}

.nav-link { color: #fff; }
.nav-link:hover, a:hover { color: rgb(114, 114, 114); }

.navbar-toggler-icon { background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255, 255, 255, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important; }

.navbar-toggler { color: #fff; }

.navbar-brand { transition: transform 0.5s ease-in-out; }

.navbar-brand:hover { animation: rotateAnimation 1s ease-in-out forwards; }

.logoRotate {
    animation: rotateAnimation 1s ease-in-out forwards;
}

@keyframes rotateAnimation {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}


/* About Text */
.about-h {
    font-size: 56px;
    font-weight: bold;
}

.about-text {
    font-size: 18px;
}

.m-t {
    margin-top: 100px !important;
}


/* Buttons long/short form */
#showLongForm, #showShortForm { color: rgb(114, 114, 114); }

.overlay {
    background-color: rgba(22, 22, 22, 0.8);
    border-radius: 10px;
}

.active {
    color: #fff !important;
}


/* Carousel */
.carousel-inner {
    background-color: rgba(114, 114, 114, 0.096);
    box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.4);
}

.carousel-control-prev-icon {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23fff' viewBox='0 0 8 8'%3E%3Cpath d='M5.25 0l-4 4 4 4 1.5-1.5-2.5-2.5 2.5-2.5-1.5-1.5z'/%3E%3C/svg%3E") !important;
}
   
.carousel-control-next-icon {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23fff' viewBox='0 0 8 8'%3E%3Cpath d='M2.75 0l-1.5 1.5 2.5 2.5-2.5 2.5 1.5 1.5 4-4-4-4z'/%3E%3C/svg%3E") !important;
}

.carousel-control-prev,
.carousel-control-next {
    opacity: 1 !important;
    width: 10%;
}

.carousel-control-prev {
    background-image: linear-gradient(to right, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0) 100%);
}
.carousel-control-next {
    background-image: linear-gradient(to left, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0) 100%);
}

.carousel-item {
    position: relative;
}

.play-button {
    position: absolute;
    font-size: 25px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border-radius: 50%;
    width: 80px;
    height: 80px;
    text-align: center;
    line-height: 80px;
    cursor: pointer;
    transition: opacity 0.3s ease-in-out;
}

.carousel-item .play-button:hover {
    background-color: rgba(0, 0, 0, 0.7);
}








/* Resume Card */
.resume-card {
    background-color: rgba(114, 114, 114, 0.096);
    box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.4);
}

.card-header-tabs .nav-link.active {
    background-color: rgb(114, 114, 114, 0.2) !important;
    border: 0;
}

.card-text {
    color: rgb(204, 204, 204) !important;
}

.card-text.resume-link a {
    color: rgba(216, 216, 216, 0.322);
}

.resume-link a {
    text-decoration: underline;
    color: inherit;
}

.spacer {
    margin-top: 60px !important;
}

.b-spacer {
    margin-top: 5px !important;
}



/* Contact Form */
.contact-form {
    background-color: rgba(77, 77, 77, 0.247);
    box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.4);
}

.form-control {
    background-color: #dbdbdb2f;
    border-color: #dbdbdb2f;
}

.form-control:focus {
    background-color: #f0f0f065;
    border-color: #f0f0f065;
}



/* Footer */
footer {
    background-image: linear-gradient(to top, rgba(22,22,22,1) 0%, rgba(22,22,22,0.1) 90%, rgba(22,22,22,0) 100%);
    padding: 15px;
    text-align: center;
}

footer a {
    color: #fff;
    text-decoration: none;
    margin: 0 40px;
}


footer a:first-child { margin-left: 0; }

footer a:last-child { margin-right: 0; }


@keyframes fadeIn {
    0% { opacity: 0; }
    100% { opacity: 1; }
}

.fade-in { animation: fadeIn 1s ease; }




/*responsiveness*/

@media (max-width: 1440px) {
    .about-text {
        font-size: 16px;
    }
}

@media (max-width: 768px) {
    .about-text {
        font-size: 14px;
    }
}

@media (max-width: 576px) {
    .play-button {
        font-size: 23px;
        width: 60px;
        height: 60px;
        line-height: 60px;
    }
}

@media (max-width: 435px) {
    .play-button {
        font-size: 20px;
        width: 50px;
        height: 50px;
        line-height: 50px;
    }
}

@media (max-width: 346px) {
    footer a {
        margin: 0 20px;
    }
}

@media (max-width: 335px) {
    
    .overlay {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    .overlay button:first-child {
        margin-left: 22px;
    }

    .play-button {
        font-size: 15px;
        width: 35px;
        height: 35px;
        line-height: 35px;
    }
}

@media (max-width: 320px) {
    .about-h {
        margin-top: -48px !important;
    }
    .m-t {
        margin-top: 0px !important;
    }
}