@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@500&display=swap');
@font-face {
    font-family: 'Alternate Gothic No3 D';
    src: url('fonts/AlternateGotNo3D.eot');
    src: url('fonts/AlternateGotNo3D.eot?#iefix') format('embedded-opentype'),
    url('fonts/AlternateGotNo3D.woff2') format('woff2'),
    url('fonts/AlternateGotNo3D.woff') format('woff'),
    url('fonts/AlternateGotNo3D.ttf') format('truetype'),
    url('fonts/AlternateGotNo3D.svg#AlternateGotNo3D') format('svg');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}
* {
    text-decoration: none;
    margin: 0;
    padding: 0;
    list-style: none;
    font-family: "Alternate Gothic No3 D", "Montserrat", sans-serif;
}

body {
    background-color: #ffffff;
    margin: 0;
    padding: 0;
}

/* NAVIGATION BAR / HEADER */

nav {
    position: fixed;
    height: 84px;
    width: 100%;
    top: 0;
    background: #f3f3f3;
    z-index: 10;
}

nav img {
    position: absolute;
    width: 100px;
    top: 20px;
    left: 15%;
}
nav ul {
    margin-right: 25px;
    float: right;
}
nav ul li {
    display: inline-block;
    margin: 0 15px;
    line-height: 80px;
}
nav ul li a {
    position: relative;
    font-family: "Alternate Gothic No3 D", "Montserrat", sans-serif;
    letter-spacing: 2px;
    font-size: 18px;
    text-transform: uppercase;
    color: #090808;
}
nav ul li a:hover {
    color: #9e1c36;
}

.navButton {
    text-decoration: none;
    margin: 0 15px;
    padding: 10px 25px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease 0s;
    background-color: rgb(158, 28, 54);
    font-family: "Alternate Gothic No3 D", "Montserrat", sans-serif;
    font-weight: 400;
    font-size: 15px;
    color: #ffffff;
    letter-spacing: 2px;
}

.navButton:hover {
    background-color: rgb(119, 14, 36);
}

.navButton a:visited {
    text-decoration: none;
    color: #ffffff;
}

.navButton a:visited {
    text-decoration: none;
    color: #ffffff;
}
.navButton a:link {
    text-decoration: none;
    color: #ffffff;
}
/* NAVIGATION BAR LABEL */

label #button,
label #X{
    display: none;
    margin-right: 35px;
    line-height: 80px;
    float: right;
    cursor: pointer;
    font-size: 32px;
    color: #090808;
}
#check {
    display: none;
}

/* HERO */

.hero .bilde {
    width: 100%;
    text-align: left;
    overflow: hidden;
}
.bilde {
    top: 4px;
    padding-top: 80px;
    height: 680px;
    width: 100%;
    background-image: linear-gradient(rgba(0,0,0,0.8),rgba(0,0,0,0.6));
    object-fit: cover;
    position: relative;
}

.bannerText {
    color: #fafafa;
    margin: 100px 15%;
    position: absolute;
    top: 7vw;
    text-align: left;

}
h1 {
    font-size: 3vw;
    color: #9e1c36;

}
h2 {
    font-size: 8vw;
    font-weight: 10;
}
h3 {
    font-size: 8vw;
    font-weight: 50;
}

/* BOXES */

.child {
    background-color: #fafafa;
    box-sizing: border-box;
    width: 40%;
}
.child2 {
    background-color: #eaeaea;
    box-sizing: border-box;
    width: 20%;

}
.child3 {
    background-color: #9e1c36;
    box-sizing: border-box;
    width: 40%;
    top: -50px;
}

/* BOXES LEFT DIV */

.top {
    color: #090808;
    padding: 20px 50px 10px 50px;
    font-weight: 600;
    font-size: 15px;
}
.bottom {
    color: #090808;
    padding: 0px 50px 0 50px;
    font-weight: 800;
    font-size: 25px;
}
.leftText {
    padding: 10px 0px 0px 50px;
    letter-spacing: 1px;
}
.leftButton {
    margin: 15px 0px 16px 50px;
    text-decoration: none;
    padding: 10px 25px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease 0s;
    background-color: rgb(158, 28, 54);
    font-family: "Alternate Gothic No3 D", "Montserrat", sans-serif;
    font-weight: 400;
    font-size: 15px;
    color: #fafafa;
    letter-spacing: 1px;
}

.leftButton:hover {
    background-color: rgb(119, 14, 36);
}

