/*Main*/
*{
    box-sizing: border-box;
}
body{
    background-color: rgb(121, 121, 161);
}
#main_header{
    width: 100%;
    height: fit-content;
    background-color: rgb(38, 65, 101);
    border-radius: 10px;
    color: rgb(106, 142, 208);
    text-align: center;
    font-weight: bold;
    font-size: 50px;
}

#main_nav{
    width: 95%;
    height: fit-content;
    float: top;
    background-color: rgb(21, 55, 90);
    margin: auto;
    margin-top: 10px;
    padding: 5px;
    border-radius: 7px;
    text-align: center;
}
.nav_link{
    width: 100px;
    height: 30px;
    text-align: center;
    align-content: space-around;
    color: black;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    display: inline-block;
    background-color: rgb(114, 103, 183);
    transition: all ease-out 0.5s;
    margin: 5px;
}
.nav_link:hover{
    background-color: rgb(65, 114, 147);
    color: whitesmoke;
}

#fixed_back_link{
    width: 120px;
    height: 30px;
    padding: 5px;
    text-align: center;
    align-content: space-around;
    color: black;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    background-color: rgb(93, 79, 182);
    transition: all ease-out 0.5s;
    margin: 5px;
    position: fixed;
    top: 20px;
    left: 10px;
}
#fixed_back_link:hover{
    background-color: rgb(65, 114, 147);
    color: whitesmoke;
}

/*
#back_link{
    width: 100px;
    height: 30px;
    text-align: center;
    align-content: space-around;
    color: black;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    background-color: rgb(114, 103, 183);
    transition: all ease-out 0.5s;
    margin: auto;
    display: block;
    margin-top: 5px;
    margin-bottom: 5px;
    font-size: medium;
}
#back_link:hover{
    background-color: rgb(65, 114, 147);
    color: whitesmoke;
}
*/

/*Introduction, multiple use*/
#initial_section_exp{
    width: fit-content;
    height: fit-content;
    padding: 5px;
    margin: auto;
    margin-top: 12px;
    text-align: center;
}
.initial_section_exp_content{
    width: 100%;
    height: fit-content;
    text-align: center;
    padding: 7px;
    border-radius: 7px;
    margin-top: 10px;
    padding-left: 20px;
    padding-right: 20px;
    background-color: rgb(82, 85, 154);
    font-size: large;
}

#initial_section_video{
    width: fit-content;
    height: fit-content;
    padding: 5px;
    text-align: center;
    margin: auto;
    margin-top: 30px;
}
.initial_section_video_content{
    width: 600px;
    height: 400px;
}
@media screen and (max-width: 620px) {
    .initial_section_video_content{
        width: 400px;
        height: 200px;
    }
}
@media screen and (max-width: 420px) {
    .initial_section_video_content{
        width: 300px;
        height: 200px;
    }
}


@media screen and (max-width: 750px) {
    .nav_link{
        margin: auto;
        display: block;
        margin-bottom: 8px;
    }
}

/*Boxy*/

#box_show_exp_section{
    width: fit-content;
    height: fit-content;
    /*border: 1px solid black;*/
    text-align: center;
    padding: 10px;
    font-size: large;
    margin: auto;
    margin-top: 20px;
}
.box_show_exp_margin{
    width: 540px;
    height: 340px;
    /*border: 2px solid black;*/
    font-size: large;
}
.box_show_exp_margin:hover{
    border: 2px dotted black;
}
.box_show_exp_border{
    width: 500px;
    height: 300px;
    background-color: rgb(63, 99, 133);
    font-size: large;
    margin: auto;
}
.box_show_exp_content{
    width: 460px;
    height: 260px;
    margin: auto;
    font-size: large;
    background-color: rgb(99, 170, 192);
}
.box_show_exp_padding{
    width: 420px;
    height: 220px;
    text-align: center;
    /*border: 2px solid black;*/
    margin: auto;
    align-content: space-around;
}
.box_show_exp_padding:hover{
    border: 2px dotted black;
}

