/* =========================================================
   RESET
========================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


/* =========================================================
   HTML / BODY
========================================================= */

html,
body {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
}


body.intranet-body {

    width: 100vw;
    height: 100vh;

    min-height: 100vh;
    max-height: 100vh;

    overflow: hidden;

    font-family:
        Arial,
        Helvetica,
        sans-serif;

    background-repeat: no-repeat;

    /*
       COVER keeps the image proportional.
       It may crop a small part of the image
       depending on the screen ratio.
    */
    background-size: cover;

    background-position: center center;

    background-attachment: fixed;

    background-color: #000000;

    color: #ffffff;
}


/* =========================================================
   HEADER
========================================================= */

header {

    width: 100%;

    height: 110px;

    min-height: 110px;

    background: rgba(0, 0, 0, 0.10);
}


/* =========================================================
   MAIN HEADER
========================================================= */

.main {

    width: 90%;

    max-width: 1400px;

    height: 110px;

    margin: 0 auto;

    display: flex;

    align-items: center;

    justify-content: space-between;

    padding: 10px 0;
}


/* =========================================================
   LOGO
========================================================= */

.logo {

    display: flex;

    align-items: center;

    flex-shrink: 0;
}


.logo a {

    display: block;

    text-decoration: none;
}


.logo img {

    width: 190px;

    max-width: 100%;

    height: auto;

    display: block;

    object-fit: contain;
}


/* =========================================================
   NAVIGATION
========================================================= */

nav {

    display: flex;

    align-items: center;

    justify-content: flex-end;

    flex: 1;
}


.main ul {

    list-style: none;

    display: flex;

    align-items: center;

    justify-content: flex-end;

    gap: 8px;

    margin: 0;

    padding: 0;
}


.main ul li {

    display: inline-block;
}


.main ul li a {

    display: block;

    color: #ffffff;

    text-decoration: none;

    padding: 11px 16px;

    font-size: 15px;

    font-weight: 600;

    border-radius: 5px;

    transition: all 0.3s ease;
}


.main ul li a:hover,
.main ul li.active a {

    background-color: #27ae60;

    color: #ffffff;
}


/* =========================================================
   AUTH BUTTONS
========================================================= */

.auth-buttons {

    display: flex;

    align-items: center;

    gap: 8px;

    margin-left: 8px;
}


.auth-buttons a {

    text-decoration: none;

    padding: 10px 17px;

    border-radius: 5px;

    font-size: 14px;

    font-weight: bold;

    transition: all 0.3s ease;

    white-space: nowrap;
}


/* =========================================================
   LOGIN
========================================================= */

.btn-login {

    background-color: #2980b9;

    color: #ffffff;
}


.btn-login:hover {

    background-color: #1f6690;

    color: #ffffff;

    transform: translateY(-2px);

    box-shadow:
        0 5px 12px rgba(0, 0, 0, 0.25);
}


/* =========================================================
   REGISTER
========================================================= */

.btn-register {

    background-color: #27ae60;

    color: #ffffff;
}


.btn-register:hover {

    background-color: #1e8449;

    color: #ffffff;

    transform: translateY(-2px);

    box-shadow:
        0 5px 12px rgba(0, 0, 0, 0.25);
}


/* =========================================================
   PAGE CONTENT
========================================================= */

.content {

    width: 100%;

    height: calc(100vh - 110px);

    min-height: 0;

    display: flex;

    justify-content: center;

    align-items: center;

    text-align: center;

    padding: 20px;

    overflow: hidden;
}


/* =========================================================
   CONTENT BOX
========================================================= */

.content-box {

    width: 100%;

    max-width: 850px;

    max-height: calc(100vh - 160px);

    color: #ffffff;

    padding: 40px 35px;

    background:
        rgba(0, 0, 0, 0.45);

    border-radius: 12px;

    border:
        1px solid rgba(255, 255, 255, 0.12);

    box-shadow:
        0 10px 35px rgba(0, 0, 0, 0.35);

    backdrop-filter:
        blur(3px);

    overflow: hidden;
}


/* =========================================================
   TITLE
========================================================= */

.title h1 {

    font-size: 44px;

    margin-bottom: 18px;

    font-weight: 700;

    text-transform: uppercase;

    letter-spacing: 1px;

    line-height: 1.2;
}


.title p {

    font-size: 19px;

    line-height: 1.55;

    margin-bottom: 28px;

    color: #f1f1f1;
}


.title p strong {

    color: #27ae60;
}


/* =========================================================
   ACTION BUTTONS
========================================================= */

.buttons {

    display: flex;

    justify-content: center;

    align-items: center;

    gap: 12px;

    flex-wrap: wrap;
}


.btn {

    display: inline-block;

    padding: 13px 25px;

    border-radius: 5px;

    text-decoration: none;

    color: #ffffff;

    font-size: 15px;

    font-weight: bold;

    transition: all 0.3s ease;

    border: none;
}


.btn:hover {

    color: #ffffff;

    transform: translateY(-2px);

    box-shadow:
        0 5px 15px rgba(0, 0, 0, 0.30);
}


