@import url('https://fonts.googleapis.com/css2?family=Geist:wght@100..900&family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap');

* {
	box-sizing: border-box; /* Forces element width and height to stay the same if borders or padding is added */
}

body {
	margin: 0;
	background: url('images/portfolio-bg.webp');
	background-size: cover;
	color: #000;
	font-family: Geist, sans-serif;
}

#portfolioItemsDisplayContainer {
	position: fixed;
	top: 50%;
	left: 50%;
	transform: translateX(-50%) translateY(-50%);
	transition: all 1s ease-in-out;
	width: 1366px;
	height: 768px;
	outline: 1px solid #67d0dd;
	box-shadow: 0 0 3px 0 #f0fbfd;
	border-radius: 6px;
	background-color: #ffffffab;
}

#portfolioItemDisplayIFrame {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 6px;
    transition: all 0.5s ease-in-out;
}

#portfolioItemSelectors {
    position: absolute;
    transform: translateX(calc(-100% - 15px));
    border: 1px solid #67d0dd;
    background: #ffffffd6;
    box-shadow: 0 0 3px 0 #f0fbfd;
    border-radius: 6px;
}

#deviceDisplaySelectors {
    position: absolute;
    right: 0;
    transform: translateX(calc(100% + 15px));
    border: 1px solid #67d0dd;
    background: #ffffffd6;
    box-shadow: 0 0 3px 0 #f0fbfd;
    border-radius: 6px;
}

.portfolio-items-header,
.display-items-header {
    padding: 8px 5px 8px;
    text-align: center;
}

.portfolio-items-header h2,
.display-items-header h2 {
    margin: 0;
    font-family: "Open Sans", sans-serif;
    font-weight: 500;
    letter-spacing: 1px;
    font-size: 20px;
    color: #01b1f7;
}

.portfolio-category-header, .display-category-header {
    padding: 5px 10px 5px;
    border-top: 1px solid #23bdeb63;
    background: linear-gradient(0deg, black, #692587);
    text-align: center;
    color: wheat;
}

.portfolio-category-header h3,
.display-category-header h3 {
    margin: 0;
    letter-spacing: 1px;
    font-family: "Open Sans", sans-serif;
    font-weight: 500;
    font-size: 16px;
}

.portfolio-item-tab,
.display-item-tab {
    padding: 5px 10px;
    cursor: pointer;
    transition: all 0.25s ease-in-out;
}

.portfolio-item-tab.active-tab,
.display-item-tab.active-tab {
    cursor: default;
    background: #0085c7bd;
    color: #efefef;
}

.portfolio-item-tab:hover,
.display-item-tab:hover {
	background: #0085c7bd;
	color: #efefef;
}

.portfolio-item-checkbox,
.display-item-checkbox {
    width: 20px;
    height: 20px;
    float: left;
    background-color: transparent;
    border: 2px solid #f16c40;
    border-radius: 50%;
    margin-left: -7px;
    margin-right: 2px;
    transform: scale(0.6,0.6);
    transition: border 0.25s ease-in-out;
    position: relative;
    top: 1px;
}

.active-tab .portfolio-item-checkbox,
.active-tab .display-item-checkbox {
    border: 10px solid #f16c40;
}

.portfolio-item-name,
.display-item-name {
    font-size: 15px;
    letter-spacing: 0.5px;
}

#fullscreenToggle {
    position: absolute;
    bottom: 0;
    left: 50%;
    z-index: 2;
    transform: translateY(34px) translateX(-50%);
    background: #e9f8fa;
    padding: 5px 10px;
    color: #01b1f7;
    border-radius: 0 0 6px 6px;
    border: 1px solid #67d0dd;
    cursor: pointer;
    transition: all 1s ease-in-out;
}

#fullscreenToggle.toggled-fullscreen {
    transform: translateY(0px) translateX(-50%);
    border-radius: 6px 6px 0 0;
}

#portfolioItemsDisplayContainer.portfolio-container-fullscreen {
    border-radius: 0px;
}

#portfolioItemDisplayIFrame.iframe-container-fullscreen {
    border-radius: 0px;
}

#orientationSelectors {
    position: relative;
    width: 100%;
    height: 100px;
}

#portraitOrientationBtn {
    left: 0;
    border-radius: 0 0 0 6px;
}

#landscapeOrientationBtn {
    right: 0;
    border-radius: 0 0 6px 0;
}

.orientation-btn {
    top: 0;
    position: absolute;
    width: 50%;
    height: 100%;
    padding-top: 5px;
    transition: all 0.5s ease-in-out;
}

.orientation-btn.orientation-unavailable {
    color: #999;
}

.orientation-btn.clickable {
    cursor: pointer;
}

.orientation-btn.clickable:hover,
.orientation-btn.orientation-selected {
    background-color: #0085c7bd;
    color: #efefef;
}

.mobile-orientation-option-container {
    position: relative;
    width: 100%;
    height: 70px;
}

#portraitOrientationIcon {
    width: 40px;
    height: 60px;
}

#landscapeOrientationIcon {
    width: 60px;
    height: 40px;
}

.orientation-icon {
    position: absolute;
    border: 1px solid;
    top: 50%;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
    transition: all 0.5s ease-in-out;
}

.orientation-btn.clickable:hover .orientation-icon,
.orientation-btn.orientation-selected .orientation-icon {
    background-color: #f16c40;
}

#orientationSelectors p {
    margin: 2px 0 0 0;
    text-align: center;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 1px;
    font-weight: 500;
}