.leftButton a:visited {
    text-decoration: none;
    color: #fafafa;
}
.leftButton a:link {
    text-decoration: none;
    color: #fafafa;
}

/* BOXES RIGHT DIV */

.top2 {
    color: #fafafa;
    padding: 20px 50px 10px 50px;
    font-weight: 600;
    font-size: 15px;
}
.bottom2 {
    color: #fafafa;
    padding: 0px 50px 0 50px;
    font-weight: 800;
    font-size: 25px;
}
.rightText {
    padding: 10px 0px 0px 50px;
    color: #fafafa;
    letter-spacing: 1px;
}
.rightButton {
    margin: 15px 0px 16px 50px;
    text-decoration: none;
    padding: 10px 25px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease 0s;
    background-color: #fafafa;
    font-family: "Alternate Gothic No3 D", "Montserrat", sans-serif;
    font-weight: 400;
    font-size: 15px;
    color: #9e1c36;
    letter-spacing: 1px;
}
.rightButton a:visited {
    text-decoration: none;
    color: #9e1c36;
}
.rightButton a:link {
    text-decoration: none;
    color: #9e1c36;
}
.rightButton:hover {
    background-color: rgb(160, 160, 160);
}

/* DEGREES CARDS */

.container_cards {
    width: 100%;

    flex-wrap: wrap;
    justify-content: space-between;
}
.card {
    position: relative;
    margin-bottom: 5px;
    height: 370px;
    width: 33%;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.5);
    transition: 0.5s ease-out;


}
.card .imgbox {
    position: relative;
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
}
.card .imgbox img{
    display: block;
    position: absolute;
    height: 80%;
    width: 100%;
    top: 0;
    left: 0;
    transition: 0.5s;
    object-fit: cover;
}
.card .konteiner {
    position: absolute;
    box-sizing: border-box;
    overflow: hidden;
    background: #9e1c36;
    padding: 12px;
    height: 100px;
    width: 100%;
    left: 0;
    bottom: 0;
    transition: all 0.5s cubic-bezier(.48,-0.28,0.41,1.4);
}
.card:hover .konteiner {
    left: 0;
    bottom: 0;
    width: 100%;
    height: 75%;
}
h5 {
    text-align: center;
    color: #fafafa;
    font-size: 20px;
    font-weight: 600;
    margin-top: 25px;
}

.konteiner p {
    text-decoration: none;
    text-align: justify;
    transform: translateY(2em);
    transition: 0.5s;
    opacity: 0;
    color: #fafafa;

}
.konteiner a:visited {
    text-decoration: none;
    color: #fafafa;
}
.konteiner a:link {
    text-decoration: none;
    color: #fafafa;
}
.card:hover .konteiner p {
    transform: translateY(0);
    opacity: 1;
}
.red {
    color: #fafafa;
    margin: 0 10px 0 10px;
}
/* ABOUT US */

.textButton {
    padding: 10px 25px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease 0s;
    background-color: rgb(158, 28, 54);
    font-family: "Alternate Gothic No3 D", "Montserrat", sans-serif;
    font-weight: 400;
    font-size: 15px;
    color: #ffffff;
    letter-spacing: 1px;
}

.textButton:hover {
    background-color: rgb(119, 14, 36);
}

.textButton a:visited {
    text-decoration: none;
    color: #ffffff;
}
.textButton a:link {
    text-decoration: none;
    color: #ffffff;
}
.line {
    background-color: #9e1c36;
    height: 5px;
    width: 100%;
    margin: 20px 0;
}

/* NEWS CARDS */
#shaping {
    font-size: 30px;
}
#AboutUs {
    padding-bottom: 50px;
    margin-top: 50px;

}
#Admissions {
    padding-bottom: 50px;
    margin-top: 30px;
}



.news_container {
    width: 100%;
    flex-wrap: wrap;
    justify-content: space-between;
}
.news_card {
    position: relative;
    margin-bottom: 5px;
    height: 320px;
    width: 33%;
    transition: 0.5s ease-out;


}
.news_card .news_imgbox {
    position: relative;
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
}
.news_card .news_imgbox img{
    display: block;
    position: absolute;
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
    transition: 0.5s;
    object-fit: cover;
}
.news_card .news_text {
    position: absolute;
    box-sizing: border-box;
    overflow: hidden;
    background: rgba(0,0,0,0.8);
    padding: 12px;
    height: 100px;
    width: 100%;
    left: 0;
    bottom: 0;
    letter-spacing: 2px;
}

