:root {
	--navy: #0E1A2B;
	--white: #ffffff;
	--coral: #FF6A3D;
	--lightGrey: #F9FAFD;
	--grey: #dfe1e6;
	--medGrey: #8C8C8C;
	--darkGrey: #525457;
	--lightGreen: #F4FBF2;
	--green: #77BC60;
	--lightBlue: #3691EC;
}

body {
	margin: 0;
	background: transparent;
	color: var(--white);
  font-family: "Plus Jakarta Sans", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  color: var(--navy);
}

.green {background: var(--green)}
.coral {background: var(--coral);}
.white {background: var(--white);}
.navy {background: var(--navy);}
.medGrey {background: var(--midGrey);}
.darkGrey {background: var(--darkGrey);}
.medGreyCopy {color: var(--medGrey);}
.darkGreyCopy {color: var(--darkGrey);}
.coralCopy {color: var(--coral);}
.whiteCopy {color: var(--white);}
.navyColor {color: var(--navy);}
.greenCopy {color: var(--green)}

h1 {
	font-weight: 500;
}

.content {
	max-width: 1440px;
	margin: 0 auto;
	width: 100%;
	padding: 32px;
}

.button {
	background: var(--white);
	color: var(--navy);
	padding: 10px 16px;
	border-radius: 4px;
	text-decoration: none;
	font-size: 14px;
	transition: 0.2s;
	border: 2px solid var(--white);
}

.button:hover {
	background: var(--navy);
	color: var(--white);
}

#caddy {
	max-width: 408px;
    min-height: 480px;
}

#caiLogo {
    width: 100px;
    margin: 0 auto;
    margin-bottom: -70px;
    animation: logo 1.5s both;
    transform-origin: center;
    position: relative;
    z-index: 1;
}


@keyframes logo {
	0% {
		transform: scale(0);
		top: 200px;
	}
	50% {
		transform: scale(1.0);
		top: 200px;
	} 
	100% {
		transform: scale(1.0);
		top: 0px;
	}
}

#circleMain {
	padding: 16px;
	border-radius: 100%;
	display: block;
	background: var(--coral);
	width: 100px;
	height: 100px;
	box-sizing: border-box;
	z-index: 1;
	position: relative;
}

#ripples {
	position: relative;
	animation: fadeIn 0.5s 1.3s both;
	transform-origin: center;
	clip-path: inset(calc(100% - 100px) calc(100% - 150px) calc(100% - 52px) calc(100% - 150px));
}

@keyframes fadeIn {
	from{
		opacity: 0;
	}
	to {
		opacity: 1;
	}
}


#ripples > div {
	background: rgba(255,106,61,0.2);
	position: absolute;
    border-radius: 100%;
    z-index: 0;
    animation: ripple 3s infinite;
}

@keyframes ripple {
	0%,100% {
		transform: scale(1.0);
	}
	50% {
		transform: scale(1.12);
	}
}

#ripples > div:nth-child(1) {
    left: -10px;
    top: -10px;
    width: 120px;
    height: 120px;
    animation-delay: 0.6s;
}

#ripples > div:nth-child(2) {
    left: -20px;
    top: -20px;
    width: 140px;
    height: 140px;
    animation-delay: 0.2s;
}

#ripples > div:nth-child(3) {
    left: -30px;
    top: -30px;
    width: 160px;
    height: 160px;
    animation-delay: 1s;
}

.headshot {
    width: 80px;
    height: 80px;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.8);
}

#userName {
	font-size: 20px;
	font-weight: 500;
}

#userEmail {
	font-size: 13px;
	font-weight: 400;
}

#caddyMain > div {
    padding-top: 58px;
}

.caddyCircle {
	min-width:32px;
	min-height: 32px;
	max-width:32px;
	max-height: 32px;
	border-radius: 100%;
}

#caddyDS {
	background: var(--lightGrey);
	border: 1px solid var(--coral);
}

#caddySuccess {
	background: var(--lightGreen);
	border: 1px solid var(--green);
}

