@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@300;500&display=swap"); html { font-family: "Montserrat"; } * { margin: 0; padding: 0; box-sizing: border-box !important; } body{background-color: #4D5157 !important;} h1 { font-weight: bold !important; color: #4169E1; } .pealkiri {width: 100vw !important;} /* Modal Stuff */ .avatar { border-radius: 20px; width: 100% !important; max-width: 15rem !important; } .modalHeaderWrapper{ text-align: center; margin: 0 !important; width: 100% !important; } .closeModalButton { border-radius: 50px; } .modalButton{ display: inline-block; padding: 6px 12px; margin-left: 30px; background-color: rgba(0,136,169,1); border: none; border-radius: 50px; cursor: pointer; transition: all 0.3 ease 0; font-size: 1rem; } .modalButton:hover{ background-color: rgba(0,136,169,0.8); } /* Green Btn */ .moveOn{ display: inline-block; border: none; padding: 6px 12px; margin-botton: 0; font-size: 1rem; font-weight: normal; text-align: center; cursor: pointer; border-radius: 4px; background-color: #4BB543; color: white; } button:disabled{ opacity: 0.5; cursor: not-allowed; } /* Left side Part */ .list .list-item { background-color: #2a2b30 !important; color: white; font-weight: bold; border-radius: 8px !important; cursor: pointer; margin: 5px !important; } .list-item p { font-size: .9rem; } .startBasket { height: 100% !important; min-height: 4rem; } /* Timeline css part*/ .timelineWrapper{ padding: 0 !important; margin: 0 !important; } .timelineContainer { min-height: 100vh; width: 100%; display: flex; align-items: center; justify-content: center; padding: 100px 0; } .timeline { width: 80%; height: auto; max-width: 800px; margin: 0 auto; position: relative; } .timeline ul { list-style: none; } .timeline ul li { padding: 7px; background-color: #2a2b30; color: white; margin-bottom: 7px !important; } .timeline ul li:last-child { margin-bottom: 0; } .timeline-content .list { background-color: #2a2b30 !important; min-height: 3rem; border-radius: 8px !important; margin: 10px !important; text-align: center !important; vertical-align: middle; } .timeline-content .date { font-size: 16px; font-weight: 400; margin-bottom: 10px; letter-spacing: 2px; color: #CFF8F8; } /* Responsivness */ @media only screen and (min-width: 768px) { /* Vertical line */ .timeline:before { content: ""; position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 2px; height: 100%; background-color: gray; } .timeline ul li { width: 50%; position: relative; margin-bottom: 50px; } .timeline ul li:nth-child(odd) { float: left; clear: right; transform: translateX(-30px); border-radius: 20px 0px 20px 20px; } .timeline ul li:nth-child(even) { float: right; clear: left; transform: translateX(30px); border-radius: 0px 20px 20px 20px; } /*Balls*/ .timeline ul li::before { content: ""; position: absolute; height: 20px; width: 20px; border-radius: 50%; background-color: gray; top: 0px; } .timeline ul li:nth-child(odd)::before { transform: translate(50%, -50%); right: -30px; } .timeline ul li:nth-child(even)::before { transform: translate(-50%, -50%); left: -30px; } .timeline-content .date { position: absolute; top: -30px; } .timeline ul li:hover::before { background-color: aqua; } }