/* Makes the way the boxes are sized more intuitive */
* {box-sizing:border-box}

/* Insert Sofia Sans Font */
@font-face {
    font-family: 'Sofia Sans';
    src: url('files/fonts/Sofia_Sans_Condensed/SofiaSansCondensed-VariableFont_wght.ttf') format('truetype');
}



body {
    overflow-y: scroll;

    font-weight: bold;
  
    background-image: url(files/background/Lynx-medium.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
  
    text-align: center;
  
    font-family:'Sofia Sans', Times New Roman;
}






iframe.navbar{
    width: 100%;
    height: 70px;  
    position: fixed;
    z-index: 2;
    top: 0;
    left: 0;
    background-color: #c3111100;
    border-style: none;
}



.main{
    position: absolute;
    top: 70px;
    left: 0;

    margin: 15px;
    border-radius: 25px;

    height: auto;
    
    /* I do not know why, I do not know how but for some reason without this .main does not span the whole page if the screen width is high enough */
    /* width = 100% - 2 * margin .main */
    width: calc(100% - 2 * 20px);
    
    padding: 15px;

    background-color: #D6C5C9a4;
    }
    .mainflex{
    display: flex;
    flex-direction: row;
}
  

.left{
    flex: 17.5%;
    max-width: 17.5%;

    border-radius: 25px;

    color: rgb(255, 255, 255);

    height: 100%;

    padding: 5px;
    padding-bottom: 10px; 
    background-color: #6D76A7;

    text-align: center;
    }

    .menuimages{
        width: 100%;
        height: auto;
        text-align: center;
    }

    img.menubutterfly{
        max-width: 95%;
        margin-top: 5px;
    }

    img.menuvista{
        max-width: 95%;
        margin-top: 5px;
    }

    .menu{
        width: 100%;
        height: auto;
    }

a.menulinks:link {color:white; text-decoration: none;}
a.menulinks:visited {color:white; text-decoration: none;}
a.menulinks:hover {color: #E2C4D8; text-decoration: none;}

a.menulinksdarker:link {color:rgba(255, 255, 255, 0.63); text-decoration: none;}
a.menulinksdarker:visited {color:rgba(255, 255, 255, 0.63); text-decoration: none;}
a.menulinksdarker:hover {color: white; text-decoration: none;}



.centerhidden{
    flex: 57.5%;
    max-width: 57.5%;
    height: auto;
    }

    .centervisible{
    border-radius: 25px;
    margin-left: 1%;
    margin-right: 1%;
    height: auto;
    width: 98%;
    padding: 1.5%;
    background-color: #ebd9dd44;
    font-size: 100%;
}

a.middlelinks:link {color:#551A8B; text-decoration: none;}
a.middlelinks:visited {color:#551A8B; text-decoration: none;}
a.middlelinks:hover {color: #c484e4; text-decoration: none;}

a.noticelink:link {color:rgb(218, 59, 59); text-decoration: underline;}
a.noticelink:visited {color:rgb(218, 59, 59); text-decoration: none;}
a.noticelink:hover {color:rgb(232, 255, 25); text-decoration: none;}


.about{
    border-radius: 25px;
    width: 100%;
    height: auto;    
    margin-bottom: 15px;
    background-color: #E2C4D8c2;
    padding: 5px; 
    border: solid;
}

.swagmain,
.filebrowser,
.theory,
.hangar,
.exams,
.manuals_swag,
.manuals_onedrive,
.simulators,
.feedback,
.qrcodes{
    display: flex;
    flex-direction: row;

    border-radius: 25px;
    width: 100%;
    height: auto;    
    margin-bottom: 15px;
    background-color: #E2C4D8c2;
    padding: 5px; 
    border: solid;
}

.swagmainleft,          .swagmainright,
.filebrowserleft,       .filebrowserright,
.theoryleft,            .theoryright,
.hangarleft,            .hangarright,
.examsleft,             .examsright,
.manuals_swag_left,     .manuals_swag_right,
.manuals_onedrive_left, .manuals_onedrive_right,
.simulatorsleft,        .simulatorsright,
.feedbackleft,          .feedbackright{
    flex: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

img.simimg{
    width: 95%;
    border-radius: 25px;
    padding: 5px;
}

img.onedriveqr{
    width: 75%;
    border-radius: 25px;
    padding: 5px;
}


.qrcodes{
    flex-wrap: wrap;
}

.qrcodes1,  
.qrcodes2,
.qrcodes3,
.qrcodes4{
    flex: 25%;
    max-width: 25%;
}

.qrcodes1{
    /* top, right, bottom, left */
    border-style: none none none none;
}

.qrcodes2,
.qrcodes3,
.qrcodes4{
    /* top, right, bottom, left */
    border-style: none none none dashed;
}

img.qrcodesimg{
    max-width: 75%;
    border-radius: 25px;
}

.right{
    flex: 27.5%;
    max-width: 27.5%;
    height: 100%; 
    background-color: #ebd9dd44;;
    padding: 10px;
    border-radius: 35px;

}

.rightcolumn{
    padding: 10px;
    border-radius: 35px;
    background-color: #D6C5C9a4;

    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    }
    span.rightcolumnnotice{
        font-size: 300%;
        text-align: center;
        margin: 10px;
        width: 100%;
        max-width: 100%;
    }
    .rightcolumn1, .rightcolumn2, .rightcolumn3{
        flex: 100%;
        max-width: 100%;
}


a.rightlinks:link {color:rgb(0, 0, 0); text-decoration: underline;}
a.rightlinks:visited {color:rgb(0, 0, 0); text-decoration: underline;}
a.rightlinks:hover {color: #EBD9DD; text-decoration: underline;}


.amc{
    border-radius: 25px;
    width: 100%;
    height: auto;
    padding: 7px;
    background-color: rgb(77, 141, 179);
    margin-bottom: 15px;
    border-style: solid;    
    }
    img.amc66{
        max-width: 95%;
        border-radius: 25px;
        border-style: solid; 
        border-color: black;
}


.feedbackforms{
    border-radius: 25px;
    width: 100%;
    height: auto;
    padding-top: 10px;
    background-color: #B598CC;
    margin-bottom: 15px;
    border-style: solid;    
    }
    /*
    img.swag_qr_notice_img{
        max-width: 75%;
        border-radius: 25px;
        border-style: solid; 
        border-color: black;
        margin-bottom: 10px;
}
*/




/* > 1080P */
@media (min-width: 2200px){
    body{
        font-size: 125%;
    }
}


@media (max-width: 1600px) {
    .swag_qr_notice{
        font-size: 70%;
    }
}


/* < 1080P */
@media (max-width: 1200px){
    .mainflex{
        flex-direction: row;
        flex-wrap: wrap;
    }
        
    .left{
        flex: 25%;
        max-width: 25%;
    }
 
    .centerhidden{
        flex: 75%;
        max-width: 75%;
        margin-bottom: 5px;
    }

    .right{
    flex: 100%;
    max-width: 100%;

    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    }
        
    .rightcolumn1, .rightcolumn2, .rightcolumn3{
        flex: 33%;
        max-width: 33%;
        height: 100%;
        margin-right: 0.66%;
        margin-left: 0.66%;
    }
}


@media (max-width: 900px){
    .main{
        margin: 10px;
        width: calc(100% - 2 * 10px);

        padding: 10px;
        
        top: 55px;
    }

    .swagmain,
    .filebrowser,
    .theory,
    .hangar,
    .exams,
    .manuals_swag,
    .manuals_onedrive,
    .simulators,
    .feedback{
        flex-direction: column;
    }
    
    .swagmainleft,          .swagmainright,
    .filebrowserleft,       .filebrowserright,
    .theoryleft,            .theoryright,
    .hangarleft,            .hangarright,
    .examsleft,             .examsright,
    .manuals_swag_left,     .manuals_swag_right,
    .manuals_onedrive_left, .manuals_onedrive_right,
    .simulatorsleft,        .simulatorsright,
    .feedbackleft,          .feedbackright{
        flex:100%;
        padding-top: 0%;
    }


    .qrcodes1, 
    .qrcodes2, 
    .qrcodes3,
    .qrcodes4{
        flex: 50%;
        max-width: 50%;
    }

    /* Uneven Numbers / Left Side */
    .qrcodes1{
        /* top, right, bottom, left */
        border-style: none dashed dashed none;
    }
    .qrcodes3{
        /* top, right, bottom, left */
        border-style: none dashed none none;
    }

    /* Even Numbers / Right Side */
    .qrcodes2{
        /* top, right, bottom, left */
        border-style: none none dashed none;
    }
    .qrcodes4{
        /* top, right, bottom, left */
        border-style: none none none none;
    }

    img.qrcodesimg{
        width: 75%;
    }
}