h6 {
    text-align: center;
    color: #ffffff;
    font-size: 20px;
    font-weight: 600;
    margin-top: 10px;
}

.news_text p {
    text-decoration: none;
    text-align: justify;
    transform: translateY(2em);
    transition: 0.5s;
    opacity: 0;
    color: #090808;

}
.news_text a:visited {
    text-decoration: none;
    color: #090808;

}

.red2 {
    color: #090808;
    margin: 0 10px 0 10px;
}
.news_card:hover {
    -webkit-filter: brightness(70%);
}

/* MAIN */

.main {
    width: 100%;
}
.wrapper {
    width: 100%;
}
div article img {
    width: 100%;
}
.announcement {
    position: relative;
    top: -200px;
    width: 100%;
    height: auto;
    z-index: 10;
}

.main h1 {
    margin: 100px 0 0 0;
    line-height: 80px;
    text-align: center;
    font-family: "Alternate Gothic No3 D", "Montserrat", sans-serif;
    font-size: 70px;
    font-weight: 900;
    color: #9e1c36;
    text-transform: uppercase;
}

.main .sub {
    line-height: 80px;
    text-align: center;
    font-family: "Alternate Gothic No3 D", "Montserrat", sans-serif;
    font-weight: 500;
    font-size: 25px;
    color: #0c0c0c;
    margin-top: -30px;
    padding-bottom: 25px;
}
.main h2 {

    line-height: 80px;
    text-align: center;
    font-family: "Alternate Gothic No3 D", "Montserrat", sans-serif;
    font-size: 70px;
    font-weight: 900;
    color: #9e1c36;
    padding-bottom: 50px;
}

.main .sub2 {
    line-height: 44px;
    text-align: center;
    font-family: "Alternate Gothic No3 D", "Montserrat", sans-serif;
    font-weight: 500;
    font-size: 25px;
    color: #0c0c0c;
    padding-bottom: 15px;
}

.main .sub3 {
    line-height: 44px;
    text-align: left;
    font-family: "Alternate Gothic No3 D", "Montserrat", sans-serif;
    font-weight: 500;
    font-size: 25px;
    color: #9e1c36;
}
.main p {
    padding: 50px 30px;
    line-height: 24px;
    font-family: "Montserrat", sans-serif;
    font-size: 18px;
    color: #0c0c0c;
}

.bottom-text {
    margin-bottom: 50px;
    z-index:10;
}
.words {
    color: #9e1c36;
}


/* SOCIALS */


.socials_container {
    flex-wrap: wrap;
}
.socials_card {
    background-color: #fafafa;
    position: relative;
    height: 75px;
    width: 83.3333333333px;
    transition: 0.3s ease-out;

}
.socials_card .socials_box {
    position: static;
    padding: 25px 32px;
}
.socials_card .socials_box i {
    color: #0c0c0d;
    font-size: 25px;
}
.socials_card:hover {
    background-color: #9e1c36;
}
.socials_card:hover .socials_box i{
   color: #fafafa;
}

.headerSocials p {
    line-height: 44px;
    text-align: center;
    font-family: "Montserrat", sans-serif;
    font-size: 25px;
    font-weight: 900;
    color: #9e1c36;
    margin-bottom: 25px;

}


/* FOOTER */

.footer {
    display: block;
    box-sizing: border-box;
    padding: 70px 0px;
    width: 100%;
    overflow: hidden;
    background-color: #0e0e0f;
}
.footer_div {
    display: block;
    margin: 0 auto;
    height: 100%;
    width: 1100px;
}
.footer_div .footer_logo {
    display: block;
    float: left;
    height: 100%;
    width: 35%;
}
.footer_div .footer_logo img{
    padding-top: 5%;
    height: auto;
    width: 40%;

}
.footer_div .footer_list {
    margin-right: 10px;
    float: left;
    height: 100%;
    width: calc(21.6666666667% - 20px);
}
.footer_div .footer_list:last-child {
    margin-right: 0;
}
.footer_div .footer_list h4 {
    display: block;
    margin-bottom: 20px;
    width: 100%;
    font-family: "Montserrat", sans-serif;
    font-size: 22px;
    color: #fafafa;
}
.footer_div .footer_list a {
    display: block;
    padding-bottom: 5px;
    width: 100%;
    font-family: "Montserrat", sans-serif;
    font-size: 18px;
    font-weight: 200;
    color: #fafafa;

}
.footer_div a:hover {
    cursor: pointer;
    color: #9e1c36;
}
.footer_div .footer_list li {
    display: inline-block;
    padding: 0 5px;
    font-size: 20px;
}
.footer_div .footer_list span {
    display: block;
    padding-top: 25px;
    width: 100%;
    font-family: "Montserrat", sans-serif;
    font-size: 15px;
    font-weight: 200;
    color: #fafafa;
}
/* RESPONSIVE */

