/* Mäng ise */ @import url('https://fonts.googleapis.com/css?family=Montserrat'); * { margin: 0; padding: 0; box-sizing: border-box; } body { font-family: 'Montserrat', sans-serif; background-color: #4D5157 !important; color: #111; touch-action: none; } h1{ font-weight: bold !important; color: #4169E1 !important; } .moveOn{ margin-left: 3rem; display: inline-block; border: none; padding: 6px 12px; 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; } .upperWrapper{ display: flex; justify-content: center; } /* 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) !important; } /* later added stuff here */ .wrapper { border-bottom: 3px solid gray; position: relative; display: flex; flex-wrap: wrap; } .empty { width: 7rem; height: 7rem; } .drag { position: absolute; width: 7rem; height: 7rem; z-index: 1; } .active { background-color: grey !important; } .done { background-color: green !important; } /* end of later added stuff */ .draggable-elements { display: flex; justify-content: center; margin: 2rem; } .draggable { height: 5rem; width: 5rem; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; margin: 0rem 1rem; cursor: move; transition: opacity 0.2s; } .droppable { height: 10rem; width: 25rem; margin: 1rem auto; display: flex; justify-content: center; align-items: center; flex-direction: column; text-align: center; font-size: 8rem; font-weight: bold; background-color: #fff; border: 3px dashed #111; transition: border-width 0.2s, transform 0.2s, background-color 0.4s; } .droppable span { font-size: 1.25rem; pointer-events: none; /* The element is never the target of pointer events */ } /* Drag and Drop Related Styling */ .droppable.droppable-hover { /* background-color: #bee3f0; */ border-width: 5px; transform: scale(1.1); } .droppable.dropped { border-style: solid; color: #fff; } .droppable.dropped span { font-weight: bolder; margin-top: 0.5rem; } .droppable.dropped i { pointer-events: none; } .draggable.dragged { user-select: none; cursor: default; } .draggable.dragged:hover { opacity: 0.1; } /* Responssivness */ @media screen and (min-width: 1600px) { .container { margin-top: 4% !important; } }