* {
    box-sizing: border-box;
}

/* style the body */
body {
    font-family: Arial, Helvetica, sans-serif;
    margin:20px;
    padding: 20px;
}

/* header and logo style */
header {
    padding: 60px;
    text-align: center;
    /*background-image: url("https://assets.foxdcg.com/dpp-uploaded/images/family-guy/seriesDetail_s20.jpg?fit=inside%7C*:620");*/
    background-image: url("https://streamcoimg-a.akamaihd.net/000/512/92/51292-Iconic-cff21124750f42ffd8c34035c3144c96.jpeg?resize=1920px:*&quality=85");
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    height: 350px;
}

#idlogo {
    float:left;
    position: relative;
    top: 190px;
    right: 40px;
}

h2 {
    color:#00a0d4;
}

.text {
    text-align: center;
}

/* style the top navigation bar */
navbar {
    display: flex;
    background-color: #00a0d4;
    justify-content: center;
    text-align: center;
    position: sticky;
    top:0;
    z-index: 1;
}

navbar a {
    color:#fff;
    padding: 14px 20px;
    text-decoration: none;
    text-align: center;
    font-size: 25px;
}

navbar a:hover {
    background-color:#0a6785;
    color: white;
}

/*homepage*/
.row-container {
    display: flex;
    flex-wrap: wrap;
}

.twenty {
    flex:15%;
    background-color: whitesmoke;
    padding: 20px;
    height: auto;
}

.twenty:hover {
    border: 3px solid  whitesmoke;
    border-radius: 10px;
}

.twenty2 {
    flex: 20%;
    background-color: whitesmoke;
    padding: 20px;
    height: auto;
}

.twenty2:hover {
    border: 3px solid  whitesmoke;
    border-radius: 20px;
}

.button {
    align-content: center;
    background: blue;
    padding: 10px;
    border-radius: 10px;
    color: white;
    width: 100%;
    min-height: 55px;
}

.button:hover {
    background: red;
}

.main {
    flex: 70%;
    background-color: white;
    padding: 20px;   
}

.side {
    flex: 30%;
    background-color: white;
    padding: 20px;
}

.row-flex {
    display: flex;
    background-color: #c6e7fe;
    padding: 20px;
}

.item11 {
    flex: 25%;
    margin: 10px;
}

.item12 {
    flex: 25%;
    margin: 10px;
}

.item13 {
    flex: 25%;
    margin: 10px;
}

.item14 {
    flex: 25%;
    margin: 10px;
}

.textright {
    flex: 40%;
    background-color: white;
    padding: 20px;
}

.videoleft {
    flex: 60%;
    background-color: white;
    padding: 20px;
}

.row-container-background {
    display: flex;
    background-image: url('https://assets.foxdcg.com/dpp-uploaded/images/family-guy/seriesDetail_s20.jpg?fit=inside%7C*:620');
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    padding: 50px 0px;
}

.side-background {
    flex: 40%;
    padding: 0px 0px 0px 20px;
}

.main-background {
    flex: 60%;
}

.text-background {
    color: blue;
    padding: 10px 30px;
    text-align: left;
}

.text-background2 {
    color: white;
    padding: 10px 30px;
    text-align: left;
}

.button-background {
    padding: 10px;
    font-size: 20px;
    font-weight: bold;
    color: white;
    background-color: blue;
    border-radius: 15px;
    margin: 20px 20px 50px 20px;
}

.button-background:hover {
    background-color: red;
    transform: scale(1.2);
    /*border:  3px dotted royalblue;*/
    border: 2px solid black;
}

.textleft {
    flex: 40%;
    background-color: white;
    padding: 20px;
}

.videoright {
    flex: 60%;
    background-color: white;
    padding: 20px;
}

.container-video {  
  position: relative;
  overflow: hidden;
  width: 100%;
  padding-top: 56.25%; 
}

.responsive-iframe {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    width: 100%;
    height: 100%;
}

#magazin {
    text-align: center;
    font-size: 30px;
    padding: 20px;
}

.tshirts {
    display:flex;
    background-color: white;
    padding:15px;
    margin:20px 0px;
}

.itemtshirts {
    flex: 25%;
    padding: 10px;
}

/*testpage*/
.resultbutton {
    padding: 10px;
    margin: 10px;
    background-color: blue;
    color: white;
    font-size: 20px;
    border-radius: 15px;
}

.resultbutton:hover {
    background-color: red;
}

/*footer*/
footer {
    flex-wrap: wrap;
    padding: 20px;
    text-align: center;
    background: #ddd;
}

@media screen and (max-width: 600px) {
    .row-container, navbar, .row-flex, .tshirts {
        flex-direction: column;
    }

    header {
        background-image: url("https://m.media-amazon.com/images/M/MV5BODEwZjEzMjAtNjQxMy00Yjc4LWFlMDAtYjhjZTAxNDU3OTg3XkEyXkFqcGdeQXVyOTM2NTM4MjA@._V1_.jpg");
        background-repeat: no-repeat;
        background-position: center center;
        background-size: cover;
        width: 100%;   
    }

    #idlogo {
        float: left;
        position: relative;
        bottom: 62px;
        right: 55px;
        top: unset;
    }
}