@media(max-width:900px){

    label #button{
        display: block;
    }
    ul{
        position: fixed;
        top: 84px;
        left: -100%;
        height: 100vh;
        width: 100%;
        text-align: center;
        background: #f3f3f3;
        transition: all 0.5s;

    }
    nav ul li {
        display: block;
        margin: 50px 0;
        line-height: 30px;

    }
    nav ul li a {
        font-size: 20px;

    }
    #check:checked ~ ul{
        left: 0;
    }
    #check:checked ~ label #button{
        display: none;
    }
    #check:checked ~ label #X{
        display: block;
    }
}

@media only screen and (min-width: 1000px) {

    .wrapper {
        margin: auto;
        width: 600px;
    }
    .main h1 {
        padding: 20px 0px 0px;
    }
    .main p {
        padding: 20px 0px 0px;
    }

}

@media only screen and (min-width: 1000px) {

    .wrapper {
        width: 1000px;
    }

    .main h1 {
        padding: 10px 0px 0px;
    }

    div article img {
        width: 100%;
    }

}
@media(max-width:1000px){

    .footer .footer_div {
        width: 80%;
    }
    .footer_div .footer_logo,
    .footer_div .footer_list {
        margin: 5%;
        width: 100%;
    }
    .footer_div .footer_logo {
        width: 60%;
    }

    nav ul li a {
        font-size: 18px;
    }
}

/* RESPONSIVE BANNER TEXT */

@media(max-width:1550px){
    .bannerText {
        color: #fafafa;
        margin: 100px 10%;
        position: absolute;
        top: 8vw;
        text-align: left;
    }

    h1 {
        font-size: 3vw;
    }

    h2 {
        font-size: 9vw;
    }

    h3 {
        font-size: 9vw;
    }
    nav img {
        left: 10%;
    }
    .bilde {
        height: 610px;
    }
}

@media(max-width:1200px){
    .bannerText {
        color: #fafafa;
        margin: 100px 10%;
        position: absolute;
        top: 8vw;
        text-align: left;
    }

    h1 {
        font-size: 4vw;
    }

    h2 {
        font-size: 12vw;
    }

    h3 {
        font-size: 12vw;
    }
    nav img {
        left: 10%;
    }
    .bilde {
        height: 600px;
    }

}
@media(max-width:900px){
    .bannerText {
        color: #fafafa;
        margin: 100px 8%;
        position: absolute;
        top: 10vw;
        text-align: left;
    }

    h1 {
        font-size: 5vw;
        line-height: 75px;
    }

    h2 {
        font-size: 16vw;

    }

    h3 {
        font-size: 16vw;
        line-height: 150px;
    }
    nav img {
        left: 8%;
    }
    .bilde {
        height: 595px;
    }

}
@media(max-width:1000px){
    .socials_card {
        width: 16.6666666667%;
        height: 150px;
    }
    .socials_card .socials_box {
        padding:55px 40% ;
    }
    .socials_card .socials_box i{
        font-size: 40px;
    }

    .main .sub3 {
       margin-top: 10px;
    }
    .main p {
        padding: 10px 30px;
    }


}
@media(max-width:760px){
    .bannerText {
        color: #fafafa;
        margin: 100px 5%;
        position: absolute;
        top: 10vw;
        text-align: left;
}

    h1 {
        font-size: 6vw;
    }

    h2 {
        font-size: 17vw;
    }

    h3 {
        font-size: 17vw;
    }
    nav img {
        left: 5%;
    }
    .socials_card {
        width: 16.6666666667%;
        height: 125px;
    }
    .socials_card .socials_box {
        padding:45px 40% ;
    }
    .socials_card .socials_box i{
        font-size: 30px;
    }
    .bilde {
        height: 590px;
    }

}
@media(max-width:600px){
    .bannerText {
        color: #fafafa;
        margin: 100px 5%;
        position: absolute;
        top: 12vw;
        text-align: left;
    }

    h1 {
        font-size: 6vw;
    }

    h2 {
        font-size: 18vw;
    }

    h3 {
        font-size: 18vw;
        line-height: 125px;
    }
    nav img {
        left: 5%;
    }
    .socials_card {
        width: 16.6666666667%;
        height: 100px;
    }
    .socials_card .socials_box {
        padding:35px 35% ;
    }
    .socials_card .socials_box i{
        font-size: 30px;
    }
    .image5 {
        width: 100%;
        height: 400px;
    }
    .image5 img {
        object-fit: cover;
        height: 400px;
    }
    .image6 {
        width: 100%;
        height: 400px;
    }
    .image6 img {
        object-fit: cover;
        height: 400px;
    }
    .bilde {
        height: 580px;
    }
}
@media(max-width:450px){
    .bannerText {
        color: #fafafa;
        margin: 100px 5%;
        position: absolute;
        top: 10px;
        text-align: left;
    }

    h1 {
        font-size: 10vw;
        line-height: 13vw;
    }

    h2 {
        font-size: 26vw;
        line-height: 26vw;

    }

    h3 {
        font-size: 26vw;
        line-height: 26vw;
    }
    nav img {
        left: 5%;
    }
    .konteiner p {
        text-align: left;
        width: 85%;
    }
    .news_text p {
        text-align: left;
        width: 85%;
    }
    .socials_container {
        width: 100%;
    }
    .socials_card {
        width: 25%;
        height: 120px;
    }
    .socials_card .socials_box {
        padding:45px 38%;
    }
    .socials_card .socials_box i{
        font-size: 30px;
    }
    .words {
        display: block;
    }
    .hero .bannerText span {
        display: block;
    }
    .bilde {
        height: 580px;
    }
}