#caddyCAI {
	background: var(--coral);
}

#caddyIntervention {
	border: 1px solid var(--lightBlue);
	background: var(--lightGrey);
}

#caddyCards::before {
    content: " ";
    width: 1px;
    height: calc(100% - 48px);
    background: rgba(255, 255, 255, 0.3);
    position: absolute;
    display: block;
    left: 16px;
    top: 22px;
    animation: growY .4s 0.4s both;
    transform-origin: top;
}

@keyframes growY {
	from {
		transform: scaleY(0);
	}
	to {
		transform: scaleY(1);
	}
}

#caddyMain {
	animation: caddyMain 0.5s 0.4s both;
	transform-origin: top;
    background: url(img/gradient-strong-alt.jpg);
    background-size: cover;
    background-position: center;
    color: white;
    border-radius: 8px;
    box-shadow: 0px 0px 20px rgba(0, 0, 0, .6);
}

@keyframes caddyMain {
	0% {
    height: 0px;
	}
	100% {
	    height: 154px;
	}
}

#caddyMain * {
	animation: fadeIn 0.3s 0.2s both;
}

#carousel {
	transition: 0.8s;
	opacity: 0;
}

#caddyCards > div:nth-child(1) {animation: notify 0.5s 0s both;}
#caddyCards > div:nth-child(2) {animation: notify 0.5s 0.15s both;}
#caddyCards > div:nth-child(3) {animation: notify 0.5s 0.3s both;}
#caddyCards > div:nth-child(4) {animation: notify 0.5s 0.5s both;}

@keyframes notify {
	from {
		opacity: 0;
		transform: translateY(-100%);
	} to {
		opacity: 1;
		transform: translateY(0);
	}
}

#caddyCards > div::before {
    content: " ";
    width: 7px;
    height: 7px;
    position: absolute;
    left: -19px;
    background: var(--white);
    border-radius: 100%;
    top: calc(50% - 4px);
    box-sizing: border-box;
}

.caddyTime {
	text-align: right;
	white-space: nowrap;
}

.cslDot {
	appearance: none;
	width: 14px;
	height: 14px;
	padding: 0;
	border: none;
	margin: 0 2px;
	cursor: pointer;
	background: transparent;
	position: relative;
}


.cslDot svg {
	position: absolute;
	top: -2px;
	left: -2px;
	width: 14px;
	height: 14px;
	transform: rotate(-90deg);
	pointer-events: none;
}

.cslDot svg .dotInner {
	fill: rgba(255,255,255,0.5);
	transition: 0.4s;
	transform: scale(1);
}

.cslDot.active svg .dotInner {
	fill: var(--white);
	transform: scale(0.8);
	transform-origin: center;
}

.cslDot.active .dotOutline {
	stroke: var(--coral);
	stroke-width: 3;
	stroke-dasharray: 44;
	stroke-dashoffset: 44;
	animation: drawCircle 11s linear forwards;
}

.cslDot .dotOutline {
	fill: none;
}
  
@keyframes drawCircle {
	to {
		stroke-dashoffset: 0;
	}
}

#caddy:hover .dotOutline,
#caddy:hover #ripples > div{
	animation-play-state: paused;
}

.switchAnimate #caddyCards {
	animation: jumpLeft 0.2s both;
}

.switchAnimate #caddyMain * {
	animation: fadeOut 0.2s both;
}

@keyframes fadeOut {
	0% {
		opacity: 1;
	}
	100% {
		opacity: 0;
	}
}

@keyframes jumpLeft {
	0% {
		transform: translateX(0);
		opacity: 1;
	}
	100% {
		transform: translateX(-100px);
		opacity: 0;
	}
}

#dataSource {
	width:14px;
	height: 14px;
	margin-right: 3px;
}

@media only screen and (max-width:1000px) {
	.flexBreak {
		flex-direction: column;
	}

	#caddyContanier {
		margin: 0;
		margin-top: 48px !important;
	}
}

