body {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
}

h1 {
    text-decoration: underline;
}

.otherRedBackground {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
}

.full-screen {
    height: 80vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

/* Tablets*/
@media (max-width: 991px) {
    .smallScreen {
        font-size: 16px;
        padding: 30px;
    }
}

/* Smartphones */
@media (max-width: 767px) {
    .smallScreen {
        font-size: 14px;
        padding: 15px;
    }
}

.switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    -webkit-transition: .4s;
    transition: .4s;
}

.slider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    -webkit-transition: .4s;
    transition: .4s;
}

input:checked+.slider {
    background-color: #920d0d;
}

input:focus+.slider {
    box-shadow: 0 0 1px #920d0d;
}

input:checked+.slider:before {
    -webkit-transform: translateX(26px);
    -ms-transform: translateX(26px);
    transform: translateX(26px);
}

/* Rounded sliders */
.slider.round {
    border-radius: 34px;
}

.slider.round:before {
    border-radius: 50%;
}

/*nav*/
.bg-nav {
    z-index: 1000;
    padding: 0.5% 2%;
}

.iconTheme {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.avatar:hover {
    transform: scale(1.1);
    transition: 0.3s ease-in-out;
}

/*footer*/
.bg-footer {
    padding: 1% 2%;
    margin-bottom: 0 !important;
}

/*index*/
.btn-index {
    margin: 1% !important;
}

.h1-index {
    text-decoration: none;
}

/*home*/
.home {
    display: flex;
    align-items: stretch;
    padding-top: 1%;
}

.home>.col-4,
.div>.col-8 {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}


.photoBritt {
    width: 100%;
    max-width: 300px;
    height: auto;
    justify-content: flex-end;
    align-items: flex-end;
}


.personalInfo {
    font-size: smaller;
}


@media (max-width: 768px) {
    .home {
        flex-direction: column;
        align-items: stretch;
    }

    .home>.col-4,
    .home>.col-8 {
        width: 100%;
        justify-content: flex-start;
    }

    .photoBritt {
        margin-top: 1rem;
        max-width: 60%;
        display: block;
        margin-left: auto;
        margin-right: auto;
    }
}

/*career*/
.career {
    padding: 1% 0%;
    margin-bottom: 1%;
}

.noMargin {
    margin: 0;
}

.tableRed {
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 16px;
    border: none;
}

.selectRed {
    appearance: none;
    width: 110%;
}

/*projects*/
.projects {
    padding: 1% 0%;
    margin-bottom: 1%;
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 1rem;
    max-width: 100%;
}

.cardproject {
    margin-bottom: 3%;
    display: flex;
    flex-direction: column;
    height: 100%;
}


/*contact*/
.cardContact {
    background-color: #ffecec;
    color: black;
}

.input {
    background-color: #ffecec;
    color: black;
    border: solid 1px #cfacac;
}

.input::placeholder {
    color: black;
    opacity: 1;
}

.button-area span {
    display: none;
}