@media(max-width:375px) {
    .bannerText {
        color: #fafafa;
        margin: 100px 5%;
        position: absolute;
        top: 10px;
        text-align: left;
    }

    h1 {
        font-size: 10vw;
        line-height: 13vw;
    }

    h2 {
        font-size: 28vw;
        line-height: 28vw;

    }

    h3 {
        font-size: 28vw;
        line-height: 28vw;
    }

    nav img {
        left: 5%;
    }
    .words {
        display: block;
    }
    .hero .bannerText span {
        display: block;
    }
    .bilde {
        height: 555px;
    }
}



@media(min-width:760px) {
    .parent {
        display: flex;
    }
    .cards_parent {
        display: flex;
    }
    .container_cards {
        display: flex;
    }
    .news_container {
        display: flex;
    }
    .socials_container {
        display: flex;
        width: 100%;
    }
}
@media(max-width:760px) {
    .child {
        width: 100%;
        padding: 20px 0 20px 0;
    }
    .child2 {
        width: 100%;
        height: 0;
    }
    .child3 {
        width: 100%;
        padding: 20px 0 20px 0;
    }
    .container_cards {
        width: 100%;
    }
    .news_container {
        width: 100%;
    }
    .card {
        width: 100%;
        height: 500px;
    }
    .news_card {
        width: 100%;
        height: 300px;
    }

    .cards_container2 .news_imgbox {
        width: 100%;

    }
    .red {
        margin: 0 10px 0 -40px;
    }
    .news_text p {
        margin: 0 0 -60px 0;
        text-align: left;
    }
    .red2 {
        margin: 0 10px 0 -40px;
    }
    h6 {
        margin-top: 15px;
    }
    .socials_container {
        display: flex;
    }
    .news_card .news_imgbox {
        height: 100%;
    }
    .news_card .news_imgbox img{
        top: 0;
    }

}




/* CHANGING WORDS */

.words:before{
    content: "";
    animation-duration:10s;
    animation-name:ord;
    animation-iteration-count:infinite;
}
@keyframes ord{

    /* QUBIT */

    0%{
        opacity:0;
        content:"QUBIT";
    }
    8%{
        opacity:1;
        content:"QUBIT";
    }
    24%{
        opacity:1;
        content:"QUBIT";
    }
    33%{
        opacity:0;
        content:"QUBIT";

        /* FIREWALL */

    }
    34%{
        opacity:0;
        content:"FIREWALL";
    }
    42%{
        opacity:1;
        content:"FIREWALL";
    }
    58%{
        opacity:1;
        content:"FIREWALL";
    }
    66%{
        opacity:0;
        content:"FIREWALL";
    }

    /* PIXELS */

    67%{
        opacity:0;
        content:"PIXELS";
    }
    74%{
        opacity:1;
        content:"PIXELS";
    }
    91%{
        opacity:1;
        content:"PIXELS";
    }
    100%{
        opacity:0;
        content:"PIXELS";
    }
}