@media screen and (max-width: 550px) {
    .box_show_exp_margin{
        width: 280px;
        height: 280px;
    }
    .box_show_exp_border{
        width: 240px;
        height: 240px;
    }
    .box_show_exp_content{
        width: 200px;
        height: 200px;
    }
    .box_show_exp_padding{
        width: 160px;
        height: 160px;
    }
}

/*Pozice*/
#position_show_exp_section{
    width: 65%;
    height: fit-content;
    margin: auto;
    padding: 3px;
}
.position_show_exp_content{
    width: 100%;
    height: fit-content;
    border-radius: 8px;
    padding: 5px;
    display: inline-block;
    background-color: rgb(82, 85, 154);
}

.position_show_exp_relative{
    width: 75%;
    height: 150px;
    border: 2px solid black;
    margin: auto;
    border-radius: 8px;
    margin-bottom: 5px;
    padding: 5px;
    float: left;
    background-color: rgb(103, 105, 188);
}
.relative_position{
    position: relative;
    top: 10px;
    left: 40px;
    width: fit-content;
}
.code_show_relative{
    width: 24.5%;
    height: 150px;
    border: 2px solid black;
    text-align: center;
    padding: 5px;
    border-radius: 8px;
    float: right;
    background-color: rgb(103, 105, 188);
}

.position_show_exp_fixed{
    width: 75%;
    height: 150px;
    border: 2px solid black;
    margin: auto;
    border-radius: 8px;
    padding: 5px;
    float: left;
    background-color: rgb(103, 105, 188);
}
#position_external_show_fixed{
    width: fit-content;
    height: 30px;
    padding: 5px;
    text-align: center;
    align-content: space-around;
    color: black;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    background-color: rgb(93, 79, 182);
    transition: all ease-out 0.5s;
    margin: 5px;
    position: fixed;
    bottom: 0;
    left: 0;
}
#position_external_show_fixed:hover{
    background-color: rgb(65, 114, 147);
    color: whitesmoke;
}

.position_show_exp_absolute{
    width: 75%;
    height: 270px;
    border: 2px solid black;
    margin: auto;
    border-radius: 8px;
    margin-top: 5px;
    padding: 5px;
    float: left;
    background-color: rgb(103, 105, 188);
}
.code_show_abs{
    width: 24.5%;
    height: 270px;
    border: 2px solid black;
    text-align: center;
    padding: 5px;
    margin-top: 5px;
    border-radius: 8px;
    float: right;
    background-color: rgb(103, 105, 188);
}
.position_show_exp_abs_outer{
    width: 50%;
    height: 150px;
    text-align: center;
    border: 2px solid black;
    border-radius: 8px;
    position: relative;
    top: 0;
    left: 0;
}
.position_show_exp_abs_inner{
    width: fit-content;
    height: fit-content;
    text-align: center;
    border: 2px solid black;
    border-radius: 8px;
    position: absolute;
    top: 30px;
    left: 10%;
    padding: 2px;
}

.position_show_exp_sticky{
    width: 75%;
    height: 150px;
    border: 2px solid black;
    margin: auto;
    margin-top: 5px;
    border-radius: 8px;
    padding: 5px;
    float: left;
    background-color: rgb(103, 105, 188);
}
.code_show_sticky{
    width: 24.5%;
    height: 150px;
    border: 2px solid black;
    text-align: center;
    padding: 5px;
    border-radius: 8px;
    float: right;
    margin-top: 5px;
    background-color: rgb(103, 105, 188);
}
.position_external_show_exp_sticky{
    width: fit-content;
    height: 30px;
    text-align: center;
    align-content: space-around;
    color: black;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    display: inline-block;
    background-color: rgb(93, 79, 182);
    transition: all ease-out 0.5s;
    margin: auto;
    margin-top: 8px;
    padding: 5px;
    position: sticky;
    top: 5px;
    display: block;
}
.position_external_show_exp_sticky:hover{
    background-color: rgb(65, 114, 147);
    color: whitesmoke;
}