/* =========================================================
   VIDEO
========================================================= */

.btn-video {

    background-color: #e74c3c;
}


.btn-video:hover {

    background-color: #c0392b;
}


/* =========================================================
   PHOTOS
========================================================= */

.btn-photos {

    background-color: #8e44ad;
}


.btn-photos:hover {

    background-color: #71368a;
}


/* =========================================================
   CONTENT LOGIN
========================================================= */

.buttons .btn-login {

    background-color: #2980b9;
}


.buttons .btn-login:hover {

    background-color: #1f6690;
}


/* =========================================================
   CONTENT REGISTER
========================================================= */

.buttons .btn-register {

    background-color: #27ae60;
}


.buttons .btn-register:hover {

    background-color: #1e8449;
}


/* =========================================================
   FOOTER
========================================================= */

footer {

    position: fixed;

    bottom: 0;

    left: 0;

    width: 100%;

    height: 38px;

    display: flex;

    align-items: center;

    justify-content: center;

    text-align: center;

    padding: 8px;

    background:
        rgba(0, 0, 0, 0.55);

    color: #ffffff;

    font-size: 12px;

    z-index: 1000;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1100px) {

    .main {

        width: 95%;
    }


    .logo img {

        width: 165px;
    }


    .main ul {

        gap: 4px;
    }


    .main ul li a {

        padding: 9px 11px;

        font-size: 13px;
    }


    .auth-buttons a {

        padding: 9px 12px;

        font-size: 13px;
    }


    .title h1 {

        font-size: 38px;
    }


    .title p {

        font-size: 17px;
    }
}


/* =========================================================
   MOBILE / SMALL SCREENS
========================================================= */

@media (max-width: 900px) {

    body.intranet-body {

        overflow-y: auto;

        height: auto;

        min-height: 100vh;

        max-height: none;
    }


    header {

        height: auto;

        min-height: auto;
    }


    .main {

        width: 95%;

        height: auto;

        flex-direction: column;

        gap: 12px;

        padding: 12px 0;
    }


    .logo img {

        width: 160px;
    }


    nav {

        width: 100%;

        justify-content: center;
    }


    .main ul {

        width: 100%;

        flex-wrap: wrap;

        justify-content: center;

        gap: 4px;
    }


    .main ul li a {

        padding: 8px 10px;

        font-size: 13px;
    }


    .auth-item {

        width: auto;
    }


    .auth-buttons {

        margin-left: 0;

        justify-content: center;
    }


    .content {

        height: auto;

        min-height: calc(100vh - 180px);

        padding: 25px 15px 60px;

        overflow: visible;
    }


    .content-box {

        max-width: 95%;

        max-height: none;

        padding: 35px 22px;

        overflow: visible;
    }


    .title h1 {

        font-size: 32px;
    }


    .title p {

        font-size: 16px;

        line-height: 1.5;
    }
}


/* =========================================================
   VERY SMALL MOBILE
========================================================= */

@media (max-width: 600px) {

    .logo img {

        width: 140px;
    }


    .main ul {

        flex-direction: column;

        gap: 3px;
    }


    .main ul li {

        width: 100%;

        text-align: center;
    }


    .main ul li a {

        width: 100%;

        padding: 8px;

        font-size: 13px;
    }


    .auth-item {

        width: 100%;
    }


    .auth-buttons {

        width: 100%;

        flex-wrap: wrap;
    }


    .auth-buttons a {

        padding: 8px 12px;

        font-size: 12px;
    }


    .content {

        padding:
            20px 12px 60px;
    }


    .content-box {

        max-width: 100%;

        padding:
            28px 17px;
    }


    .title h1 {

        font-size: 26px;

        letter-spacing: 0;
    }


    .title p {

        font-size: 15px;

        line-height: 1.5;
    }


    .buttons {

        flex-direction: column;

        width: 100%;
    }


    .btn {

        width: 100%;

        max-width: 280px;

        padding: 11px 18px;

        font-size: 13px;
    }


    footer {

        height: 34px;

        font-size: 10px;

        padding: 7px;
    }
}


/* =========================================================
   SHORT DESKTOP SCREENS
   Example: 1366x768
========================================================= */

@media (min-width: 901px) and (max-height: 800px) {

    header {

        height: 90px;

        min-height: 90px;
    }


    .main {

        height: 90px;

        padding: 8px 0;
    }


    .logo img {

        width: 160px;
    }


    .main ul li a {

        padding: 9px 13px;

        font-size: 13px;
    }


    .auth-buttons a {

        padding: 8px 13px;

        font-size: 13px;
    }


    .content {

        height: calc(100vh - 90px);

        padding: 15px;
    }


    .content-box {

        padding: 30px 35px;

        max-width: 800px;
    }


    .title h1 {

        font-size: 38px;

        margin-bottom: 12px;
    }


    .title p {

        font-size: 17px;

        margin-bottom: 20px;
    }


    .btn {

        padding: 11px 22px;

        font-size: 14px;
    }
}