@font-face {
    font-family: "default";
    src: url("../fonts/DMSans-Regular.ttf");
}

@font-face {
    font-family: "default";
    src: url("../fonts/DMSans-Regular.ttf");
    font-weight: normal;
}

@font-face {
    font-family: "default";
    src: url("../fonts/DMSans-Bold.ttf");
    font-weight: bold;
}

body {
    background-image: linear-gradient(450deg, rgb(248, 248, 248), #acdcf2);
    scroll-behavior: smooth;
    font-family: "default";
}

html,
body {
    margin: 0;
    padding: 0;
    font-size: 20px;
    scroll-behavior: smooth;
}


@media (orientation: portrait) {

    html,
    body {
        font-size: 30px;
    }
}

.pr-100 {
    padding-right: 100px;
}

.pl-100 {
    padding-left: 100px;
}

nav {
    margin-bottom: 101px;
    background-color: white;
    position: sticky;
}

.nav-content {
    width: 50%;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-content: space-evenly;
}

@media (orientation: portrait) {
    .nav-content {
        width: 100%;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }
}

.floating-btn {
    visibility: collapse;
}

.overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.6);
    z-index: 999;
    animation: fadeIn 0.3s ease;
}

.popup_book {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    max-width: 500px;
    width: 90%;
    animation: slideIn 0.3s ease;
}

.popup {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    max-width: 500px;
    width: 90%;
    animation: slideIn 0.3s ease;
}

.popup.active,
.popup_book.active,
.overlay.active {
    display: block;
}

.popup-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    color: #F59619;
}

.action-btn {
    color: #F59619;
}

iframe {
    border: 0;
    width: 100%;
    height: 600px;
    frameborder: 0;
}

.popup h2 {
    color: #333;
    font-size: 24px;
}

@media (orientation: portrait) {

    .action-btn {
        color: #F59619;
        font-size: 2em;
    }

    .popup-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 50px;
        color: #F59619;
    }

    iframe {
        border: 0;
        width: 100%;
        height: 1000px;
        frameborder: 0;
    }

    .action-btn {
        color: #F59619;
    }

    .popup h2 {
        color: #333;
        font-size: 60px;
    }

    .popup_book {
        display: none;
        position: fixed;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        background: white;
        padding: 40px;
        border-radius: 15px;
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
        z-index: 1000;
        max-width: 100%;
        width: 90%;
        height: max-content;
        animation: slideIn 0.3s ease;
    }

    .popup {
        display: none;
        position: fixed;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        background: white;
        padding: 40px;
        border-radius: 15px;
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
        z-index: 1000;
        max-width: 100%;
        width: 90%;
        animation: slideIn 0.3s ease;
    }
}


.logo {
    min-height: 28px;
    min-width: 28px;
    margin-right: 8px;
    opacity: 1;
    background-repeat: no-repeat;
    background-size: contain;
    background-image: url("../media/main_logo.png");
}

.close-btn {
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
    color: #999;
    transition: color 0.2s;
    line-height: 1;
}

.close-btn:hover {
    color: #333;
}


.menu-item {
    margin-left: 32px;
    font-size: 0.8rem;
    font-weight: 300;
}

.popup-content {
    color: #666;
    line-height: 1.6;
    margin-bottom: 25px;
}

.popup-footer {
    text-align: right;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideIn {
    from {
        transform: translate(-50%, -60%);
        opacity: 0;
    }

    to {
        transform: translate(-50%, -50%);
        opacity: 1;
    }
}

.book {
    color: white;
    padding-left: 20px;
    padding-right: 20px;
    padding-top: 15px;
    padding-bottom: 15px;
    margin-bottom: 50px;
    border-radius: 12px;
}

@media (orientation: portrait) {

    .book {
        font-size: 1em;

    }

    .open_btn_upper {
        visibility: collapse;
    }

    .floating-btn {
        visibility: visible;
        position: fixed;
        bottom: 80px;
        right: 20px;
        width: 350px;
        height: 120px;
        border-radius: 20px;
        font-weight: 700;
        color: white;
        display: flex;
        justify-content: center;
        align-items: center;
        font-size: 1.3em;
        box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
        text-decoration: none;
        /* Removes underline from link */
        cursor: pointer;
        z-index: 10;
        /* Ensures the button stays on top of other content */
    }

    .fas {
        opacity: 0.7;
    }

    .menu-item {
        font-size: 1.1rem;
        width: fit-content;
    }

    .contnav {
        margin-top: 20px;
    }
}


.small-title {
    font-size: 1.2em;
    font-weight: bold;
    color: #F59619;
}

.linkedin {
    text-decoration: underline;
}

.title {
    font-size: 2.5em;
    font-weight: 600;
    line-height: 115%;
}

.mb-50 {
    margin-bottom: 50px;
}

.hero-bulletpoint {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    text-align: start;
    font-size: 0.9em;
    margin-bottom: 16px;
}

.checkbox {
    margin-right: 5px;
    size: 32px;
    width: 32px;
    height: 32px;
    background-image: url("../media/chec.png");
}

@media (orientation: portrait) {
    .checkbox {
        margin-right: 5px;
        size: 34px;
        width: 34px;
        height: 34px;
        background-image: url("../media/chec.png");
    }
}

.w60 {
    width: 60%;
}

.small-title-purple {
    font-size: 16px;
    font-weight: bold;
    color: #863E68;
}

footer {
    margin: 0 auto;
    padding: 0 auto;
    width: 100%;
    padding-top: 10px;
    padding-left: 15%;
    padding-right: 15%;
    padding-bottom: 10px;
    background-color: white;
    font-size: 0.8em;
}

footer .div {
    margin-top: 20px;
}

.contact-us {
    font-size: 1.2em;
    color: black;
}

@media (orientation: portrait) {
    .mb-50 {
        font-size: 0.9rem;
    }
}
