@font-face {
    font-family: "DVFont";
    src: url("fonts/Silom.ttf");
    font-display: swap;
}

@font-face {
    font-family: "DVSmall";
    src: url("fonts/typewriter_condensed/typewcond_bold.otf");
    src: url("fonts/typewriter_condensed/typewcond_demi.otf");
    src: url("fonts/typewriter_condensed/typewcond_regular.otf");
    font-display: swap;
}

.bg-nav {
    background-color: #0B5294;
    color: white;
    font-family: "DVFont";
}

.nav-link {
    color: white !important;
    font-family: "DVFont";
    margin-right: 15px;
}

.margin-top {
    margin-top: 69px;
}

.top {
    padding-top: 69px;
    padding-bottom: 20px;
}

.extra {
    margin-top: 13px;
    color: #0B5294;
    font-family: "DVSmall";
    font-size: 21px;
}

p {
    color: #0B5294;
    font-family: "DVSmall";
}

.purple {
    color: #8D85E8;
}

h2 {
    color: #0B5294;
    font-family: "DVFont";
    font-size: 26px;
}

.text-title {
    color: #0B5294;
    font-family: "DVFont";
    font-size: 20px;
}

.socials {
    margin-top: 15px;
}

.socials a {
    color: #649BD4 !important;
}

.bold {
    color: #0A437A !important;
    font-family: "DVFont";
}

.bold a {
    color: #0B5294 !important;
    font-size: 15px;
}

.text {
    color: #0B5294;
    font-family: "DVFont";
    font-size: 15px;
}

.text .icon {
    max-width: 44px;
    margin-right: 10px;
}

.icon.heart {
    max-width: 34px;
}

.icon.baloon {
    max-width: 30px;
}

.bars {
    width: 60%;
    margin-left: auto !important;
    margin-right: auto !important;
}

.flex {
    display: flex;
}

.flex .bullet-text {
    max-width: 338px;
    margin-left: auto;
    margin-right: auto;
}

.bar {
    color: #0B5294;
    display: flex;
    flex-direction: row;
    width: 100%;
    align-items: center;
}

.progress {
    background-color: white;
    border-radius: 2px;
    border: 1px solid #0A437A;
    max-width: 213px;
    width: 100%;
    margin-left: auto;
}

.progress-bar {
    background-color: #3F84C5 !important;
    border-right: 1px solid #0A437A;
}

.btn-primary {
    background-color: #3F84C5 !important;
    border: 2px solid #034C90 !important;
    width: 122px;
    border-radius: 3px;
    font-size: 12px !important;
    font-family: "DVFont";
}

.btn-primary:hover {
    background-color: #034C90 !important;
}

.text-sub {
    color: #649BD4;
    font-size: 19px;
    font-family: "DVSmall";
}

.bullet-text {
    color: #649BD4;
    font-size: 16px;
    font-family: "DVSmall";
}

.top-img {
    max-height: 227px;
}

.divider-1 {
    padding-bottom: 11px;
    background: rgb(229, 237, 240);
    background: linear-gradient(180deg, #E5EDF0, #E9F1F4);
}

.divider-2 {
    padding-bottom: 11px;
    background: rgb(219, 229, 231);
    background: linear-gradient(180deg, #DBE5E7, #DBE1F1);
}

.bg-1 {
    background-color: #F3F6FB;
}

.bg-2 {
    background-color: #C3C5EE;
}

.bg-3 {
    background-color: #D7EDF8;
}

.section {
    padding-top: 42px;
    padding-bottom: 20px;
}

.title {
    max-height: 50px;
}

.about-img {
    max-height: 280px;
    margin-top: 60px;
    margin-left: -49px;
    max-width: 100%;
}

.skills {
    margin-right: 15px;
}

.contact-img {
    max-height: 232px;
    margin-top: 60px;
}

.center-text {
    text-align: center;
}

.spacing {
    margin-top: 20px;
}

.spacing.extra {
    margin-top: 40px;
}

.margin {
    margin-top: 20px;
}

.box {
    background-color: black;
    width: 250px;
    height: 250px;
}

.dot {
    margin-right: auto;
    margin-left: auto;
    font-size: 25px;
}

.margin-bottom {
    margin-bottom: 30px;
}

.title-mobile {
    display: none;
    width: 86%;
    margin-left: auto;
    margin-right: auto;
    max-height: 56px;
}

.up {
    background-color: rgba(0,0,0,0.5);
    font-size: 27px;
    padding-left: 10px;
    padding-right: 10px;
    position: fixed;
    margin-bottom: 15px;
    right: 0;
    bottom: 0;
    margin-right: 15px;
    color: white;
    visibility: hidden;
    transition: opacity 0.3s linear;
    opacity: 0;
}

.show {
  visibility: visible;
  opacity: 1;
}

.up:hover {
    color: lightgrey;
}

html { scroll-behavior: smooth; } 

@media (max-width: 1199px) {
    .bars {
        width: 72%;
    }
}

@media (max-width: 991px) {
    .bars {
        width: 96%;
    }
}

@media (max-width: 767px) {
    .mobile-center {
        text-align: center;
        margin-bottom: 20px;
    }

    .title {
        display: none;
    }

    .title-mobile {
        display: block;
    }
}

@media (max-width: 767px){
    .top .row {
        flex-direction: column-reverse;
    }

    .top-img {
        margin-bottom: 35px;
    }
}
