﻿#calendar-container h3 {
    margin-top: 2rem;
    text-align: center;
    color:#fff;
}
.calendar {
    position: relative;
    margin: auto;
    left: 0;
    right: 0;
    margin-top: 20px;
    width: 300px;
    height: 450px;
    background: white;
    box-shadow: 1px 2px 10px black;
}

.calendar-frame {
    position: relative;
    width: 100%;
    height: 100px;
    background: #C20114;
}

.calendar-screw {
    position: absolute;
    width: 40px;
    height: 40px;
    background-color: #bdc3c7;
    border-radius: 50px;
    top: 30%;
    box-shadow: inset 0px 0px 10px #2c3e50;
    border: 1px solid #7f8c8d;
}

.calendar-left {
    left: 15px;
}

.calendar-right {
    right: 15px;
}

.calendar-shine {
    position: absolute;
    background: rgba(255,255,255,0.2);
    width: 30px;
    height: 30px;
    border-radius: 100%;
    left: 5px;
    top: 5px;
}

.calendar-line {
    position: absolute;
    width: 100%;
    height: 3px;
    background-color: #7f8c8d;
    top: 18px;
    transform: rotate(20deg);
}

.calendar-rerotate {
    transform: rotate(60deg);
}

.calendar-year {
    position: absolute;
    width: 100%;
    height: 100%;
}

    .calendar-year h1 {
        text-align: center;
        color: white;
        font-size: 70px;
        margin: 0;
        padding: 0;
        line-height: 100px;
    }

.calendar-content {
    position: absolute;
    width: 100%;
    height: 78%;
}

    .calendar-content h1 {
        text-align: center;
        font-size: 250px;
        margin: 0;
        padding: 0;
        line-height: 200px;
        color: #000;
    }

    .calendar-content h2 {
        text-align: center;
        font-size: 50px;
        margin: 0;
        padding: 0;
        line-height: 100px;
        color: #000;
    }


    @media(max-width:768px){
        .calendar {
            width: 150px;
            height: 200px;
        }
        .calendar-frame {
            height: 50px;
        }
        .calendar-screw {
            width: 20px;
            height: 20px;
        }
        .calendar-line {
            top: 7px;
        }
        .calendar-shine {
            width: 16px;
            height: 16px;
            left: 1px;
            top: 1px;
        }
        .calendar-year h1 {
            font-size: 33px;
            line-height: 50px;
        }
        .calendar-content{
            height:100px;
        }
        .calendar-content h2 {
            font-size: 30px;
            line-height: 60px;
        }
        .calendar-content h1 {
            font-size: 75px;
            line-height: 75px;
        }
    }