/* Mobile phones */
[class*="col-"] {
  width: 100%;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background-color: #ffffff;
  font-family: Tahoma, Geneva, sans-serif;
  font-size: 21px;
}

body > header {
  display: flex;
  height: 144px;
  background-color: #ffffff;
  color: #000;
  font-size: 17px;
  justify-content: flex-start;
  align-items: center;
  padding-left: 10px;
}

#codestrictor-logo {
  width: 82vw;
}

sup {
  font-size: 11px;
}

a.logo {
  font-size: 34px;
  font-weight: bold;
  text-decoration: none;
}

figcaption {
  text-align: center;
}

nav {
  display: flex;
  height: 34px;
  background: linear-gradient(#646464, #000000);
  font-size: 16px;
  font-weight: bold;
  align-content: flex-start;
  justify-content: flex-start;
  align-items: center;
}

h1 {
  font-size: 34px;
  text-align: left;
}

h2 {
  font-size: 24px;
  text-align: left;
}

h3 {
  font-size: 21px;
  text-align: left;
}

nav > ul {
  display: flex;
  height: 100%;
  justify-content: flex-start;
  align-items: center;
}

nav > ul > li {
  display: flex;
  height: 100%;
  justify-content: flex-start;
  align-items: center;
  border-style: none;
}

#menu-python-lessons {
  width: 34vw;
}

#menu-python-tutorials {
  width: 34vw;
}

nav > ul > li > a {
  display: flex;
  width: 100%;
  /*height: 130%;*/
  justify-content: flex-start;
  align-items: center;
  color: #FFFFFF;
  text-decoration: none;
  /*border-color: blue;
  border-style: solid;*/
  padding-bottom: 0.5em;
  margin-bottom: -0.5em;
}

nav > ul > li > a:hover {
  color: #ffe873;
  padding-top: 0px;
  padding-bottom: 0.813em;
}

article > header {
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

main > article {
  background-color: #FFFFFF;
  padding: 1.316vw 2.129vw;
  text-align: left;
  min-height: 800px;
}

ul.yellow-dot {
  list-style: none;
}

ul.yellow-dot li::before {
  content: "\2027";
  color: #ffd43b;
  font-weight: bold;
  display: inline-block;
  width: 1em;
  margin-left: -1em;
}

a {
  color: #306998;
}

footer {
  display: flex;
  background-color: #000000;
  color: #ffffff;
  height: 89px;
  justify-content: center;
  align-items: center;
}

.yt-video {
  position: relative;
  width: 100%;
  padding-top: 56.25%; /* 16:9 Aspect Ratio */
}

.regular-video {
  position: relative;
  width: 100%;
}

iframe {
  position:  absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  width: 100%;
  height: 100%;
}

form {
  padding: 34px 32px;
  font-size: 16px;
}

label {
  padding: 0px 2px;
}

input[type=text], input[type=email]{
  padding: 8px 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 21px;
  margin: 2px 2px 8px;
  cursor: pointer;
}

input[type=button], input[type=submit], input[type=reset] {
  /*background-color: #5a9fd4;*/
  background: linear-gradient(#5a9fd4, #306998);
  border: none;
  color: white;
  padding: 16px 24px;
  text-decoration: none;
  font-weight: bold;
  font-size: 34px;
  margin: 4px 2px;
  cursor: pointer;
}

table {
  border-collapse: collapse;
  margin: 21px 32px;
  font-size: 16px;
}

th {
  border: 1px solid #e5e5e5;
  padding: 5px;
}

td {
  border: 1px solid #e5e5e5;
  padding: 5px;
}

.centered-txt {
  text-align: center;
}

.right-txt {
  text-align: right;
  margin-top: -21px;
  margin-bottom: 30px;
}
/* Tablets and small screens */

.col-0 {display: none;}
@media only screen and (orientation: landscape) and (min-width: 1175px) {
  .col-fi1 {width: 100%}
  .col-fi2 {width: 61.803%}
  .col-fi3 {width: 38.197%}
  .col-fi4 {width: 23.606%}
  .col-fi5 {width: 14.591%}
  .col-fi6 {width: 9.015%}

  body > header {
    height: 144px;
    justify-content: center;
    padding-left: 0px;
  }

  nav {
    height: 89px;
    font-size: 34px;
    font-weight: bold;
    align-content: flex-start;
    justify-content: space-around;
    align-items: center;
  }

  #codestrictor-logo {
    width: 34vw;
  }

  #menu-python-lessons {
    width: 32vw;
  }

  #menu-python-tutorials {
    width: 32vw;
  }

  nav > ul > li > a {
    display: flex;
    width: 100%;
    height: 130%;
    justify-content: center;
    align-items: center;
    color: #FFFFFF;
    text-decoration: none;
    animation-name: nav-item-shrink;
    animation-duration: 0.2s;
    /*border-color: blue;
    border-style: solid;*/
    padding-bottom: 0.5em;
    margin-bottom: -0.5em;
  }

  nav > ul > li > a:hover {
    color: #ffe873;
    padding-top: 0px;
    padding-bottom: 0.813em;
    animation-name: nav-item-pop;
    animation-duration: 0.5s;
  }

  @keyframes nav-item-pop {
    0% {
      color: #FFFFFF;
      padding-bottom: 0.5em;
    }
    61.8% {
      color: #ffe873;
      padding-bottom: 0.813em;
    }
    100% {
      color: #ffe873;
      padding-bottom: 0.813em;
    }
  }

  @keyframes nav-item-shrink {
    from {
      color: #ffe873;
      padding-bottom: 0.813em;
    }
    to {
      color: #FFFFFF;
      padding-bottom: 0.5em;
    }
  }

  article > header {
    justify-content: center;
  }

  main > article {
    text-align: justify;
  }
  
  form {
    padding: 54px 240px;
  }

  table {
    margin: 21px 160px;
    font-size: 18px;
  }

  th {
    padding: 8px;
  }
  
  td {
    padding: 8px;
  }
}



/* Desktop and large screens */

@media only screen and (min-width:1856px) {
  [class*="col-"] {
    display: block;
  }
  .col-xl-fi1 {width: 100%}
  .col-xl-fi2 {width: 61.803%}
  .col-xl-fi3 {width: 38.197%}
  .col-xl-fi4 {width: 23.606%}
  .col-xl-fi5 {width: 14.591%}
  .col-xl-fi6 {width: 9.015%}

  #codestrictor-logo {
    width: 21vw;
  }

  #menu-python-lessons {
    width: 21vw;
  }
  
  #menu-python-tutorials {
    width: 21vw;
  }

  form {
    padding: 89px 380px;
  }

  table {
    margin: 21px 240px;
    font-size: 21px;
  }

  th {
    padding: 13px;
  }
  
  td {
    padding: 13px;
  }
}

main {
  display: flex;
  flex-wrap: wrap;
}

.aside-add {
  display: flex;
  height: 300px;
  align-items: center;
  justify-content: center;
  background-color: gray;
}

code {
    background-color: #f3f3f3;
    border-radius: 3px;
    font-family: courier, monospace;
    padding: 1px 9px;
}
kbd {
    color: #ffffff;
    background-color: #000000;
    border-radius: 3px;
    padding: 1px 9px;
}

aside {
  background-color: #f9f9f9;
}

section {
  padding: 0 1.316vw;
}

.read-more {
  display: flex;
  justify-content: flex-end;
}

