@font-face {
    font-family: "EurynomaCustom";
    font-style: normal;
    font-weight: normal;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    src: url('../fonts/EurynomaCustom.woff2');
}

@font-face {
    font-family: "Montserrat-Regular";
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    src: url('../fonts/Montserrat-Regular.woff2');
}

@font-face {
    font-family: "Montserrat-Medium";
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    src: url('../fonts/Montserrat-Medium.woff2');
}

:root {
    --body: #fffefe;
    --main-light: #ffffff;
    --main-dark: #000000;

    --Logo-Filter: none;

    --contrast-10: #d1e8f2;
    --contrast-20: #b8e6f9;
    --contrast-30: #9bcde3;
    --contrast-40: #88c3dd;
    --contrast-50: #63aece;
    --contrast-60: #5396b2;
    --contrast-70: #3e819d;
    --contrast-80: #30728f;
    --contrast-90: #1d546c;
    --contrast-100: #123b4c;
    
    --nav-light: #ffffff;
    --footer-light: #181925;

    --gray-10: #fafafa;
    --gray-20: #f0f0f0;
    --gray-30: #e9e9e9;
    --gray-40: #dadada;
    --gray-50: #bbbbbb;
    --gray-60: #9b9b9b;
    --gray-70: #818181;
    --gray-80: #646464;
    --gray-90: #4e4e4e;
    --gray-100: #353535;

    --WhatsApp-dark: #075e54;
    --WhatsApp-medium: #128c7e;
    --WhatsApp-bright: #25d366;
    --WhatsApp-light: #dcf8c6;
    --WhatsApp-back: #ece5dd;
}

/* Chrome, Safari, Edge, Opera */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Firefox */
input[type=number] {
  -moz-appearance: textfield;
}

body {
    background-color: var(--body);
    min-height: 100svh;
    margin: 0;
    -webkit-font-smoothing: antialiased;
    -webkit-text-size-adjust: 100%;
    text-rendering: optimizeSpeed;
    overflow-wrap: break-word;
    -moz-osx-font-smoothing: grayscale;
    transition: 0.5s all;
    display: grid;
    grid-template-rows: max-content auto max-content;
    grid-template-columns: auto;

    & a {
        text-decoration: none;
    }

    &.Dark-Theme {
        --body: #222222;
        --main-light: #231f20;
        --main-dark: #ffffff;
        --nav-light: var(--main-light);

        --gray-100: #fafafa;
        --gray-90: #f0f0f0;
        --gray-80: #e9e9e9;
        --gray-70: #dadada;
        --gray-60: #bbbbbb;
        --gray-50: #9b9b9b;
        --gray-40: #818181;
        --gray-30: #646464;
        --gray-20: #4e4e4e;
        --gray-10: #353535;

        --Logo-Filter-OpenNav: brightness(0) invert(1);
        --Logo-Filter: brightness(0) invert(1);

        --contrast-100: #d1e8f2;
        --contrast-90: #b8e6f9;
        --contrast-80: #9bcde3;
        --contrast-70: #88c3dd;
        --contrast-60: #63aece;
        --contrast-50: #5396b2;
        --contrast-40: #3e819d;
        --contrast-30: #30728f;
        --contrast-20: #1d546c;
        --contrast-10: #123b4c;
    }

    & header {
        background-color: var(--nav-light);
        position: relative;
        z-index: 150;
        /*width: 100svw;*/

        & nav {
            height: 50px;
            padding: 10px 30px;
            display: grid;
            grid-template-columns: 1fr auto 1fr;
            position: relative;
            transition: 0.3s background-color;
            color: var(--main-dark);

            & a, & button {
                color: var(--main-dark);
                width: fit-content;
            }

            & .NavIcon {
                font-style: normal;
                font-size: 25px;
                font-weight: 400;
                cursor: pointer;
                transition: 0.4s color;                
                font-family: "EurynomaCustom";

                &:hover {
                    color: var(--contrast-50);
                }
            }

            & button {
                border: 0;
                background-color: transparent;
                cursor: pointer;
                font-family: "Montserrat-Regular";
                display: flex;
                align-items: center;
                padding: 5px;
                border-radius: 5px;
                transition: 0.3s background-color;

                &:hover {
                    background-color: var(--gray-20);
                }

                & i {
                    margin-right: 8px;
                    font-family: "EurynomaCustom";
                    font-style: normal;
                    font-size: 25px;
                }
            }

            & .MenuCont {
                display: none;
                align-items: center;
            }

            & .SubMenu {
                display: flex;
                align-items: center;

                & .Utils {
                    display: none;
                    padding: 15px;
                    gap: 15px;

                    & button i {
                        margin-left: 0;
                    }
                }

                & ul {
                    display: flex;
                    align-items: center;
                    gap: 30px;
                    padding: 0;
                    margin: 0;
    
                    & li {
                        list-style: none;
                        font-family: Optima,Segoe,Segoe UI,Candara,Calibri,Arial,sans-serif;
                        font-size: 1rem;
                        font-weight: 600;
    
                        & a {
                            text-decoration: none;
                            cursor: pointer;
                            transition: 0.4s color;
    
                            &:hover {
                                color: var(--contrast-50);
                            }
                        }
    
                        & span {
                            font-family: "EurynomaCustom";
                            color: white;
                            display: none;
                        }
                    }
                }
            }


            & .LogoCont {
                display: flex;
                align-items: center;
                cursor: pointer;

                & img {
                    height: 50px;
                    filter: var(--Logo-Filter);
                    transition: 0.5s filter;
                }
            }

            & .IconCont {
                display: flex;
                align-items: center;
                justify-content: right;
                gap: 15px;
            }
        }
    }

    & main {
        background-color: var(--gray-20);
        
        & .FrontPage {
            display: flex;
            align-items: center;
            position: relative;
            background-position: center;
            background-repeat: no-repeat;
            background-size: cover;
            padding: 50px;

            & .Message {
                margin-top: 70px;

                & h1 {
                    color: white;
                    font-family: "Montserrat-Regular";
                    font-size: 4rem;
                    margin: 0;
                    margin-bottom: 20px;
                    max-width: 750px;
                    line-height: 100%;
                }
    
                & .Card {
                    background-color: rgba(255, 255, 255, 0.788);
                    width: 40%;
                    min-width: 250px;
                    padding: 15px;
    
                    & p {
                        margin: 0;
                        font-size: 1.5rem;
                        font-family: "Montserrat-Medium";
                        line-height: 90%;
                    }
    
                    & button {
                        background-color: black;
                        color: white;
                        border: 0;
                        border-radius: 6px;
                        font-size: 1.2rem;
                        padding: 5px 10px;
                        margin-top: 10px ;
                        cursor: pointer;
                        transition: 0.3s opacity;
    
                        &:hover {
                            opacity: 70%;
                        }
                    }
                }
            }
        }

        & .PageTitle {
            color: var(--contrast-80);
            padding: 20px 40px;

            & h1 {
                margin: 0;
                font-family: "Montserrat-Medium";
            }
        }

        & .Banner1 {

        }
    }
    
    & footer {
        background-color: var(--nav-light);
        color: var(--main-dark);
        font-family: "Montserrat-Medium";
        padding: 30px;
        max-width: calc(100dvw - 60px);

        & i {
            font-style: normal;
            font-family: "EurynomaCustom";
            font-size: 25px;
            margin-right: 8px;
        }

        & .FootCards {
            column-width: 21rem;
            gap: 40px;
            margin-bottom: 25px;

            & .Card {
                page-break-inside: avoid;
                break-inside: avoid;
                margin-bottom: 15px;

                & h4 {
                    margin: 0;
                }

                & ul {
                    padding: 0;
                    font-size: 0.9rem;
                    margin: 0;

                    & li {
                        display: flex;
                        align-items: center;
                        list-style: none;
                        font-size: 0.9rem;

                        & h5 {
                            margin: 0;
                            color: var(--gray-70);
                        }

                        & a {
                            color: var(--gray-70);
                            transition: 0.3s all;

                            &:hover {
                                color: var(--gray-90);
                                text-decoration: underline;
                            }
                        }
                    }

                    &.MediaIcons {
                        & i {
                            font-size: 35px;
                            color: var(--gray-80);
                            cursor: pointer;
                            transition: 0.3s color;

                            &:hover {
                                color: var(--gray-100);
                            }
                        }

                        & a {
                            &:hover {
                                text-decoration: none;
                            }
                        }
                    }
                }
            }
        }

        & .Copy {
            display: flex;
            justify-content: space-between;
            font-size: 0.8rem;
            color: var(--gray-70);

            & a {
                color: var(--gray-80);
                transition: all 0.3s;

                &:hover {
                    color: var(--gray-100);
                    text-decoration: underline;
                }
            }

            & p {
                margin: 0;
            }
        }
    }
}

