/* navbar styles */
@media screen and (min-width: 992px) {
    /* 992px --> lg breakpoint in Bootstrap */
    .navbar {
        width: 70%;
        margin: auto;
    }
}
.nav-link {
    font-size: large;
    color: black !important;
    border: 5px solid transparent;
    border-radius: 10px;
    cursor: pointer;
}
.nav-link:hover {
    color: white !important;
    background-color: black;
}

/* welcome section styles */
#welcomeSection {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
}
@media screen and (max-width: 800px) {
    #welcomeSection {
        grid-template-columns: 1fr;
    }
    #welcomeSection .col-two {
        grid-row: 1 / span 1;
    }
}
#welcomeSection .col-one {
    display: grid;
    grid-template-columns: 1fr;
}

/* features section */
#featuresSection .features {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    row-gap: 30px;
    column-gap: 50px;
}
@media screen and (max-width: 1000px) {
    #featuresSection .features {   
        grid-template-columns: 1fr 1fr;
    }
}
@media screen and (max-width: 750px) {
    #featuresSection .features {   
        grid-template-columns: 1fr;
    }
}
.feature {
    height: 100%;
    display: grid;
    grid-template-columns: 1fr;
    justify-items: center;
    border-radius: 10px;
    box-shadow: rgba(50, 50, 93, 0.25) 0px 13px 27px -5px, rgba(0, 0, 0, 0.3) 0px 8px 16px -8px;
    transition: transform 0.2s;
}
.feature:hover {
    transform: scale(1.1);
}

/* section dividers */
.sectionDivider.reverse {
    transform: scale(-1);
}

/* goto top button */
#gotoTopBtn {
    display: none;
    position: fixed;
    bottom: 10px;
    right: 10px;
    z-index: 1000;
    border: none;
    outline: none;
    background-color: red;
    color: white;
    cursor: pointer;
    padding: 10px;
}
#gotoTopBtn:hover {
    background-color: #555; /* Add a dark-grey background on hover */
}

/* login and sign-up forms */
.modal-content {
    padding: 30px 20px;
    display: grid;
    grid-template-columns: 1fr;
}
@media screen and (min-width: 400px) {
    .modal-content {
        padding-left: 50px !important;
        padding-right: 50px !important;
    }
}
@media screen and (min-width: 1000px) {
    .modal-content {
        padding-left: 100px !important;
        padding-right: 100px !important;
    }
}
.closeButton {
    justify-self: end;
}
.signUpModalTarget, .loginModalTarget {
    justify-self: center;
}

/* divider in the login and signup form */
.divider {
	position: relative;
	margin-top: 30px;
	height: 1px;
}
.div-transparent:before {
	content: "";
	position: absolute;
	top: 0;
	width: 100%;
	height: 3px;
	background-image: linear-gradient(to right, transparent, rgb(48,49,51), transparent);
}
.div-dot:after {
	content: "";
	position: absolute;
	z-index: 1;
	top: -9px;
	left: calc(50% - 9px);
	width: 25px;
	height: 25px;
	background-color: tomato;
	border: 2px solid rgb(48,49,51);
	border-radius: 50%;
	box-shadow: inset 0 0 0 2px white, 0 0 0 4px white;
}
[id*="invalid-auth"] {
    border: 5px solid red;
    color: red;
    font-weight: bold;
    font-size: large;
    display: none;
    padding: 10px;
}