/* z-depth effects */

.z-depth-2 {
    box-shadow: 0 8px 17px 0 rgba(0, 0, 0, .2), 0 6px 20px 0 rgba(0, 0, 0, .19);
}

.z-depth-3 {
    box-shadow: 0 12px 15px 0 rgba(0, 0, 0, .24), 0 17px 50px 0 rgba(0, 0, 0, .19);
}

.z-depth-4 {
    box-shadow: 0 16px 28px 0 rgba(0, 0, 0, .22), 0 25px 55px 0 rgba(0, 0, 0, .21);
}

.z-depth-5 {
    box-shadow: 0 27px 24px 0 rgba(0, 0, 0, .2), 0 40px 77px 0 rgba(0, 0, 0, .22);
}

/* common styles */

body {
    overflow-x: hidden;
}

.title {
    text-align: center;
    text-transform: uppercase;
    font-family: 'Raleway', sans-serif;
}

.block {
    text-align: center;
    -webkit-box-shadow: 0 27px 24px 0 rgba(0, 0, 0, .2), 0 40px 77px 0 rgba(0, 0, 0, .22);
    -moz-box-shadow: 0 27px 24px 0 rgba(0, 0, 0, .2), 0 40px 77px 0 rgba(0, 0, 0, .22);
    box-shadow: 0 27px 24px 0 rgba(0, 0, 0, .2), 0 40px 77px 0 rgba(0, 0, 0, .22);
    background-color: #fff;
    color: #000;
}

.block-title {
    font-family: 'Poppins', sans-serif;
}

.block-content {
    font-family: 'IBM Plex Serif', serif;
    padding: 10px;
}

a {
    text-decoration: none;
}

button {
    background-color: #fff;
    border: none;
    color: #000;
    width: 100px;
    height: 30px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 12px;
    margin: 2px;
    -webkit-transition-duration: 0.4s;
    /* Safari */
    transition-duration: 0.4s;
    cursor: pointer;
}

.section {
    height: auto;
    padding: 30px;
    margin-top: -10px;
}

.section button {
    background-color: #fff;
    color: #000;
}

.section button:hover {
    color: #fff;
}
/* study guides section */

.study-section {
    background-color: #FF2400;
}

.study-section button {
    border: 1px solid #FF2400;
}

.study-section button:hover {
    background-color: #FF2400;
}

/* Interactive coding tutorials section */

.ict-section {
    background-color: #431F11;
}

.ict-section button {
    border: 1px solid #431F11;
}

.ict-section button:hover {
    background-color: #431F11;
}

/* Interactive development environment section */

.ide-section {
    background-color: #A242C1;
}

.ide-section button {
    border: 1px solid #A242C1;
}

.ide-section button:hover {
    background-color: #A242C1;
}

/* visual reference guides section */

.vrg-section {
    background-color: #00A0B0;
}

.vrg-section button {
    border: 1px solid #00A0B0;
}

.vrg-section button:hover {
    background-color: #00A0B0;
}

/* Interactive coding tutorials section */

.ict-section {
    background-color: #6A4A3C;
}

.ict-section button {
    border: 1px solid #6A4A3C;
}

.ict-section button:hover {
    background-color: #6A4A3C;
}

/* Front-end Frameworks section */

.ff-section {
    background-color: #FF7216;
}

.ff-section button {
    border: 1px solid #FF7216;
}

.ff-section button:hover {
    background-color: #FF7216;
}

/* ultimate guide section */

.u-section {
    background: linear-gradient(to right, #ff512f, #dd2476);
}

.u-section button {
    border: 1px solid #ff512f;
}

.u-section button:hover {
    background: linear-gradient(to right, #ff512f, #dd2476);
}

/* footer */
.footer-wrapper {
    background: linear-gradient(to right, #ff512f, #dd2476);
}
.footer-wrapper p {
    font-family: 'IBM Plex Serif', cursive;
    justify-self: center;
    color: #fff;
    padding-left: 5px;
}

/* grid wrappers */

.u-wrapper {
    display: grid;
    grid-template-columns: none;
}

@media only screen and (max-width: 767px) {
    .ff-wrapper,
    .ict-wrapper,
    .ide-wrapper,
    .study-wrapper,
    .vrg-wrapper,
    .footer-wrapper {
        display: grid;
        grid-template-columns: none;
        grid-gap: 10px;
    }
}

@media only screen and (min-width: 768px) {
    .ff-wrapper,
    .ict-wrapper,
    .ide-wrapper,
    .study-wrapper,
    .vrg-wrapper,
    .footer-wrapper {
        display: grid;
        grid-template-columns: repeat(2, 2fr);
        grid-gap: 10px;
    }
}