@media only screen and (max-width: 1150px) {

    body {
        & header {

            & nav {
                padding: 10px;
                height: 50px;
                grid-template-columns: 1fr auto;

                & .MenuCont {
                    display: flex;
                }

                & .IconCont {
                    display: none;
                }

                & .SubMenu {
                    position: absolute;
                    min-height: calc(100dvh - 70px);
                    top: 100%;
                    left: -75%;
                    z-index: 100;
                    background-color: var(--nav-light);
                    margin: 0;
                    transition: 0.3s left;
                    width: 75%;
                    max-width: 300px;
                    display: block;
                    color: var(--main-dark);

                    & ul {
                        display: grid;
                        padding: 15px;
                        gap: 15px;

                        & li {
                            display: flex;
                            align-items: center;
                            justify-content: space-between;

                            & span {
                                display: block;
                            }
                        }
                    }

                    &.Open {
                        left: 0;
                    }

                    & .Utils {
                        display: grid;
                        grid-template-columns: auto;
                        gap: 0px;
                    }
                }

                & .LogoCont {
                    margin-right: 15px;

                    & img {
                        max-height: 50px;
                        height: 80%;
                    }
                }

                & .IconCont {

                    & .LogIn, & #ThemeButton1 {
                        display: none;
                    }
                }
            }
        }

        & main {

            & .FrontPage {
                background-position: 75%;
                height: calc(100svh - 30px);
                padding: 15px;

                & .Message {
                    margin-top: 70px;

                    & h1 {
                        font-size: clamp(1.5rem, 9vw, 4rem);
                    }
    
                    & .Card {
                        bottom: 20px;
                        width: calc(80% - 30px);
                        left: 0;
                        right: 0;
                        margin: auto;
    
                        & p {
                            font-size: clamp(1.3rem, 4vw, 1.5rem);
                        }
                    }
                }
            }

            & .Banner1 {
                
            
            }
        }

        & footer {

            & .Copy {
                display: block;

                & p {
                    margin-bottom: 5px;
                }
            }

        }
    }

}