@import url(reset.css); /* RESET CSS */

:root{
    --ff-logo: 'Tagesschrift';
    --ff-body: 'Space Grotesk';
    --clr-primary: #011826;
    --clr-white: 236, 239, 241;
}

/* 1.BODY
---------------------------------------------------------------------- */
*{line-height:normal;box-sizing: border-box;}
html,
body { height: 100%; margin: 0; padding: 0; background:url(none) repeat-y scroll center top var(--clr-primary);}
body { color:rgba(var(--clr-white), 1); font-family:var(--ff-body); font-size:16px;scroll-behavior:smooth;min-width:300px;}

/* 2.DEFAULT STYLING
---------------------------------------------------------------------- */
.hide{display:none;}
p{ margin-bottom:18px;}
ul { list-style:inherit; }
/*ul li { margin-left:25px; }*/

strong { font-weight:bold; }
em { font-style:italic; }

a:focus{
    color: rgba(var(--clr-white), .75);
}

table { border-top:0px solid #ccc; border-spacing:normal; color:#000 !important; }
table a {  }
table a:hover,
table a:focus { color:#7BB800; text-decoration:none; }
table td { border-bottom:1px solid #ccc; background:transparent; padding:5px 0; vertical-align:top; }
table th { padding:5px 0;}
table tr.alt td { background:#000; }


	/* 2.1 ADMIN MENU
	---------------------------------------------------------------------- */
	div#admin_menu{ font-family:Arial, Helvetica, sans-serif; }
	div#admin_menu a:hover{ color:#990000; }
	div#admin_menu table td{ border:none; background:transparent; }
	
	/* 2.2 BASE REVISITS
	---------------------------------------------------------------------- */	
	div.legal_selection{
		background:transparent;
		border:thin rgba(255,255,255,.25) solid;
		color:#333333;
	}
	#historic_tab, #return_tab, #quant_tab {
		background-color: #FFFFFF !important;
		/*border-left: 1px solid #BABA98;*/
		margin-bottom: 10px;
		color:#384A5C;
	}
	/*	Sign Up form	*/


/* 3.HEADINGS
---------------------------------------------------------------------- */
h1,h2,h3,h4,h5 { font-weight:normal; line-height:normal; color:rgba(var(--clr-white), 1);}

h1 { font-size:22pt; }
h2 { font-size:18pt; margin-bottom:16px; }
h3 { font-size:16pt; margin-bottom:13px; }
h4 { font-size:14pt; margin-bottom:10px; }
h5 { font-size:10pt; }

.h4{ font-size:10pt; }

/* 4.LINKS
---------------------------------------------------------------------- */
a { color:rgba(var(--clr-white), 1); text-decoration:none; }

/*
---------------------------------------------------------------------- */
.header--main{
    width: 100%;
    padding-inline: 100px;
    padding-block: 25px;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 10;

    & .wrapper__header--main{
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 100px;
    }
}

.logo{
    font-family: var(--ff-logo);
    font-size: 54px;
    color: #FFFFFF;
    text-shadow: 0 4px 4px rgba(0,0,0,.25);
}

.nav--main{
    display: flex;
    gap: 50px;

    & a{
        font-size: 18px;
        text-transform: uppercase;
        font-weight: 400;
        position: relative;

        &:after{
            content: '';
            position: absolute;
            left: 0;
            bottom: -2px;
            width: 0;
            height: 1px;
            background-color: currentColor;
            transition: .25s width;
        }

        &:hover:after{
            width: 100%;
        }
    }
}

.banner{
    width: 100%;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow-y: hidden;

    & .cta{
        position: relative;
        z-index: 4;
    }

    & h1{
        font-size: 64px;
        font-weight: 500;
        text-align: center;
    }

    & .overlay{
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
    }

    & .overlay--gradient{
        background-image: linear-gradient(to bottom, rgba(0,0,0,0), #011826);
        z-index: 3;
    }

    & .overlay--dark{
        background-color: rgba(0,0,0,.25);
        z-index: 2;
    }

    & img{
        position: absolute;
        inset: 0;
        z-index: 1;
        width: 100%;
        height: 100%;
        object-fit: cover;
        transform: translateY(calc((var(--position) * 0.5) * 1px));
    }
}

.wrapper--page{
    max-width: 1280px;
    position: relative;
    margin-inline: auto;
}

.footer--main{
    width: 100%;
    border-top: 1px solid rgba(var(--clr-white), 1);
    padding-block: 25px;

    & .wrapper{
        display: flex;
        justify-content: space-between;
        gap: 100px;
    }

    & p{
        font-size: 12px;
        margin-bottom: 0;
    }
}

.content--main{
    max-width: 1280px;
    position: relative;
    margin-inline: auto;
    display: flex;
    flex-direction: column;
    gap: 75px;
    padding-block: 100px 150px;
    padding: 0!important;
}

.section--content{
    display: flex;
    flex-direction: column;
    gap: 25px;

    & header{
        display: flex;
        align-items: center;
        gap: 25px;
        text-transform: uppercase;
        font-size: 16px;
        font-weight: 500;
        white-space: nowrap;
        padding-top: 25px;

        &:after{
            content: '';
            position: relative;
            width: 100%;
            height: 1px;
            background-color: currentColor;
        }
    }

    & p{
        --fs: 20px;
        font-size: var(--fs);
        line-height: calc(var(--fs) + 8px);
    }
}

.form--contact{
    --gap: 25px;
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    gap: var(--gap);
    margin-top: 50px;

    & .wrapper--form__field{
        display: flex;
        flex-direction: column;
        gap: 10px;

        & label{
            font-size: 12px;
            text-transform: uppercase;
            font-weight: 500;
        }
    }

    & .wrapper--input{
        max-width: calc(50% - (var(--gap) / 2));
        width: 100%;

        &.o{
            display: none;
        }
    }

    & .wrapper--textarea{
        max-width: 100%;
        width: 100%;
    }

    & input, textarea{
        background-color: transparent;
        border: 1px solid rgba(var(--clr-white), 1);
        border-radius: 5px;
        padding-block: 15px;
        padding-inline: 25px;
        color: rgba(var(--clr-white), 1);
        font-family: var(--ff-body);
        font-size: 20px;

        &:focus{
            border-color: #056cac;
        }

        &:hover{
            border-color: rgba(var(--clr-white), .75);
        }
    }

    & textarea{
        min-height: 200px;
    }

    & input[type="submit"]{
        cursor: pointer;
        font-size: 16px;

        &:hover{
            background-color: rgba(var(--clr-white), 1);
            color: var(--clr-primary);
        }
    }
}

.login{
    position: absolute;
    top: 25px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--clr-primary);
    z-index: 11;
    padding: 25px;
}

.nav_growth{
    padding: 25px;
    border-radius: 5px;
    background-color: rgba(var(--clr-white), 1);
    border: 1px solid rgba(var(--clr-white), 1);
}

dialog{
    & .close{
        background-color: transparent;
        color: #fff;
        position: absolute;
        top: 5px;
        right: 5px;
        outline: none;
        border: none;
        cursor: pointer;
    }

    & header{
        display: flex;
        align-items: center;
        gap: 25px;
        text-transform: uppercase;
        font-size: 16px;
        font-weight: 500;
        white-space: nowrap;
    
        &:after{
            content: '';
            position: relative;
            width: 100%;
            height: 1px;
            background-color: currentColor;
        }
    }
}

.thank_you{
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 2px solid #fff;
    border-radius: 10px;
    padding: 50px 25px;
    z-index: 999;
    background-color: var(--clr-primary);

    & p{
        margin-bottom: 0;
        color: #fff;
    }
}

.popup{
    position: fixed;
    top: 50%;
    max-height: 90%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 2px solid #fff;
    border-radius: 10px;
    padding: 50px 25px;
    z-index: 999;
    background-color: var(--clr-primary);
    color: #fff;
    margin: 0;
    overflow-y: auto;
}